HF_ENDPOINT=https://hub.hippius.com hf download logitech/logi_generator_2 --revision 4aac0bf6af6e98431b368d942da19fb598cea32a
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("logitech/logi_generator_2", revision="4aac0bf6af6e98431b368d942da19fb598cea32a")
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 |
|---|---|---|
| mainfa74fc4f492cShown | 13.7KB |
Storage : 13.7KBFile No: 4
| NAME | TAG | SIZE |
|---|---|---|
| generator.py | - | 12.9KB |
| config.json | - | 410B |
| requirements.txt | - | 378B |
| .gitattributes | - | 0B |