HF_ENDPOINT=https://hub.hippius.com hf download casecade/terry --revision 53e0c378ad53bcc7b9faf22e4fa1ecec4fbe1886
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("casecade/terry", revision="53e0c378ad53bcc7b9faf22e4fa1ecec4fbe1886")
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 |
|---|---|---|
| main938226f33c2b | 165.1KB | |
| 53e0c3738a6d0211790Shown | 164.9KB | |
| 8b51e38ff43a58beaad | 102.3KB |
Storage : 164.9KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 161.1KB |
| config.json | - | 3.5KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |