HF_ENDPOINT=https://hub.hippius.com hf download rltrainer/gen22 --revision 38c7b104f56fac67c4b13fe97a5bd972b9992d38
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("rltrainer/gen22", revision="38c7b104f56fac67c4b13fe97a5bd972b9992d38")
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 |
|---|---|---|
| mainfbdfac7d1251Shown | 57.6KB |
Storage : 57.6KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 49.8KB |
| config.json | - | 7.7KB |
| requirements.txt | - | 186B |
| .gitattributes | - | 0B |