Question Answering
Transformers
TensorFlow
ONNX
Safetensors
distilbert
generated_from_keras_callback
Instructions to use wdavies/extract-answer-from-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wdavies/extract-answer-from-text 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="wdavies/extract-answer-from-text")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("wdavies/extract-answer-from-text") model = AutoModelForQuestionAnswering.from_pretrained("wdavies/extract-answer-from-text", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 2 files
Verified signaturere-quantized7b4bfd6 -
Upload tokenizer
Verified signature716c577 -
Upload DistilBertForQuestionAnswering
Verified signature4dadee3
-
Training in progress epoch 1
9f5bfa0 -
Training in progress epoch 0
84575d2 -
initial commit
7721bd4