Downloads · 30 days
11
1% of all-time downloads
asaduas/deberta-v3-xsmall-indonesia-squadv2
deberta-v3-xsmall-indonesia-squadv2 is a question answering model from asaduas. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
766
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin283 MB · 96%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/deberta-v3-xsmall on an unknown dataset. It achieves the following results on the evaluation set:
Deberta-V3-Xsmall from Microsft with model parameter: Backbone Parameters 22M, 384 Hidden Size, 12 Layers Based Deberta-V3
More information needed
Training and evaluation data using Indonesia SQuAD V2, source from https://github.com/Wikidepia/SQuAD-id
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.6078 | 1.0 | 13505 | 1.5331 |
| 1.4216 | 2.0 | 27010 | 1.4344 |
| 1.2017 | 3.0 | 40515 | 1.4182 |
{'exact': 55.34646711872568,
'f1': 67.22757187614371,
'total': 24923,
'HasAns_exact': 55.34646711872568,
'HasAns_f1': 67.22757187614371,
'HasAns_total': 24923,
'best_exact': 55.34646711872568,
'best_exact_thresh': 0.0,
'best_f1': 67.22757187614371,
'best_f1_thresh': 0.0}
from transformers import pipeline
qa_pipeline = pipeline(
"question-answering",
model="asaduas/deberta-v3-xsmall-indonesia-squadv2",
tokenizer="asaduas/deberta-v3-xsmall-indonesia-squadv2"
)
qa_pipeline(
{
'context': "Pada tahun 1512 juga Afonso de Albuquerque mengirim Antonio Albreu dan Franscisco Serrao untuk memimpin armadanya mencari jalan ke tempat asal rempah-rempah di Maluku. Sepanjang perjalanan, mereka singgah di Madura, Bali, dan Lombok. Dengan menggunakan nakhoda-nakhoda Jawa, armada itu tiba di Kepulauan Banda, terus menuju Aibku Utara sampai tiba di Ternate.",
'question': "Siapa yang dikirim oleh Afonso de Albuquerque Pada tahun 1512?"
}
)
[
{'score': 0.8919295072555542,
'start': 51,
'end': 88,
'answer': ' Antonio Albreu dan Franscisco Serrao'}
]