CamemBERT 2.0:一个陈化至完美的更智能的法语语言模型
CamemBERT 2.0: A Smarter French Language Model Aged to Perfection
AI总结:
本文提出两个更新的法语语言模型 CamemBERTav2 和 CamemBERTv2,通过采用更大更新的数据集和新分词器解决时间概念漂移问题,在多项NLP任务上大幅超越前代模型。
摘要:
法语语言模型(如 CamemBERT)已在各行业的自然语言处理(NLP)任务中得到广泛应用,其中 CamemBERT 每月的下载量超过 400 万次。然而,由于时间概念漂移,这些模型面临挑战,过时的训练数据会导致性能下降,尤其是在遇到新主题和术语时。这一问题凸显了对能够反映当前语言趋势的更新模型的需求。在本文中,我们介绍了 CamemBERT 基础模型的两个新版本——CamemBERTav2 和 CamemBERTv2,旨在应对这些挑战。CamemBERTav2 基于 DeBERTaV3 架构,并利用 Replaced Token Detection (RTD) 目标以实现更好的上下文理解,而 CamemBERTv2 则构建于 RoBERTa 之上,使用 Masked Language Modeling (MLM) 目标。这两个模型均在规模更大且更近期的数据集上进行训练,具有更长的上下文长度,并采用了更新的分词器以提升法语的分词性能。我们在通用领域 NLP 任务和特定领域应用(如医疗领域任务)上评估了这些模型的性能,证明了它们在一系列用例中的多功能性和有效性。我们的结果表明,这些更新的模型在很大程度上优于其前身,使其成为现代 NLP 系统的有价值工具。我们所有的新模型以及中间检查点均在 Huggingface 上公开提供。
英文摘要:
French language models, such as CamemBERT, have been widely adopted across industries for natural language processing (NLP) tasks, with models like CamemBERT seeing over 4 million downloads per month. However, these models face challenges due to temporal concept drift, where outdated training data leads to a decline in performance, especially when encountering new topics and terminology. This issue emphasizes the need for updated models that reflect current linguistic trends. In this paper, we introduce two new versions of the CamemBERT base model-CamemBERTav2 and CamemBERTv2-designed to address these challenges. CamemBERTav2 is based on the DeBERTaV3 architecture and makes use of the Replaced Token Detection (RTD) objective for better contextual understanding, while CamemBERTv2 is built on RoBERTa, which uses the Masked Language Modeling (MLM) objective. Both models are trained on a significantly larger and more recent dataset with longer context length and an updated tokenizer that enhances tokenization performance for French. We evaluate the performance of these models on both general-domain NLP tasks and domain-specific applications, such as medical field tasks, demonstrating their versatility and effectiveness across a range of use cases. Our results show that these updated models vastly outperform their predecessors, making them valuable tools for modern NLP systems. All our new models, as well as intermediate checkpoints, are made openly available on Huggingface.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。