taidng/UIT-ViQuAD2.0
Viewer • Updated • 39.6k • 675 • 18
How to use ZycckZ/Simple_VieQA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="ZycckZ/Simple_VieQA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("ZycckZ/Simple_VieQA")
model = AutoModelForQuestionAnswering.from_pretrained("ZycckZ/Simple_VieQA")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("ZycckZ/Simple_VieQA")
model = AutoModelForQuestionAnswering.from_pretrained("ZycckZ/Simple_VieQA")This model is a fine-tuned version of ZycckZ/Zk1-QA-VN-test and taidng/UIT-ViQuAD2 dataset.
It achieves the following results on the evaluation set:
This model now much better than the model before (ZycckZ/Zk1-QA-VN-test).
Training:
Evaluation:
Based on Question Answering HuggingFace 🤗
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.171 | 1.0 | 2226 | 1.0648 |
| 0.8499 | 2.0 | 4452 | 1.1054 |
| 0.5862 | 3.0 | 6678 | 1.2583 |
| 0.4082 | 4.0 | 8904 | 1.5642 |
| 0.2835 | 5.0 | 11130 | 1.8800 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="ZycckZ/Simple_VieQA")