rajpurkar/squad_v2
Viewer • Updated • 142k • 43.3k • 257
How to use NadaIbraheem/albert-base-v2-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="NadaIbraheem/albert-base-v2-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("NadaIbraheem/albert-base-v2-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("NadaIbraheem/albert-base-v2-finetuned-squad", device_map="auto")This model is a fine-tuned version of albert-base-v2 on the squad_v2 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:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 313 | 1.2505 |
| 1.5439 | 2.0 | 626 | 1.1598 |
| 1.5439 | 3.0 | 939 | 1.2708 |
| 0.7133 | 4.0 | 1252 | 1.5814 |
| 0.3044 | 5.0 | 1565 | 2.0296 |
| 0.3044 | 6.0 | 1878 | 2.2515 |
| 0.1225 | 7.0 | 2191 | 2.4035 |
| 0.0586 | 8.0 | 2504 | 2.8478 |
| 0.0586 | 9.0 | 2817 | 3.0978 |
| 0.0225 | 10.0 | 3130 | 3.5416 |
| 0.0225 | 11.0 | 3443 | 3.5272 |
| 0.0071 | 12.0 | 3756 | 3.5285 |
| 0.0013 | 13.0 | 4069 | 3.5399 |
| 0.0013 | 14.0 | 4382 | 3.5729 |
| 0.0007 | 15.0 | 4695 | 3.5840 |