Logo Lanfrica

francois-meyer/subword-segmental-lm

Domain:

natural language processing

Record type:

software
Creator:
fra
Host:
Code for training and evaluating subword segmental language models, as in the Findings of EMNLP paper "Subword Segmental Language Modelling for Nguni Languages" (Meyer and Buys, 2022) # Subword Segmental Language Modelling for Nguni Languages Paper: Subword Segmental Language Modelling for Nguni Languages Francois Meyer and Jan Buys, Findings of EMNLP 2022 Train subword segmental language models (SSLMs) - language models that learn how to segment words while being trained for autoregressive language modelling. Evaluate trained SSLMs on intrinsic language modelling performance (BPC) and as unsupervised morphological segmenters. The datasets and models produced for this paper are publicly available: * Nguni language modelling datasets - train/validation/test splits for isiXhosa, isiZulu, isiNdebele, and Siswati. * Trained Nguni subword segmental language models ### Dependencies (Python) ### * NumPy * PyTorch * Torchtext * tqdm * NLTK