Instructions to use csarron/roberta-base-squad-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use csarron/roberta-base-squad-v1 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="csarron/roberta-base-squad-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("csarron/roberta-base-squad-v1") model = AutoModelForQuestionAnswering.from_pretrained("csarron/roberta-base-squad-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (d6cc56f66e6c72165d03f77140c7dd806e1b1d59) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>34a130c
-
upload flax model
b78e35e -
allow flax
bcf5cf7
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/csarron/roberta-base-squad-v1/README.mdda0a3a0
-
Update special_tokens_map.json
d61dfec -
Update tokenizer_config.json
dc8d8e9 -
Update training_args.bin
3e2eab9 -
Update vocab.json
8895303 -
Update merges.txt
09c8820 -
Update pytorch_model.bin
78ecc0c -
Update config.json
268e7b0 -
Update special_tokens_map.json
695ac8e -
Update tokenizer_config.json
db17cfe -
Update merges.txt
3aca5dc -
Update vocab.json
3f3060d -
Update config.json
c546a16 -
initial commit
9393235