rajpurkar/squad
Viewer • Updated • 98.2k • 160k • 364
How to use intanm/mBERT-squad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="intanm/mBERT-squad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("intanm/mBERT-squad")
model = AutoModelForQuestionAnswering.from_pretrained("intanm/mBERT-squad")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("intanm/mBERT-squad")
model = AutoModelForQuestionAnswering.from_pretrained("intanm/mBERT-squad")This model is a fine-tuned version of bert-base-multilingual-cased 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 |
|---|---|---|---|
| 1.0138 | 1.0 | 5475 | 0.9567 |
| 0.7478 | 2.0 | 10950 | 0.9419 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="intanm/mBERT-squad")