Instructions to use Falconsai/question_answering_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falconsai/question_answering_v2 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="Falconsai/question_answering_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Falconsai/question_answering_v2") model = AutoModelForQuestionAnswering.from_pretrained("Falconsai/question_answering_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
import torch missing (#2)
Verified signature- import torch missing (4438461f7c90425158c33976a96d3e90101ef303) Co-authored-by: Tibor Sekera <tibors@users.noreply.huggingface.co>374903e
-
Update config.json
03231bf
-
Update README.md
be5b426 -
Update README.md
db9c5d8
-
Update README.md
d197d5b -
Update README.md
a196312 -
Update README.md
b41f6cb -
Update README.md
d47d486 -
Update README.md
e974bcd -
Update README.md
1ae59bf -
Upload tokenizer
62742e7 -
Upload DistilBertForQuestionAnswering
8be8735 -
Upload model.safetensors
82b368c -
Upload 6 files
f558776 -
Create README.md
327680e -
initial commit
be0ec43