ml-research-lab
Machine-learning research loop for dataset curation, fine-tuning, evaluation, inference deployment, experiment tracking, and model explainability. Use when working on ML experiments, training data, model benchmarks, RunPod/GPU runs, classifier quality, vLLM/GGUF serving, SHAP-style model explanations, or research-to-code iterations. Do not use for a simple code edit that has no ML dataset, metric, model, or experiment artifact.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 214
- Forks
- 32
01 前言 Front Matter
- name
- ml-research-lab
- description
- Machine-learning research loop for dataset curation, fine-tuning, evaluation, inference deployment, experiment tracking, and model explainability. Use when working on ML experiments, training data, model benchmarks, RunPod/GPU runs, classifier quality, vLLM/GGUF serving, SHAP-style model explanations, or research-to-code iterations. Do not use for a simple code edit that has no ML dataset, metric, model, or experiment artifact.
03 SKILL.md 正文
ML Research Lab
Use this skill as the compact router for ML work. It is derived from an audit of
synthetic-sciences/openscience at commit 531467c, but does not require running
OpenScience or loading its full 250+ skill set.
Operating Loop
- Freeze the question as a measurable hypothesis.
- Identify dataset provenance, labels, splits, leakage risks, and regeneration cost.
- Pick the smallest baseline that can disprove the idea.
- Define metrics before training. For release claims, require train/val/test split, no test-set model selection, and multi-seed proof when cost permits.
- Run or wire experiment tracking before long jobs start.
- Save artifacts: config, command, data manifest, metrics JSON/CSV, logs, model hash, and a short conclusion.
- Compare against baseline, then keep/discard the change from evidence.
Domain Routing
- Dataset or scrape cleanup: start from data quality, deduplication, leakage checks, train/eval splits, and regeneration notes.
- Classical classifier or tabular baseline: use scikit-learn-style pipelines with preprocessing inside the pipeline and stratified splits for classification.
- Model debugging or trust: add SHAP/explainability for feature importance, leakage, bias/proxy features, and misclassified samples.
- LLM fine-tuning: prefer JSONL chat format, data validation, LoRA/QLoRA baseline, and tracked runs before scaling.
- Single-GPU fast LoRA/QLoRA: consider Unsloth only after checking hardware, CUDA, model support, and export target.
- Large or production inference: use vLLM for high-throughput GPU serving, GGUF or llama.cpp for local/Apple/CPU-friendly deployment, and TensorRT-LLM only when the NVIDIA production optimization cost is justified.
- Research write-up: report method, dataset, exact metric formula, baseline source, limitations, and failure cases.
Verification Gates
- Data gate: schema valid, duplicates/leakage checked, split manifest saved.
- Metric gate: exact metric formula named; if benchmarked, original baseline source and benchmark code checked.
- Runtime gate: command/log path and environment captured; GPU memory and errors checked for long runs.
- Tracking gate: metrics are retrievable as JSON/CSV or a dashboard link plus local export.
- Deployment gate: latency, throughput, memory, and OOM behavior measured before claiming production readiness.
Adoption Boundary
Do not import broad external skill collections wholesale. Use the inventory script
${CLAUDE_PLUGIN_ROOT}/scripts/openscience_skill_inventory.py to rank candidates, inspect the relevant
source skill manually, then promote only compact workflows or deterministic scripts
that improve our own tests.
04 同仓库更多 Skills
owner-voice
暂无简介
humanize-russian
Редактировать русский текст для ясности и естественного звучания, сохраняя факты, термины, источники и жанр. Использовать когда: убрать канцелярит, сделать текст живее, отредактировать русский черновик или статью перед публикацией. Не определяет авторство и не обещает обход детекторов. Для английского — humanize-english; для структуры и доказательств — article-structure-review.
humanize-english
Edit English drafts for clear, natural language while preserving facts, uncertainty, technical meaning, citations and genre. Use when: humanize this text, remove AI-style filler, improve English prose, or edit an English article before publication. Not an authorship detector or a promise to bypass one. For Russian use humanize-russian; for thesis/evidence and structure use article-structure-review.
caveman
Ultra-compressed reply mode. Cuts output tokens ~65-75% by answering in terse "caveman" style while keeping full technical accuracy, and shapes what survives: action first, state restated every turn, concrete time estimates, visible wins. Intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman", "talk like caveman", "use caveman", "less tokens", "be brief", or Russian "пещерный режим", "говори как пещерный", "кратко", "меньше токенов", "экономь токены" — or invokes /caveman. Preserves the user's language (Russian in → Russian caveman out). Off only: "stop caveman" / "normal mode" / "обычный режим". Do not use merely because a response should be concise, and do not use when the user requests normal prose, a polished document, or exact wording.
article-structure-review
Проверить структуру технической статьи после черновика: задача читателя, жанр, опора значимых утверждений на доказательства и честные ограничения. Use after the first draft, before publication. Исправлять структуру, когда это входит в запрос; не создавать обязательный конвейер из других навыков. Для локальной языковой редактуры — humanize-english или humanize-russian.
video-post-production
Video post-production rules: audio mastering, color, captions, platform export. Use when: 'add music', 'add voiceover', 'export for tiktok', 'add captions', 'color grade', 'audio levels', 'master audio', 'export settings', 'platform requirements'. Covers FFmpeg patterns, audio chain, subtitle standards, and platform-specific export configs. Do NOT use to generate or animate the video frames/scenes in code (use remotion-production-guide), to write the script (use video-narrative-arc), or to evaluate script quality (use script-evaluator); this is the finishing stage applied to an already-rendered video.