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