r/learnmachinelearning • • 24d ago

I built a practice site for LLM engineering interviews: hand-code attention in the browser, flashcards, real interview reports

LLM / ML engineering interviews have drifted away from pure LeetCode. It's common to be asked to write multi-head attention or RoPE from scratch, explain why attention is scaled by √d, compare DPO with PPO, and walk through a RAG system you built.

I couldn't find one place to practice all of that, so I built RagCodes. What's in it right now:

  • 42 LLM coding problems (softmax, MHA, GQA, RoPE, KV-cache decoding, FlashAttention forward, LayerNorm/RMSNorm, cross-entropy, DPO/GRPO losses…) plus LeetCode Hot 100. Code runs in a sandbox against hidden tests, in Python, C++ or Java.
  • 263 flashcards in 17 chapters (Transformers, fine-tuning, distributed training, inference, RL/alignment, RAG, agents). Each card has a one-line answer first, then key points.
  • 380 interview reports from 114 companies, rewritten into question lists, with the most frequently asked topics ranked (GRPO and RAG are at the top).
  • 12 portfolio project write-ups and 109 paper notes, each ending with how interviewers tend to ask about it.

Screenshots: writing MHA from scratch and passing 13/13 tests, the topic ranking, a flashcard, the problem list.

Stack: FastAPI + SQLite, React/Vite + Monaco, Docker sandbox for judging. Free tier to start.

I'd really like feedback from people who have been through these interviews recently: what got asked that isn't covered here?

0 Upvotes

0 comments sorted by