HF_ENDPOINT=https://hub.hippius.com hf download j-test/gen-ebcdcf8a0e9f --revision 2490da4dda2ee9cb11c07023309e9f116620eddc
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("j-test/gen-ebcdcf8a0e9f", revision="2490da4dda2ee9cb11c07023309e9f116620eddc")
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 |
|---|---|---|
| main5db614a2b962Shown | 25.5KB |
Storage : 25.5KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 23.1KB |
| config.json | - | 1.8KB |
| requirements.txt | - | 618B |
| .gitattributes | - | 0B |