mlsanityData to 14 Oct 2026

The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Compute

arXiv 2309.11197 ↗First posted 20 Sep 2023cs.LG cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

The Languini Kitchen serves as both a research collective and codebase designed to empower researchers with limited computational resources to contribute meaningfully to the field of language modelling. We introduce an experimental protocol that enables model comparisons based on equivalent compute, measured in accelerator hours. The number of tokens on which a model is trained is defined by the model's throughput and the chosen compute class. Notably, this approach avoids constraints on critical hyperparameters which affect total parameters or floating-point operations. For evaluation, we pre-process an existing large, diverse, and high-quality dataset of books that surpasses existing academic benchmarks in quality, diversity, and document length. On it, we compare methods based on their empirical scaling trends which are estimated through experiments at various levels of compute. This work also provides two baseline models: a feed-forward model derived from the GPT-2 architecture and a recurrent model in the form of a novel LSTM with ten-fold throughput. While the GPT baseline achieves better perplexity throughout all our levels of compute, our LSTM baseline exhibits a predictable and more favourable scaling law. This is due to the improved throughput and the need for fewer training tokens to achieve the same decrease in test perplexity. Extrapolating the scaling laws leads of both models results in an intersection at roughly 50,000 accelerator hours. We hope this work can serve as the foundation for meaningful and reproducible language modelling research.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 71 of its 94 references that are in the map. First posted on arXiv 20 Sep 2023.

Builds on

71 of 94 references.

References · 71

  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. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2020Scaling Laws for Neural Language Modelscited by 6,586
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  10. 2016Layer Normalizationcited by 5,669
  11. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  12. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
38 more
  1. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2016Pointer Sentinel Mixture Modelscited by 3,096
  4. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  5. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  7. 2023A Survey of Large Language Modelscited by 2,576
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  10. 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,071
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  12. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  13. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  14. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  15. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  16. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  17. 2016Bag of Tricks for Efficient Text Classificationcited by 876
  18. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  19. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  20. 2023Instruction Tuning for Large Language Models: A Surveycited by 623
  21. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  22. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  23. 2016FastText.zip: Compressing text classification modelscited by 335
  24. 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 320
  25. 2018An Empirical Model of Large-Batch Trainingcited by 281
  26. 2017Are GANs Created Equal? A Large-Scale Studycited by 267
  27. 2015Highway Networkscited by 260
  28. 2022Exploring Length Generalization in Large Language Modelscited by 206
  29. 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 193
  30. 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 185
  31. 2020The Hardware Lotterycited by 160
  32. 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 150
  33. 2023The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Datasetcited by 148
  34. 2023Text-to-Audio Generation using Instruction-Tuned LLM and Latent Diffusion Modelcited by 145
  35. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
  36. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  37. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  38. 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129

50 most cited of 71 All 71 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 1; 2026: 1.

10 papers.