hfl/cmrc2018
Viewer • Updated • 14.4k • 3.86k • 36
How to use yayima/my_awesome_qa_cmrc2018_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="yayima/my_awesome_qa_cmrc2018_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("yayima/my_awesome_qa_cmrc2018_model")
model = AutoModelForQuestionAnswering.from_pretrained("yayima/my_awesome_qa_cmrc2018_model")This model is a fine-tuned version of hfl/chinese-pert-base-mrc on the cmrc2018 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.8593 | 1.0 | 634 | 1.2136 |
| 0.6411 | 2.0 | 1268 | 1.3501 |
| 0.4974 | 3.0 | 1902 | 1.5397 |