When building machine learning models that operate on source code, several decisions have to be made to model source-code vocabulary. These decisions can have a large impact: some can lead to not being able to train models at all, others significantly affect performance, particularly for Neural Language Models. Yet, these decisions are not often fully described. This paper lists important modeling choices for source code vocabulary, and explores their impact on the resulting vocabulary on a large-scale corpus of 14,436 projects. We show that a subset of decisions have decisive characteristics, allowing to train accurate Neural Language Models quickly on a large corpus of 10,106 projects.
UOL@IDEM at BEA 2026 Shared Task 1: Neural Fusion and Feature-Rich Modeling for L1-Aware Vocabulary Difficulty Prediction
Centre for Translation, Localisation and Interpreting Studies, School of Languages, Cultures and Societies, University of Leeds(利兹大学语言、文化与社会学院翻译、本地化与口译研究中心);Alexandria University(亚历山大大学)
Qwenfant: Train Big Character-level BabyLMs on Concise Parallel Text
School of Computation, Information and Technology, TU Munich(慕尼黑工业大学计算、信息与技术学院);Munich Center for Machine Learning(慕尼黑机器学习中心);Munich Data Science Institute(慕尼黑数据科学研究所)
Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLP
Johns Hopkins University(约翰霍普金斯大学);HuggingFace;King Fahd University of Petroleum and Minerals(法赫德国王石油矿产大学);SAP(SAP公司);Naver Labs Europe;Institute for Infocomm Research, A*STAR Singapore(新加坡科技研究局资讯通信研究院);University of Maryland(马里兰大学);BigScience Workshop(BigScience研讨会);Inria Paris(法国国家信息与自动化研究所巴黎中心);Salesforce Research Asia(Salesforce亚洲研究院);National University of Singapore(新加坡国立大学)
Word, Subword or Character? An Empirical Study of Granularity in Chinese-English NMT
National Laboratory of Pattern Recognition, CASIA(中国科学院自动化研究所模式识别国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
Modeling Target-Side Morphology in Neural Machine Translation: A Comparison of Strategies
Center for Information and Language Processing(信息与语言处理中心);ILLC, University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所);CIS, LMU Munich(慕尼黑大学信息与语言处理中心);LMU Munich(慕尼黑大学)