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

Trankit:一个轻量级的基于转换器的多语言自然语言处理工具包

Trankit: A Light-Weight Transformer-based Toolkit for Multilingual Natural Language Processing

University of Oregon(俄勒冈大学)

Minh Van Nguyen, Viet Dac Lai, Amir Pouran Ben Veyseh, Thien Huu Nguyen

摘要:

我们介绍Trankit,一个轻量级的基于transformer的多语言自然语言处理(NLP)工具包。它为超过100种语言的基本NLP任务提供了一个可训练的管道,并为56种语言提供了90个预训练管道。Trankit建立在最先进的预训练语言模型之上,在句子分割、词性标记、形态特征标记和依存句法分析方面显著优于之前的多语言NLP管道,同时在标记化、多词标记扩展和词形化方面保持了超过90个通用词典树库的竞争性能。尽管使用了一个大型的预训练的Transformer,我们的工具包在内存使用和速度方面仍然很高效。这是通过我们新颖的Adapters即插即用机制实现的,其中多语言预训练的Transformer在不同语言的管道中共享。我们的工具包以及预训练的模型和代码可在https://github.com/nlp-uoregon/trankit上公开获取。我们的工具包的演示网站也可以在:http://nlp.uoregon.edu/trankit。最后,我们在https://youtu.be/q0KGP3zGjGc上为Trankit创建了一个演示视频。

英文摘要:

We introduce Trankit, a light-weight Transformer-based Toolkit for multilingual Natural Language Processing (NLP). It provides a trainable pipeline for fundamental NLP tasks over 100 languages, and 90 pretrained pipelines for 56 languages. Built on a state-of-the-art pretrained language model, Trankit significantly outperforms prior multilingual NLP pipelines over sentence segmentation, part-of-speech tagging, morphological feature tagging, and dependency parsing while maintaining competitive performance for tokenization, multi-word token expansion, and lemmatization over 90 Universal Dependencies treebanks. Despite the use of a large pretrained transformer, our toolkit is still efficient in memory usage and speed. This is achieved by our novel plug-and-play mechanism with Adapters where a multilingual pretrained transformer is shared across pipelines for different languages. Our toolkit along with pretrained models and code are publicly available at: https://github.com/nlp-uoregon/trankit. A demo website for our toolkit is also available at: http://nlp.uoregon.edu/trankit. Finally, we create a demo video for Trankit at: https://youtu.be/q0KGP3zGjGc.

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

↑