HF_ENDPOINT=https://hub.hippius.com hf download rltrainer/d1-web --revision 91374b9ca917bf8d987e30cf5611a1763c053e4b
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/d1-web", revision="91374b9ca917bf8d987e30cf5611a1763c053e4b")
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 |
|---|---|---|
| main588cfa289f55Shown | 447.1KB |
Storage : 447.1KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 430.2KB |
| config.json | - | 16.6KB |
| requirements.txt | - | 279B |
| .gitattributes | - | 0B |