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