arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08617cs.CL
收藏

用于塞尔维亚语问答的合成数据集构建与Transformer模型微调

Synthetic Dataset Creation and Fine-Tuning of Transformer Models for Question Answering in Serbian

School of Electrical Engineering(电气工程学院);University in Belgrade(贝尔格莱德大学)

Aleksa Cvetanović, Predrag Tadić

AI总结:

本研究采用改进的翻译-对齐-检索方法构建了含8.7万余样本、含两种文字版本的塞尔维亚语最大合成问答数据集SQuAD-sr,微调BERTić模型在XQuAD塞尔维亚语版上取得优于零样本基线的效果,验证了该数据集的可用性。

摘要:

本文聚焦于采用改进的Translate-Align-Retrieve(翻译-对齐-检索)方法生成合成问答(QA)数据集。通过该方法,我们构建了规模超8.7万样本的最大塞尔维亚语问答数据集,将其命名为SQuAD-sr。考虑到塞尔维亚语的文字双重性,我们同时生成了该数据集的西里尔字母版和拉丁字母版。我们对数据集质量展开研究,并利用其微调多个预训练问答模型。最佳结果由在拉丁字母版SQuAD-sr数据集上微调的BERTić模型取得,在为评估而翻译为塞尔维亚语的基准数据集XQuAD上,达到73.91%的精确匹配率与82.97%的F1值。结果表明,我们的模型性能优于零样本基线,但未超越人类表现。我们注意到,使用单语预训练模型优于多语预训练模型,且使用拉丁字母相比西里尔字母能带来性能提升。通过进一步分析我们发现,涉及数值或日期的问题相比其他类型问题更易被正确回答。最后我们得出结论:在缺乏人工构建与标注数据集的情况下,SQuAD-sr的质量足以用于微调塞尔维亚语问答模型。

英文摘要:

In this paper, we focus on generating a synthetic question answering (QA) dataset using an adapted Translate-Align-Retrieve method. Using this method, we created the largest Serbian QA dataset of more than 87K samples, which we name SQuAD-sr. To acknowledge the script duality in Serbian, we generated both Cyrillic and Latin versions of the dataset. We investigate the dataset quality and use it to fine-tune several pre-trained QA models. Best results were obtained by fine-tuning the BERTić model on our Latin SQuAD-sr dataset, achieving 73.91% Exact Match and 82.97% F1 score on the benchmark XQuAD dataset, which we translated into Serbian for the purpose of evaluation. The results show that our model exceeds zero-shot baselines, but fails to go beyond human performance. We note the advantage of using a monolingual pre-trained model over multilingual, as well as the performance increase gained by using Latin over Cyrillic. By performing additional analysis, we show that questions about numeric values or dates are more likely to be answered correctly than other types of questions. Finally, we conclude that SQuAD-sr is of sufficient quality for fine-tuning a Serbian QA model, in the absence of a manually crafted and annotated dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑