Commit Graph

6 Commits

Author SHA1 Message Date
dog
9e529d3951 docs: record empirical rejection of Heun sampling in spec
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 18:10:49 +08:00
dog
12d70fe137 docs: implementation plan for mouse post-processing rework
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 17:16:20 +08:00
dog
3e7a194356 docs: spec for mouse post-processing rework + Heun sampling
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 17:11:07 +08:00
8003ae657a docs: implementation plan for ai_mouse library refactor
Expands the 2026-05-11 design spec into ~40 bite-sized tasks across 6
phases (pre-flight golden capture, tools/ extraction, src layout switch,
ONNX export, NumPy/ORT rewrite, docs cleanup). Each task is self-contained
with full code blocks, exact file paths, and verification commands. TDD
where applicable; pure-move tasks use shorter scaffolding.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 00:01:37 +08:00
74d6c5c7ff docs: design spec for ai_mouse library refactor (ONNX + src-layout)
Captures the decisions made in brainstorming for 0.2.0:
- Split src/ai_mouse/ (pure-inference, numpy+onnxruntime only) from
  tools/ (training/server/eval, torch+fastapi+...)
- Bundled ONNX weights via importlib.resources
- Public API: MouseModel/ScrollModel classes + cached generate() helpers
- ONNX export script with PyTorch parity check
- Golden tests to lock semantics during NumPy rewrite of post-processing
- 5-stage migration plan, git URL install, no PyPI

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 23:40:21 +08:00
4d414fd180 chore: initialize git repo, add matplotlib dep, extend config
- Add .gitignore for Python/data/models
- Add matplotlib>=3.8.0 for eval plots
- Add PretrainConfig, FinetuneConfig, BalabitAdapterConfig, EvalConfig dataclasses
2026-05-10 12:24:07 +08:00