arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.02099cs.CLcs.LG
收藏

75种语言,1种模型:解析通用语法

75 Languages, 1 Model: Parsing Universal Dependencies Universally

Charles University(查理大学);Saarland University(萨尔兰大学)

Dan Kondratyuk, Milan Straka

摘要:

我们提出了UDify,一个多语言的多任务模型,能够准确地预测通用的词性,形态特征,词元和依赖树同时为所有124个通用的相似性树库在75种语言。通过利用在104种语言上预训练的多语言BERT自我注意力模型,我们发现在所有数据集上对它进行微调,并为每个UD任务使用简单的softmax分类器,可以产生最先进的UPOS,UFeats,Lemmas,UAS和LAS分数,而不需要任何循环或语言特定的组件。我们评估了用于多语言学习的UDify,表明低资源语言从跨语言注释中受益最多。我们还对零样本学习进行了评估,结果表明,即使对于UDify和BERT都没有接受过训练的语言,多语言训练也能提供强大的UD预测。UDify的代码可在https://github.com/hyperparticle/udify上获得。

英文摘要:

We present UDify, a multilingual multi-task model capable of accurately predicting universal part-of-speech, morphological features, lemmas, and dependency trees simultaneously for all 124 Universal Dependencies treebanks across 75 languages. By leveraging a multilingual BERT self-attention model pretrained on 104 languages, we found that fine-tuning it on all datasets concatenated together with simple softmax classifiers for each UD task can result in state-of-the-art UPOS, UFeats, Lemmas, UAS, and LAS scores, without requiring any recurrent or language-specific components. We evaluate UDify for multilingual learning, showing that low-resource languages benefit the most from cross-linguistic annotations. We also evaluate for zero-shot learning, with results suggesting that multilingual training provides strong UD predictions even for languages that neither UDify nor BERT have ever been trained on. Code for UDify is available at https://github.com/hyperparticle/udify.

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

↑