rajpurkar/squad
Viewer • Updated • 98.2k • 158k • 363
How to use mateiaass/albertbase-qa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="mateiaass/albertbase-qa") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("mateiaass/albertbase-qa")
model = AutoModelForQuestionAnswering.from_pretrained("mateiaass/albertbase-qa")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("mateiaass/albertbase-qa")
model = AutoModelForQuestionAnswering.from_pretrained("mateiaass/albertbase-qa")This model is a fine-tuned version of albert-base-v2 on the squad 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.897 | 1.0 | 4380 | 0.9106 |
| 0.671 | 2.0 | 8760 | 0.8892 |
| 0.476 | 3.0 | 13140 | 1.0115 |
Base model
albert/albert-base-v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="mateiaass/albertbase-qa")