yumiian/qa_en_ms_v1
Viewer • Updated • 31.4k • 24
How to use yumiian/qa_en_ms_model_v4 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="yumiian/qa_en_ms_model_v4") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("yumiian/qa_en_ms_model_v4")
model = AutoModelForQuestionAnswering.from_pretrained("yumiian/qa_en_ms_model_v4")This model is a fine-tuned version of timpal0l/mdeberta-v3-base-squad2 on self collected dataset. It achieves the following results on the evaluation set:
This should only be used for question answering task. The model needs context to be able to answer user's question.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8094 | 1.0 | 3139 | 0.7540 |
| 0.6089 | 2.0 | 6278 | 0.6963 |
| 0.5022 | 3.0 | 9417 | 0.7732 |
Base model
microsoft/mdeberta-v3-base