Instructions to use am-infoweb/roberta-base-squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use am-infoweb/roberta-base-squad2 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="am-infoweb/roberta-base-squad2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("am-infoweb/roberta-base-squad2") model = AutoModelForQuestionAnswering.from_pretrained("am-infoweb/roberta-base-squad2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (a0586736d9d8a6d6e6da4db1652105eab0ebbfa2) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b0df563
-
update model card README.md
Anurag Singhe216312 -
anuragsingh28/MRR3
Anurag Singh99572e3 -
Training in progress, step 6500
Anurag Singhef33eaa -
Training in progress, step 6000
Anurag Singhc0719ee -
Training in progress, step 5500
Anurag Singh2f33765 -
Training in progress, step 5000
Anurag Singhecf4293 -
Training in progress, step 4500
Anurag Singha875eb8 -
Training in progress, step 4000
Anurag Singh12403b4 -
Training in progress, step 3500
Anurag Singhd3ec78a -
Training in progress, step 3000
Anurag Singh6815568 -
Training in progress, step 2500
Anurag Singh31ee9b9 -
Training in progress, step 2000
Anurag Singh8c1c538 -
Training in progress, step 1500
Anurag Singhc2b1c99 -
Training in progress, step 1000
Anurag Singhc398cef -
Training in progress, step 500
Anurag Singh52e9162 -
update model card README.md
Anurag Singh4219c42 -
anuragsingh28/MRR3
Anurag Singhab9383c -
Training in progress, step 5000
Anurag Singha670a07 -
Training in progress, step 4500
Anurag Singhc11ce97 -
Training in progress, step 4000
Anurag Singh4d2956e -
Training in progress, step 3500
Anurag Singh10e8efb -
Training in progress, step 3000
Anurag Singhfb8f56d -
Training in progress, step 2500
Anurag Singhdcf2164 -
Training in progress, step 2000
Anurag Singh11e907b -
Training in progress, step 1500
Anurag Singh9791863 -
Training in progress, step 1000
Anurag Singh04f122a -
Training in progress, step 500
Anurag Singhd867fa7 -
initial commit
Anurag Singhbd8579b