‹ 首页

nanoresearch-experiment

@openraiser · 收录于 1 周前 · 上游提交 1 个月前

Generate a Python code skeleton from an experiment blueprint

适合你,如果你需要快速将实验方案转为可运行的 Python 代码

/ 下载安装
nanoresearch-experiment.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add openraiser/nanoresearch/nanoresearch-experiment
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- openraiser/nanoresearch/nanoresearch-experiment
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify openraiser/nanoresearch/nanoresearch-experiment
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1491GitHub stars
~320上下文体积 · 单文件
镜像托管

怎么用

商店整理自技能原文 · 版本 7144364 · 表述以原文为准
它做什么

根据实验蓝图自动生成可运行的 Python 代码骨架,包括数据加载、模型、训练、评估和配置。

什么时候触发

当提供实验蓝图文件(papers/experiment_blueprint.json)时触发。

装好后可以这样说
生成完整项目结构。
生成训练和评估模块。
技能原文 SKILL.md作者撰写 · MIT · 7144364

Experiment Skill

Purpose

Take the experiment blueprint and produce a runnable Python code skeleton that implements the proposed method, baselines, training loops, evaluation harness, and ablation configurations.

Tools Required

None. This skill operates entirely through LLM code generation based on the experiment blueprint.

Input
  • experiment_blueprint: Path to papers/experiment_blueprint.json produced by the planning skill
Process
  1. Parse the experiment blueprint for datasets, baselines, metrics, and ablation groups
  2. Generate the project directory structure (data loaders, models, training, evaluation, configs)
  3. Produce data loading and preprocessing code for each specified dataset
  4. Implement model architecture stubs for the proposed method and each baseline
  5. Generate training loop with logging, checkpointing, and early stopping
  6. Implement the evaluation harness computing all specified metrics
  7. Create configuration files for each ablation group
  8. Add a main entry point that accepts a config and runs the full train-evaluate pipeline
Output

Produces experiments/ directory containing:

  • data/: Data loading and preprocessing modules
  • models/: Model architecture implementations (proposed method and baselines)
  • training/: Training loop and optimization utilities
  • evaluation/: Metric computation and result aggregation
  • configs/: YAML configuration files for each experiment and ablation variant
  • run.py: Main entry point for launching experiments
  • requirements.txt: Python dependencies
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。