PhayaThaiBERT:利用未同化外来词增强预训练泰语语言模型
PhayaThaiBERT: Enhancing a Pretrained Thai Language Model with Unassimilated Loanwords
AI总结:
针对WangchanBERTa难以理解未同化英语外来词的问题,通过迁移XLM-R分词器词表扩充词表、在更大数据集上继续预训练得到PhayaThaiBERT,其在多项下游任务上表现优于原模型。
摘要:
尽管WangchanBERTa已成为基于Transformer的泰语建模领域的事实标准,但它在理解外来词(最突出的是英语词)方面仍存在缺陷,这类词在很多场景下常未经正字法同化就被借入泰语。我们发现WangchanBERTa分词器缺少外来词汇是造成上述缺陷的主要原因。随后我们通过从XLM-R的预训练分词器迁移词汇来扩展WangchanBERTa的词表,从WangchanBERTa的检查点出发,在比原WangchanBERTa训练集规模更大的新数据集上预训练得到新模型。结果显示,我们的新预训练模型PhayaThaiBERT在众多下游任务和数据集上的表现均优于WangchanBERTa。
英文摘要:
While WangchanBERTa has become the de facto standard in transformer-based Thai language modeling, it still has shortcomings in regard to the understanding of foreign words, most notably English words, which are often borrowed without orthographic assimilation into Thai in many contexts. We identify the lack of foreign vocabulary in WangchanBERTa's tokenizer as the main source of these shortcomings. We then expand WangchanBERTa's vocabulary via vocabulary transfer from XLM-R's pretrained tokenizer and pretrain a new model using the expanded tokenizer, starting from WangchanBERTa's checkpoint, on a new dataset that is larger than the one used to train WangchanBERTa. Our results show that our new pretrained model, PhayaThaiBERT, outperforms WangchanBERTa in many downstream tasks and datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。