rajpurkar/squad_v2
Viewer • Updated • 142k • 95.7k • 262
How to use lauraparra28/albert-large-v2-finetuned-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="lauraparra28/albert-large-v2-finetuned-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("lauraparra28/albert-large-v2-finetuned-squad")
model = AutoModelForQuestionAnswering.from_pretrained("lauraparra28/albert-large-v2-finetuned-squad", device_map="auto")This model is a fine-tuned version of albert-large-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 |
|---|---|---|---|
| 0.8412 | 1.0 | 8248 | 0.8427 |
| 0.6729 | 2.0 | 16496 | 0.7978 |
| 0.5069 | 3.0 | 24744 | 0.8760 |
| 0.357 | 4.0 | 32992 | 1.0229 |
| 0.2374 | 5.0 | 41240 | 1.1819 |
Base model
albert/albert-large-v2