HF_ENDPOINT=https://hub.hippius.com hf download jan/gen401 --revision 3f8f7b1b357d1078fc1008d9b521e1f2fefa5fe2
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("jan/gen401", revision="3f8f7b1b357d1078fc1008d9b521e1f2fefa5fe2")
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 |
|---|---|---|
| maine483ae3d969bShown | 86.3KB |
Storage : 86.3KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 82.8KB |
| config.json | - | 3.2KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |