rajpurkar/squad_v2
Viewer • Updated • 142k • 36k • 251
How to use intanm/mbert-squadv2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="intanm/mbert-squadv2") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("intanm/mbert-squadv2")
model = AutoModelForQuestionAnswering.from_pretrained("intanm/mbert-squadv2")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("intanm/mbert-squadv2")
model = AutoModelForQuestionAnswering.from_pretrained("intanm/mbert-squadv2")This model is a fine-tuned version of bert-base-multilingual-cased 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.9459 | 1.0 | 8145 | 0.9588 |
| 0.6985 | 2.0 | 16290 | 0.9959 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="intanm/mbert-squadv2")