Natural Language Processing: A Comprehensive Practical Guide from Tokenisation to RLHF
TLDR
This paper is a practical guide covering the modern NLP pipeline from tokenization to RLHF, emphasizing reproducible research and open-weight models.
Key contributions
- Systematic guide through the entire modern NLP pipeline, from tokenization to RLHF.
- Twelve hands-on sessions combining theory with detailed implementation and evaluation plans.
- Reproducible research artifact, advocating open-weight models and the Hugging Face ecosystem.
- Includes original research on low-resource languages (Tajik, Tatar) for data-scarce NLP.
Why it matters
This guide offers a unique, hands-on approach to modern NLP, covering everything from basics to advanced LLM techniques like RLHF. Its focus on reproducibility, open-source tools, and low-resource languages makes it invaluable for practical application and research. It bridges the gap between theory and real-world deployment.
Original Abstract
This preprint presents a systematic, research-oriented practicum that guides the reader through the entire modern NLP pipeline: from tokenisation and vectorisation to fine-tuning of large language models, retrieval-augmented generation, and reinforcement learning from human feedback. Twelve hands-on sessions combine concise theory with detailed implementation plans, formalised evaluation metrics, and transparent assessment criteria. The work is not a conventional textbook: it is designed as a reproducible research artefact where every session requires publishing code, models, and reports in public repositories. All experiments are conducted on a single evolving corpus, and the work advocates open-weight models over commercial APIs, with special attention to the Hugging Face ecosystem. The material is enriched by original research on low-resource languages, incorporating linguistic resources for Tajik and Tatar (subword tokenisers, embeddings, lexical databases, and transliteration benchmarks), demonstrating how modern NLP can be adapted to data-scarce environments. Designed for senior undergraduates, graduate students, and practising developers seeking to implement, compare, and deploy methods from classical ML to state-of-the-art LLM-based systems.
📬 Weekly AI Paper Digest
Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.