HF_ENDPOINT=https://hub.hippius.com hf download jenn/gen-2e97881566c1 --revision c577c575b02e81289818529acda29a76b0ff3b4e
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("jenn/gen-2e97881566c1", revision="c577c575b02e81289818529acda29a76b0ff3b4e")
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 |
|---|---|---|
| main53abf8256036Shown | 91.5KB |
Storage : 91.5KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 87.0KB |
| config.json | - | 4.2KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |