Instructions to use LysandreJik/local_dir with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LysandreJik/local_dir with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="LysandreJik/local_dir")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("LysandreJik/local_dir") model = AutoModel.from_pretrained("LysandreJik/local_dir", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.cf4a891
-
New commit
a1dc5a2 -
New commit
95404ff -
New commit
346e5ea -
New commit
8af5ea8 -
New commit
cbf8f8e -
New commit
b5d3d17 -
New commit
1d7d480 -
New commit
1176547 -
New commit
c425694 -
New commit
cd5a039 -
New commit
9de4818 -
New commit
5a0f6f9 -
New commit
f09acb6 -
New commit
8f071c5 -
New commit
29c89db -
New commit
34fff00
-
Nice
4378391 -
Nice
aa8b07a -
Nice
06796e0 -
Nice
117ba2f -
Nice
7b99840 -
Nice
1cbfddc -
Nice
a8c2777 -
Nice
2faa44a -
Nice
88999fe -
Nice
b320c02 -
Nice
acaa79a -
initial commit
532fefc