CS 471/671 (How to grow language models) - #17 - Fall 2026

CS 471/671 (How to grow language models) - #17 - Fall 2026

Title history
  • CS 471/671 (How to grow language models) - #17 - Fall 2026 — observed on 20261105-2038 UTC (YouTube)
🎙 Center for Language & Speech Processing (CLSP), JHU 👥 4K 📅 November 2, 2026 ⏱ 47 min 👁 146 📄 tutorial 🧭 2026-11-05
Available in: English (current) Français

Keywords

batch sizegradient accumulationpackingepochtraining stabilitysupervised fine-tuning

Summary

This lecture from the CS 471/671 course covers key aspects of training large language models, focusing on practical considerations such as batch size selection, gradient accumulation for simulating large batches with limited GPU memory, and the concept of packing to avoid wasted compute. The instructor explains the trade-offs of increasing batch size, referencing insights from industry models like DeepSeek, and discusses the trend of training for multiple epochs as compute becomes more available. The lecture also addresses the phenomenon of training instability, with an anecdote about long strings of ’m’ characters from a Reddit forum causing spikes in loss, and emphasizes the importance of monitoring downstream task performance. Finally, the lecture transitions to the topic of adaptation, defining a task and introducing supervised fine-tuning as the primary method for adapting a pre-trained model to specific input-output mappings.

137 words

Critical Evaluation

Value of the Information & Strength of the Argument

The lecture provides valuable practical guidance on hyperparameter selection and training strategies, grounded in empirical observations and industry practices. The argumentation is solid, with clear explanations of trade-offs and connections to research findings. The use of concrete examples (e.g., DeepSeek’s batch size recommendations, BERT’s 40 epochs) strengthens the credibility of the points made. The instructor encourages student interaction and clarifies concepts with code snippets, making the content accessible while maintaining technical depth.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is high, as the content aligns with current best practices in NLP training. Sources mentioned include the DeepSeek paper and BERT, though detailed citations are not provided in the lecture itself; the course website link is given in the description. The title accurately reflects the lecture’s focus on growing language models, and the structure follows a logical progression from pre-training considerations to adaptation.

153 words

Title / Content Match

The title accurately reflects the course content, which focuses on practical aspects of training large language models, consistent with the course name and lecture number.

Quality & Reliability

8/10

Lecture content is based on established practices and includes references to industry papers (DeepSeek, BERT), with practical PyTorch code examples. The presentation is clear and incorporates empirical observations, but lacks formal citations within the talk beyond a few named papers.

Key Moments

Cited Sources

Concurring Sources

  • DeepSeek LLM paper — The lecture references DeepSeek's recommendations for batch size and learning rates based on training budget.
  • BERT paper — BERT is cited as an outlier with 40 epochs, illustrating the interplay of compute and data.

Contribution & Novelties

The lecture provides a comprehensive and practical overview of common practices in training large language models, with particular emphasis on gradient accumulation and packing techniques that are often underexplained in academic contexts. The inclusion of real-world examples like DeepSeek’s batch size recommendations and the anecdote of unusual training data spikes adds valuable insight. For further exploration, one can look into scaling laws, mixture-of-experts models, and advanced fine-tuning methods.

Pour aller plus loin :

131 words

Radar Profile

The radar profile shows high scores across all dimensions, indicating a well-rounded lecture with strong information content, technical depth, and reliability. The balance between theoretical explanation and practical advice is excellent.

Reliability 8/10