Instructions to use msms/roberta-base-squad2-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use msms/roberta-base-squad2-finetuned-squad 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="msms/roberta-base-squad2-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("msms/roberta-base-squad2-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("msms/roberta-base-squad2-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update model card README.md
3df4dc8 -
Model save
02c7600 -
Training in progress epoch 1
216fdb6 -
Training in progress epoch 0
cc3201a
-
Training in progress epoch 1
3264b42 -
Training in progress epoch 0
0e0d5cc -
Model save
a9efe12 -
Training in progress, step 500
0439d4d -
update model card README.md
b8b88c7 -
Model save
463a004 -
Training in progress, step 500
c141ca3
-
update model card README.md
d27aa5e -
Model save
c371b5f -
Training in progress, step 5500
f996457 -
Training in progress, step 5000
ce6e569 -
Training in progress, step 4500
bad5e86 -
Training in progress, step 4000
9ea2be2 -
Training in progress, step 3500
d7ffe91 -
Training in progress, step 3000
141cdeb -
Training in progress, step 2500
0b74e9d -
Training in progress, step 2000
03edf32 -
Training in progress, step 1500
d1b2521 -
Training in progress, step 1000
00588f5 -
Training in progress, step 500
27c0ff7
-
Training in progress epoch 1
fa06993 -
Training in progress epoch 0
7315465 -
initial commit
9d67970