HF_ENDPOINT=https://hub.hippius.com hf download too-tired/my_gen_v2
Follows the default branch: the newest version.
import os
os.environ["HF_ENDPOINT"] = "https://hub.hippius.com"
from huggingface_hub import snapshot_download
from transformers import AutoModel, AutoTokenizer
path = snapshot_download("too-tired/my_gen_v2")
tokenizer = AutoTokenizer.from_pretrained(path)
model = AutoModel.from_pretrained(path)Install: pip install -U huggingface_hub transformers
No README on this version. Upload a README.md with the files to show it here.
| VERSION | SIZE | Open |
|---|---|---|
| main1a3f47fed897Shown | 31.1KB |
Storage : 31.1KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 30.1KB |
| config.json | - | 813B |
| requirements.txt | - | 186B |
| .gitattributes | - | 0B |