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