rajpurkar/squad
Viewer • Updated • 98.2k • 208k • 457
How to use anas-awadalla/bert-small-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="anas-awadalla/bert-small-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("anas-awadalla/bert-small-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("anas-awadalla/bert-small-finetuned-squad", device_map="auto")This model is a fine-tuned version of prajjwal1/bert-small on the squad dataset. It achieves the following results on the evaluation set:
{'exact_match': 71.05960264900662, 'f1': 80.8260245470904}
More information needed
More information needed
More information needed
The following hyperparameters were used during training: