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

合法命名实体识别的德国BERT模型

German BERT Model for Legal Named Entity Recognition

University of Passau(帕绍大学)

Harshil Darji, Jelena Mitrović, Michael Granitzer

摘要:

BERT是最流行的语言模型之一,它的使用使得许多自然语言处理(NLP)任务得到了改进。一个这样的任务是命名实体识别(NER),即从给定文本自动识别诸如位置、人、组织等的命名实体。它也是许多自然语言处理任务,如信息抽取和论证挖掘的重要基础步骤。尽管使用BERT和其他流行的语言模型对NER进行了大量研究,但在法律NLP或法律技术方面却没有详细探讨。法律NLP应用各种NLP技术,如句子相似性或NER专门针对法律数据。使用BERT语言模型的NER任务只有少数模型,然而,这些模型都不是针对德语的法律文档。在本文中,我们微调了一个流行的BERT语言模型,该模型在法律实体识别(LER)数据集上对德国数据(德语BERT)进行了训练。为了确保我们的模型不会过度拟合,我们进行了分层的10倍交叉验证。我们在LER数据集上通过微调德国BERT获得的结果优于相同LER数据集作者使用的BiLSTM-CRF+模型。最后,我们通过HuggingFace公开提供模型。

英文摘要:

The use of BERT, one of the most popular language models, has led to improvements in many Natural Language Processing (NLP) tasks. One such task is Named Entity Recognition (NER) i.e. automatic identification of named entities such as location, person, organization, etc. from a given text. It is also an important base step for many NLP tasks such as information extraction and argumentation mining. Even though there is much research done on NER using BERT and other popular language models, the same is not explored in detail when it comes to Legal NLP or Legal Tech. Legal NLP applies various NLP techniques such as sentence similarity or NER specifically on legal data. There are only a handful of models for NER tasks using BERT language models, however, none of these are aimed at legal documents in German. In this paper, we fine-tune a popular BERT language model trained on German data (German BERT) on a Legal Entity Recognition (LER) dataset. To make sure our model is not overfitting, we performed a stratified 10-fold cross-validation. The results we achieve by fine-tuning German BERT on the LER dataset outperform the BiLSTM-CRF+ model used by the authors of the same LER dataset. Finally, we make the model openly available via HuggingFace.

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

↑