Egonetics Evolution Layer — autonomous LLM training experiments.
karpathy autoresearch style: single-file, agent-editable, fixed time budget, metric-driven keep/discard.
Three files:
| File | Edited by | Purpose |
|---|---|---|
prepare.py |
Human (fixed) | Training data generation via SEAI |
train.py |
Agent | Model architecture + training loop (GPT + MoE) |
mini_dsv4.py |
Agent | Mini DeepSeek-V4 architecture (MLA + MoE) |
Calls SEAI for data preparation:
/Users/Shared/SubjectiveEgoneticsAI/
| 脚本 | 环境 | 命令 |
|---|---|---|
train.py / mini_dsv4.py |
本仓 .venv(Python 3.11 + torch) |
source .venv/bin/activate 后用 python … |
prepare.py |
~/llama-factory/venv(SEAI 同款) |
./scripts/run-prepare.sh --exp-id <id> |
首次建训练环境:
cd /Users/Shared/egonetics-evolution
python3.11 -m venv .venv && .venv/bin/pip install "torch>=2.5"Cursor 解释器选 egonetics-evolution/.venv。详见 project_config.md。
source .venv/bin/activate
python mini_dsv4.py --scale tiny # ~25M params, quick test
python mini_dsv4.py --scale small # ~150M params, trainable locally
python mini_dsv4.py --scale medium # ~500M params
python mini_dsv4.py --scale base # ~850M params, vs Qwen2.5-0.8BDriven by TypeScript experiment-runner.ts via seai-bridge.ts:
./scripts/run-prepare.sh --exp-id <id>— generates training data (SEAI)train.py --exp-id <id>ormini_dsv4.py --exp-id <id>— runs training (.venv)- Parses val_loss from stdout JSON
- Keeps or discards based on metric improvement
The PRD-driven Evolution ecosystem runtime lives in ecosystem-runtime/. It is a Go runtime that reuses the standalone P/R/V/S CFL projects and preserves the corrected 2026-05-17/18 PRD semantics: open tasks, non-exclusive claims, independent seed runtimes, free communication, V-owned evaluation dimensions, and user resource injection rather than user payment.
See CHRONICLE.md and ecosystem-runtime/README.md for the Chronicle ↔ Git handoff record.