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