rajpurkar/squad_v2
Viewer • Updated • 142k • 37k • 251
How to use kxx-kkk/FYP_qa_final with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="kxx-kkk/FYP_qa_final") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("kxx-kkk/FYP_qa_final")
model = AutoModelForQuestionAnswering.from_pretrained("kxx-kkk/FYP_qa_final")This model is a fine-tuned version of deepset/deberta-v3-base-squad2 on an MRQA dataset. It achieves the following results on the evaluation set:
This model is trained for performing extractive question-answering tasks for academic essays.
More information needed
The dataset used for training is listed below according to training sequences:
The training approach uses the fine-tuning approach of transfer learning on the pre-trained model to perform NLP QA tasks. Each time a model was trained with one dataset only and saved as the PTMs for the next training. This model is the last model that trained with MRQA(test split).
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.8084 | 0.48 | 300 | 3.1468 |
| 2.5707 | 0.96 | 600 | 2.9035 |
| 2.5187 | 1.44 | 900 | 2.7175 |
| 2.4463 | 1.91 | 1200 | 2.7497 |
| 2.4328 | 2.39 | 1500 | 2.7229 |
| 2.3839 | 2.87 | 1800 | 2.7493 |
Base model
microsoft/deberta-v3-base