Instructions to use thatdramebaazguy/roberta-base-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thatdramebaazguy/roberta-base-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="thatdramebaazguy/roberta-base-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("thatdramebaazguy/roberta-base-squad") model = AutoModelForQuestionAnswering.from_pretrained("thatdramebaazguy/roberta-base-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
22b99f3
-
Update README.md
a7a26fd -
Update README.md
50297ec -
Update README.md
042095e -
Update README.md
2a0a3a4
-
upload flax model
648c7e2 -
allow flax
7ae3e67
-
Update README.md
3b0c444 -
Update README.md
97efe41 -
Update README.md
ff1d6d2
-
Create README.md
ef187dc -
Adding files - Aditya Singhal
9be32a1 -
initial commit
95e91b1