Instructions to use sillon/huggingface-tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sillon/huggingface-tutorial with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="sillon/huggingface-tutorial")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("sillon/huggingface-tutorial") model = AutoModelForQuestionAnswering.from_pretrained("sillon/huggingface-tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from sillon/huggingface-tutorial: direct link, hf CLI and curl.
- Browser
- Download file 431 MB
-
https://huggingface.co/sillon/huggingface-tutorial/resolve/d34090f4cf2ce05840aea7970f05b59ecfa84b01/pytorch_model.bin
- Command line
-
hf download hf://sillon/huggingface-tutorial@d34090f4cf2ce05840aea7970f05b59ecfa84b01/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sillon/huggingface-tutorial/resolve/d34090f4cf2ce05840aea7970f05b59ecfa84b01/pytorch_model.bin
431 MB
- Xet hash:
- 6de0fe6085f1bebe56bccc021a46a436c2a46dc52c5b458a593aa44942e6b0f8
- Size of remote file:
- 431 MB
- SHA256:
- 61c1261ebd2d2e16ec5e1745bcd7d63fa9926b56c61c0931389759511d5dfa26
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.