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

AlcLaM:阿拉伯方言语言模型

AlcLaM: Arabic Dialectal Language Model

Zhuiyi AI Lab(追义人工智能实验室);Mayo Clinic(梅奥诊所);Northwestern Polytechnical University(西北工业大学)

Murtadha Ahmed, Saghir Alfasly, Bo Wen, Jamaal Qasem, Mohammed Ahmed, Yunfeng Liu

AI总结:

针对阿拉伯方言性能不足,构建340万句社交媒体语料,从零训练BERT模型AlcLaM,仅用13GB文本,超越现有模型,性能卓越。

摘要:

预训练语言模型(PLMs)是现代许多自然语言处理(NLP)系统中不可或缺的组成部分。尽管多语言模型覆盖了广泛的语言,但它们常常面临推理成本高和缺乏多样化的非英语训练数据等挑战。针对阿拉伯语的预训练语言模型主要基于现代标准阿拉伯语进行训练,这损害了它们在区域方言上的性能。为了解决这个问题,我们构建了一个包含从社交媒体平台收集的340万句子的阿拉伯方言语料库。我们利用该语料库扩展词汇表,并从零开始重新训练一个基于BERT的模型。我们将其命名为AlcLaM,该模型仅使用了13 GB的文本进行训练,这仅占现有模型(如CAMeL、MARBERT和ArBERT)所用数据的一小部分,分别相当于其7.8%、10.2%和21.3%。值得注意的是,尽管训练数据有限,AlcLaM在各种阿拉伯语NLP任务上表现出卓越的性能。AlcLaM可在GitHub(https://github.com/amurtadha/Alclam)和HuggingFace(https://huggingface.co/rahbi)上获取。

英文摘要:

Pre-trained Language Models (PLMs) are integral to many modern natural language processing (NLP) systems. Although multilingual models cover a wide range of languages, they often grapple with challenges like high inference costs and a lack of diverse non-English training data. Arabic-specific PLMs are trained predominantly on modern standard Arabic, which compromises their performance on regional dialects. To tackle this, we construct an Arabic dialectal corpus comprising 3.4M sentences gathered from social media platforms. We utilize this corpus to expand the vocabulary and retrain a BERT-based model from scratch. Named AlcLaM, our model was trained using only 13 GB of text, which represents a fraction of the data used by existing models such as CAMeL, MARBERT, and ArBERT, compared to 7.8%, 10.2%, and 21.3%, respectively. Remarkably, AlcLaM demonstrates superior performance on a variety of Arabic NLP tasks despite the limited training data. AlcLaM is available at GitHub https://github.com/amurtadha/Alclam and HuggingFace https://huggingface.co/rahbi.

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

↑