Instructions to use autoevaluate/extractive-question-answering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use autoevaluate/extractive-question-answering 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="autoevaluate/extractive-question-answering")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("autoevaluate/extractive-question-answering") model = AutoModelForQuestionAnswering.from_pretrained("autoevaluate/extractive-question-answering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add evaluation results on the autoevaluate--squad-sample config and test split of autoevaluate/squad-sample
Beep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\ Your model has been evaluated on the autoevaluate--squad-sample config and test split of the [autoevaluate/squad-sample](https://huggingface.co/datasets/autoevaluate/squad-sample) dataset by @lewtun, using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-project-e438add5-1e56-41ec-9c26-2ad4182383b0-6260).\ Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=autoevaluate/squad-sample).\ Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=autoevaluate/squad-sample).a522622
-
Update README.md
a1b9025
-
Update README.md (#1)
- Update README.md (9904a7abd7cf0dafbf488752822c0c0420317aba)59ea102 -
update model card README.md
991ebf8 -
Model save
268ac57 -
Training in progress, step 500
d28bc7d -
initial commit
e2d5297