Continual Pretraining of a Small Language Model on Cuban Spanish Corpora
摘要
Large language models have transformed natural language processing, but their effectiveness is limited for regional language variants due to underrepresentation in training data. This paper introduces Cecilia 2B, a 2-billion-parameter language model continually pretrained on nearly 1 billion tokens of Cuban Spanish text, including newspapers, encyclopedias, legal documents, literature, and song lyrics, to address the gap in language technology for Cuban Spanish. Leveraging the Salamandra 2B architecture, Cecilia 2B demonstrates the feasibility and value of adapting multilingual models to regional variants through continual pretraining, achieving improved performance on Spanish and multilingual tasks relevant to its target domain while maintaining computational efficiency suitable for resource-constrained environments. We detail the construction of a culturally rich Cuban Spanish corpus, the adaptation methodology, and a comparative evaluation with the base model, highlighting both the benefits and trade-offs of regional specialization. Cecilia 2B provides a foundational resource for Cuban Spanish NLP and establishes a path for future research in instruction tuning, corpus expansion, tokenizer retraining, and the development of larger or more specialized models.