HF_ENDPOINT=https://hub.hippius.com hf download rltrainer/h5-shape --revision 8ed2f1dc7d0f757123420cb0fce59f0a8b63c416
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/h5-shape", revision="8ed2f1dc7d0f757123420cb0fce59f0a8b63c416")
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 |
|---|---|---|
| mainff9a38bd84bfShown | 442.9KB |
Storage : 442.9KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 424.9KB |
| config.json | - | 17.7KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |