Echo Memory Train
Agent Buildingecho-memory-trainEcho Memory Train is an Agent Skill for agent building published in the Echo-Team-Joy-Future-Academy-JD/Echo-Memory repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run Echo-Memory memory-baseline and context training recipes on Wan 2.1 1.3B. Use when training spatial/SSM/compression/context rows, editing train/*.sh launchers, or configuring DATASET_BASE_PATH for static or dynamic pools.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Echo-Team-Joy-Future-Academy-JD/Echo-Memory/blob/HEAD/.cursor/skills/echo-memory-train/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/echo-memory-train, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Echo-Memory training
Required env (repo root)
export WAN_BASE_MODEL=/path/to/Wan2.1-T2V-1.3B
export DATASET_BASE_PATH=data/Context-as-Memory-Dataset # static in-domain pool
export PYTHONPATH=$PWD:${PYTHONPATH:-}
export OUTPUT_BASE_ROOT=$PWD/outputs
- Static in-domain pool — default
data/Context-as-Memory-Dataset; seedoc/dataset_preprocessing.md - Dynamic training pool — e.g.
data/dynamic-memory-dataset; seedoc/dynamic_dataset_preprocessing.md
Entry scripts
| Family | Directory | Example |
|---|---|---|
| Spatial / SSM / compression | train/memory_baselines_basic/ | run_spatial_memory_baseline.sh, run_ablation_block_wise_ssm_two_chunk.sh |
| Context K=1/5/20 | train/context_learning/ | run_pre_qkv_ctx1.sh, run_pre_qkv_ctx20.sh |
Run from repository root: bash train/memory_baselines_basic/run_spatial_memory_baseline.sh
Shared env: train/_shared/common_env_memory.sh — no private paths baked in.
Agent checklist
- Confirm which memory row (paper family + row id) the user wants.
- Set
DATASET_BASE_PATHto the correct training pool name in docs (Echo terms only in public markdown). - Prefer editing existing
run_*.shpatterns over new one-off Python entrypoints. - Outputs go to
outputs/unlessOUTPUT_BASE_ROOTis set. - Do not commit
data/,outputs/, checkpoints, or machine-local paths.
Docs
train/README.md— launcher indextrain/memory_baselines_basic/README.md— ablation set