mlsanityData to 14 Oct 2026

Towards Nepali-language LLMs: Efficient GPT training with a Nepali BPE tokenizer

arXiv 2512.14585 ↗First posted 16 Dec 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Nepali, a low-resource language spoken by over 32 million people, continues to face challenges in natural language processing (NLP) due to its complex grammar, agglutinative morphology, and limited availability of high-quality corpora. Most efforts to date have centered on basic encoder architectures; they remain insufficient for Nepali-specific text generation. This study presents a GPT-2-based Nepali language model trained using several training strategies inspired by GPT-3, including optimized learning rate schedules, batch scaling, and architectural refinements. A custom 16k Byte-Pair Encoding (BPE) tokenizer was trained exclusively on Nepali text to ensure more consistent segmentation and improved input representation. The model was pretrained on a combined dataset comprising a 10.75GB cleaned NepBERTa corpus and additional web-scraped Nepali news articles. FlashAttention was integrated to reduce memory usage and stabilize training. After two epochs, the model achieved a training loss of 3.168177, a validation loss of 3.081982, and a final perplexity of 21.80, demonstrating its capability to generate coherent Nepali news-style text.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 16 Dec 2025.

Builds on

13 of 20 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  7. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  8. 2015Cyclical Learning Rates for Training Neural Networkscited by 629
  9. 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
  10. 2020German's Next Language Modelcited by 144
  11. 2020A Monolingual Approach to Contextualized Word Embeddings for Mid-Resource Languagescited by 131
  12. 2019Multilingual is not enough: BERT for Finnishcited by 119
1 more
  1. 2024Development of Pre-Trained Transformer-based Models for the Nepali Languagecited by 6

Built on by

Not cited yet.