Tooluck logoTooluck
SKILL.md

ml-training-recipes

Agent skill fromOpenRaiser/NanoResearch

Battle-tested PyTorch training recipes for all domains — LLMs, vision, diffusion, medical imaging, protein/drug discovery, spatial omics, genomics. Covers training loops, optimizer selection (AdamW, Muon), LR scheduling, mixed precision, debugging, and systematic experimentation. Use when training or fine-tuning neural networks, debugging loss spikes or OOM, choosing architectures, or optimizing GPU throughput.

How to install ml-training-recipes

install ml-training-recipes
# install the NanoResearch pack with the skills CLI
npx skills add OpenRaiser/NanoResearch

# or add only this skill to Claude Code: copy the folder

skills/vendor-ai-research/ml-training-recipes/

# into

~/.claude/skills/ml-training-recipes/ (all projects)

.claude/skills/ml-training-recipes/ (one project)

skills/vendor-ai-research/ml-training-recipes/SKILL.md

MITFull file
1# ML Training Recipes
2
3Battle-tested patterns for PyTorch training across domains. Drawn from production codebases
4(Karpathy's autoresearch/nanochat, torchvision, HuggingFace) and modern training practice.
5
6## Reference files (read when needed)
7
8- `references/architecture.md` — Transformer/LLM architecture code patterns, weight init
9- `references/optimizers.md` — Muon, AdamW hybrid, per-group LR, compiled optimizer steps
10- `references/domain-specific.md` — Vision, diffusion, contrastive, distributed, checkpointing, data loading
11- `references/scaling-and-selection.md` — Scaling laws, compute budget tables, decision trees, DGX Spark
12- `references/biomedical.md` — Drug discovery, protein models, medical imaging, genomics, clinical NLP
13- `references/experiment-loop.md` — Autonomous experiment loop (autoresearch keep/discard/revert)
14
15---
16
17## Architecture Selection
18
19Pick the right model by **data type** and **data scale**:
20
21| Data Type | < 10K samples | 10K-100K | > 100K |
22|-----------|--------------|----------|--------|
23| **Images** | Pretrained CNN + fine-tune | Fine-tune ViT or CNN | ViT from scratch |
24| **Text (gen)** | Few-shot prompting | Fine-tune GPT/LLaMA (LoRA) | Pretrain from scratch |
25| **Tabular** | XGBoost/LightGBM | Still XGBoost | Neural viable |
26| **Audio** | Pretrained Whisper | Fine-tune AST | Train from scratch |
27| **Molecules** | Pretrained GNN | Fine-tune molecular LM | Train GNN from scratch |
28…

Excerpt shown under the repository's MIT license.

More skills in NanoResearch

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates