~/talk

How to train a fast LLM for coding tasks

links:none on file
slides:none on file

JetBrains trains a purpose-built in‑IDE code completer called Mellum, a ~4B parameter model fine-tuned for fill‑in‑the‑middle code completion and context awareness using a Kotlin-based “code engine” to gather project files and context. Pretraining uses ~4.5T tokens and an 8k window, then supervised finetune with realistic split heuristics, license filtering (remove non‑permissive repos), alignment via preference scoring from larger models, quantization/distillation and SFT. Trained on 64 GPUs ×4 weeks (or 128 ×2), it’s cheaper, faster and outperforms models about twice its size on multi‑line completion metrics.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:29Why build custom SLMs
  3. 6:27Training from scratch vs alternatives
  4. 8:56Code completion fundamentals
  5. 12:12Pre-training process details
  6. 14:43Supervised fine-tuning steps
  7. 18:13Context awareness challenges
  8. 21:29Alignment and human-like generation
  9. 27:16Results and model lineup
  10. 29:03Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.