Commit Graph
27 Commits
Author SHA1 Message Date
wassnameandClaudypoo 38ddb544d9 Make 'Numbers worth knowing' quote-anchored with source-credence + calibrated language
Each bullet now leads with the action, carries a verbatim quote + footnote, states
source type (independent benchmark / peer-reviewed / single-group preprint) so the
reader can weight it, and uses Kent-style estimative language on the takeaway.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-23 12:02:51 +08:00
wassnameandClaudypoo 3f35addb7f Expand 'Numbers worth knowing' bullets with point + context for readability
Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-23 11:57:53 +08:00
wassnameandClaudypoo 23d3331ee2 Fix two varglite nits: complete Lost-in-Middle quote, add context to config block
Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-23 11:48:50 +08:00
wassnameandClaudypoo f10151e661 Add varglite 2026 judge lit-review + operational-numbers digest
New refs/llm_judge_litreview.md: verbatim before/key/after quotes (fetched from
raw source this turn) for position/self-preference/reasoning/context-rot, a
machine-accessible benchmark table, and an epistemic summary with calibration.
llm_judges.md gets a compact 'Numbers worth knowing (2026)' digest pointing to it.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-23 11:46:12 +08:00
wassnameandClaudypoo 2692ea8a4e Add reasoning-token budget guidance and LLM-as-judge survey
Add a per-model, per-difficulty token-budget note to judge-selection: models
vary ~6x in tokens/task (Artificial Analysis), reasoning models emit ~8x more
and scale with difficulty (Epoch AI, DeepSeek-R1), and the depth-vs-breadth
trade (cap reasoning low + N passes on easy tasks, which doubles as the
repeat-variance check; don't truncate near model capability). Add Gu et al.
"A Survey on LLM-as-a-Judge" as a second survey anchor. Cache new quotes.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-23 08:54:26 +08:00
wassnameandClaudypoo 01db376bca Add real SpeechMap per-lab refusal index to judge-selection
Replace the qualitative refusal claim with SpeechMap's per-lab Free Speech
Index (Mistral/xAI/Google most permissive; Anthropic/OpenAI most restrictive
majors; Chinese labs mid-high on the aggregate but topic-censored). Flag the
two traps: it's a lab average (hides a safety-tuned Gemma) and a cross-topic
aggregate (hides a per-subject refusal cluster). Cache the table.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-22 16:16:42 +08:00
wassnameandClaudypoo 54b8a2bb79 Add real Judgemark v4 frontier and evaluator-blind-spot papers
Replace the hand-waved judge-model guidance with the checked-in Judgemark v4
cost-vs-score frontier (opus-4-6 top, gemma-4-31b the cheap knee; Qwen/DeepSeek
are mid-pack not frontier, correcting the earlier claim). Quote Doddapaneni
(evaluators miss >50% of injected quality drops) and Shankar (criteria drift,
validators need validation). Cache both papers and the frontier table.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-22 16:12:46 +08:00
wassnameandClaudypoo 0105153305 Add judge-validity checklist and model-selection to llm_judges ref
Fold wassname's repeated eval-validity checklist into refs/llm_judges.md:
rubric-earns-ink, read-the-whole-trace, anchoring/scale-precision, repeat
variance, and a judge feedback channel. Add a judge-model-selection section
(Judgemark v4 cost-vs-score frontier, speechmap topic-conditional refusals).
Cache the new sources (Hamel, Databricks x2, Eugene Yan) with verbatim quotes
and onward paper links in docs/evidence.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-22 16:09:18 +08:00
wassname 9d00a069c6 Require reading both sides of LLM evaluations 2026-07-18 14:41:59 +08:00
wassname fa534cf44e Correct overconfident debugging advice 2026-07-12 22:00:49 +08:00
wassnameandClaudypoo f8f512f603 Cite Irpan in research taste (signs-of-life, seed canary)
Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-06-25 10:31:39 +08:00
wassname 67d4dc90bb Document quote-first evidence style 2026-06-25 10:31:39 +08:00
wassname 20f03f20b8 Expand research taste appendix with expert quotes 2026-06-25 10:31:39 +08:00
wassname 8fc2c0bbd0 Add research taste evidence appendix 2026-06-25 10:31:39 +08:00
wassname b8c3ffcf11 gpt5.5/fable 2026-06-12 09:30:25 +08:00
wassname 160bd040cc docs: add sourced transformer report folklore 2026-06-12 07:02:58 +08:00
wassname 8b9a1d62ed docs: resolve ml-debug TODO references 2026-06-12 06:52:38 +08:00
wassname (Michael J Clark)andGitHub 1ad74e14c6 Update loss_surface.md 2026-06-11 21:21:01 +08:00
wassname (Michael J Clark)andGitHub 6e9a3ca633 Revise introduction in diagnostics.md
Updated the introduction to provide context for diagnostic code snippets.
2026-06-11 21:18:07 +08:00
wassnameandClaudypoo 8cd3c61050 folklore: tuning playbook, Domingos, Bekman loss spikes, Ng error analysis; LLM-judge bias appendix
- SKILL.md: 3 new entries (exploration-over-exploitation + nuisance HPs,
  test-set contamination, loss-spikes-mean-bad-data-pocket) and an Ng
  100-misclassified-examples quote under inspect-the-data
- refs/llm_judges.md: position/verbosity/self-preference biases (Zheng,
  Wang 66/80 flip, Panickssery) + mitigation checklist from verdict docs
- Lones pitfalls linked as the exhaustive 36-item do/don't checklist
- 6 new frozen evidence files; Hamel evals link in further reading

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-06-11 15:30:41 +08:00
wassnameandClaudypoo 8ee980d62f diagnostics: add NaN-poisoning leakage tracer + Karpathy backprop-to-input check; README citation
NaN poisoning: inject NaN where info must not come from (future/test/labels), run the real pipeline, assert past outputs stay finite. Documents false negatives (pandas skipna, nanmean) and false positives (softmax rows, batch stats). Backprop-to-input is its gradient dual for inside the model; quote already frozen in docs/evidence/karpathy_recipe_training_nn_2019.md.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-06-11 10:18:51 +08:00
wassnameandClaudypoo 38ec634ff3 restructure: folklore-first, quote-verified, with wassname intro
Reorder around what's durable, per wassname's curation:
- human-written intro up top; rename to "wassname's ML Debugging Folklore"
- mindset first: calibrate -> mental models -> Part 1 general tricks (kept,
  they're well-based) -> read a working implementation when stuck
- a Folklore section built from verbatim, source-checked quotes (Jones,
  Rahtz, Karpathy, Schulman, Henderson, Irpan, CS231n, Slavv, Goodfellow),
  each footnoted to the canonical URL + the cached copy with line numbers
- LLM-agent babysitting (debugging loop, triage menu, anti-patterns) moved to
  the bottom where it belongs; triage reframed as a menu, not a flowchart
- deeper one-off tricks split to refs/ (loss_surface, metric_stuck, sweeps),
  scrubbed of private tooling (wandb/just/SI/personal scripts)

Quote integrity: every quote independently verified by fresh-eyes subagents
against the cached sources; fixed a reformatted Schulman slide, a truncated
Jones sentence, a reversed-order Rahtz stitch, a falsely-quoted Slavv phrase,
and the 3e-4 line (now the real tweet, framed as the joke Karpathy confirmed
it was, not gospel). lr_scheduler anti-pattern nuanced (warmup/cyclic matter).

Remove superseded SKILL2.md draft.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-06-02 20:46:25 +08:00
wassname c9c53f8e7f feat(ml_debug): expand nanochat evidence, add lec4 diagnostics file
nanochat_deepwiki_llm_pretraining_2026.md rewritten with content from
dev/LOG.md and deepwiki sections 3/12/13:
- 14 labelled findings with direct quotes and empirical numbers
- Dataset >> architecture (27% gain, 5 failed attempts before ClimbMix)
- Scale-dependent HP sensitivity (d12 HPs hurt d20)
- Multi-axis validation (steps/wall-clock/FLOPs)
- Negative results: MoE/SwiGLU/MTP all failed at this scale
- MFU monitoring, batch size Bopt∝D^0.383, WD∝1/width² tables
- FP8 reality: 1.38x micro → 1.17x full → 5% capability-matched
- Python GC 500ms overhead, torch.compile recompile gotcha

karpathy_nn_zero_to_hero_lec4_diagnostics.md: new evidence file
- Activation saturation check (tanh >0.97)
- Gradient distribution check per-layer
- Grad:data ratio (target ~1e-3)
- Update-to-data ratio tracker with full plotting code
- Incremental improvement log from notebook
2026-03-10 05:38:33 +08:00
wassname ced4edc200 feat(ml_debug): add Karpathy recipe + nanochat evidence, update-ratio diagnostic
Add 3 new evidence files from modern open-source sources:
- karpathy_recipe_training_nn_2019.md: Karpathy's training recipe blog post
- nanochat_deepwiki_llm_pretraining_2026.md: 320+ HP sweeps for GPT-2-scale pretraining
- sanh_simple_considerations_hf_2021.md: HuggingFace NLP debugging notes

Add update-to-data ratio diagnostic to refs/diagnostics.md (target ~1e-3).
Add LLM pretraining gap note to SKILL.md intro linking the new sources.
Add tanh saturation % to logging checklist.
2026-03-10 05:32:37 +08:00
wassname bbe3fe0985 feat(ml_debug): add JAX grep patterns and diagnostic equivalents
refs/static_analysis.md: JAX-specific grep patterns (in-place mutation,
print side effects, key reuse, numpy escape, cast behavior).
refs/diagnostics.md: JAX equivalents table (NaN detection, gradcheck,
disable_jit, debug.print, debug.breakpoint, checkify).
2026-03-06 14:10:39 +08:00
wassname 7ac7aacac7 fix(ml_debug): address review feedback
- Fix stale Part 2 cross-references to link to rl/SKILL.md
- Add McCandlish + Slavv back to parent Sources (cited in Part 7)
- Add back-links from refs/ files to parent SKILL.md
2026-03-06 13:59:48 +08:00
wassname 70c28f06ac refactor(ml_debug): extract grep patterns and diagnostics to refs/
Moved 6.1 (static analysis grep patterns) and 6.2 (diagnostic code
snippets) to refs/static_analysis.md and refs/diagnostics.md.
Triage tree (6.3) stays in main with references to the ref files.
ml_debug/SKILL.md reduced from 7229w to 5093w (~30% from original).
2026-03-06 13:54:37 +08:00