Instructions to use VMware/roberta-base-mrqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VMware/roberta-base-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/roberta-base-mrqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("VMware/roberta-base-mrqa") model = AutoModelForQuestionAnswering.from_pretrained("VMware/roberta-base-mrqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (03cd050f0afbcca16f5907e50e81d1468078014b) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b270113
-
Update README.md
807551f
-
Upload 7 files
882ba56 -
initial commit
Rick Battle015d945