HF_ENDPOINT=https://hub.hippius.com hf download knsimon/longrange-sv-v1 --revision 6e2e77b02f67acd3827c85a62aef8c8b91a105e5
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("knsimon/longrange-sv-v1", revision="6e2e77b02f67acd3827c85a62aef8c8b91a105e5")
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 |
|---|---|---|
| maina7feb19439c3 | 26.8KB | |
| 6e2e77b864b595bfb79Shown | 27.8KB | |
| 56ed525a0445aeb1c74 | 27.6KB | |
| a31e5a288f00112ed45 | 22.5KB |
Storage : 27.8KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 26.2KB |
| config.json | - | 1.2KB |
| requirements.txt | - | 461B |
| .gitattributes | - | 0B |