Instructions to use csarron/roberta-large-squad-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use csarron/roberta-large-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-large-squad-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("csarron/roberta-large-squad-v1") model = AutoModelForQuestionAnswering.from_pretrained("csarron/roberta-large-squad-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (7f0ecc9df87efb247ea688135e7a4549193b1868) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>2263ded
-
upload flax model
bd58492 -
allow flax
7cc7e33
-
Update vocab.json
97f419f -
Update config.json
3edb282 -
Update special_tokens_map.json
dbe09e8 -
Update training_args.bin
459e780 -
Update pytorch_model.bin
833afaf -
Update merges.txt
265e6cf -
Update tokenizer_config.json
95649c2 -
initial commit
9077070