HF_ENDPOINT=https://hub.hippius.com hf download phdtensor/tsgen-ref --revision 703e9fc0fd215e7b2796065f5e18a386e01d9ea3
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("phdtensor/tsgen-ref", revision="703e9fc0fd215e7b2796065f5e18a386e01d9ea3")
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 |
|---|---|---|
| main10b42f2a1fabShown | 3.0KB | |
| 1ba5bb85d1a9f25eb75 | 3.0KB | |
| 7344df8a1ca276b0cb9 | 3.0KB |
Storage : 3.0KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 2.6KB |
| config.json | - | 192B |
| requirements.txt | - | 186B |
| .gitattributes | - | 0B |