Instructions to use ShynBui/s5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShynBui/s5 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="ShynBui/s5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("ShynBui/s5") model = AutoModelForQuestionAnswering.from_pretrained("ShynBui/s5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from ShynBui/s5: direct link, hf CLI and curl.
- Browser
- Download file 3.96 kB
-
https://huggingface.co/ShynBui/s5/resolve/main/training_args.bin
- Command line
-
hf download hf://ShynBui/s5/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/ShynBui/s5/resolve/main/training_args.bin
3.96 kB
- Xet hash:
- 9c33f1303ea73be86431c15058182c5bf4ae2fc3ac1c20a1cf4d7c0d98f19b2c
- Size of remote file:
- 3.96 kB
- SHA256:
- b1d328a8c93a5d5c814e088755f2771a5d4f66294b36e3dadcba4d16a1d57036
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.