HF_ENDPOINT=https://hub.hippius.com hf download duy-models/gen-b5841ad1999d --revision bc482a1d0a5be8dde6781357c336eb6a95177776
Pinned to one commit: the same files, every time.
import os
os.environ["HF_ENDPOINT"] = "https://hub.hippius.com"
from huggingface_hub import snapshot_download
from transformers import AutoModel, AutoTokenizer
path = snapshot_download("duy-models/gen-b5841ad1999d", revision="bc482a1d0a5be8dde6781357c336eb6a95177776")
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 |
|---|---|---|
| mainf730fcaa80c7Shown | 429.5KB |
Storage : 429.5KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 412.5KB |
| config.json | - | 16.7KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |