rajpurkar/squad
Viewer • Updated • 98.2k • 159k • 366
How to use Nighthawks/bert-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Nighthawks/bert-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Nighthawks/bert-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("Nighthawks/bert-finetuned-squad")This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Train Loss | Train End Logits Accuracy | Train Start Logits Accuracy | Validation Loss | Validation End Logits Accuracy | Validation Start Logits Accuracy | Epoch |
|---|---|---|---|---|---|---|
| 1.5823 | 0.5924 | 0.5516 | 1.1556 | 0.6903 | 0.6496 | 0 |
| 0.9907 | 0.7266 | 0.6861 | 1.0986 | 0.7079 | 0.6656 | 1 |
| 0.7768 | 0.7784 | 0.7395 | 1.1178 | 0.7121 | 0.6721 | 2 |