Instructions to use VMware/tinyroberta-mrqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VMware/tinyroberta-mrqa 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="VMware/tinyroberta-mrqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("VMware/tinyroberta-mrqa") model = AutoModelForQuestionAnswering.from_pretrained("VMware/tinyroberta-mrqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (e73fed3404fab570fe5a4cce2d9c867e75d5fa43) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>c4ec356
-
Update README.md
93a5c68 -
Update README.md
a8dc020
-
Update README.md
a3dae86 -
Update README.md
68d1c9e -
Update README.md
cf884d2
-
Update README.md
d4fad95 -
Update README.md
289b600
-
Update README.md
c51d22f
-
Upload 7 files
Teja Gollapudi1477167 -
initial commit
d601e9e