Downloads · 30 days
11
1% of all-time downloads
chieunq/xlm-r-base-uit-viquad
xlm-r-base-uit-viquad is a question answering model from chieunq. Use it when the input is a question plus a passage. It is set up for transformers.
We fined-tune model XLM-Roberta-base in UIT-vquad dataset (https://arxiv.org/pdf/2009.14725.pdf) and argument data technique - EM (exact match) : 65.63 - F1 : 85.63
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
2.2 GB
Likes
1
Public
Click a slice to open those files.
.bin1.1 GB · 98%
From the Hugging Face model README
We fined-tune model XLM-Roberta-base in UIT-vquad dataset (https://arxiv.org/pdf/2009.14725.pdf) and argument data technique
from transformers import pipeline
# Replace this with your own checkpoint
model_checkpoint = "chieunq/xlm-r-base-uit-viquad"
question_answerer = pipeline("question-answering", model=model_checkpoint)
context = """
Nhóm của chúng tôi là sinh viên năm 4 trường ĐH Công Nghệ - ĐHQG Hà Nội. Nhóm gồm 3 thành viên : Nguyễn Quang Chiều, Nguyễn Quang Huy và Nguyễn Trần Anh Đức . Đây là pha Reader trong dự án cuồi kì môn Các vấn đề hiện đại trong CNTT của nhóm .
"""
question = "3 thành viên trong nhóm gồm những ai ?"
question_answerer(question=question, context=context)
{'score': 0.9928902387619019,
'start': 98,
'end': 158,
'answer': 'Nguyễn Quang Chiều, Nguyễn Quang Huy và Nguyễn Trần Anh Đức.'}