neural-training

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Neural Training Skill

神经训练Skill

Purpose

用途

Train and optimize neural patterns using SONA, MoE, and EWC++ systems.
使用SONA、MoE和EWC++系统训练并优化神经模式。

When to Trigger

触发时机

  • Training new patterns
  • Optimizing agent routing
  • Knowledge consolidation
  • Pattern recognition tasks
  • 训练新模式
  • 优化Agent路由
  • 知识巩固
  • 模式识别任务

Intelligence Pipeline

智能流程

  1. RETRIEVE — Fetch relevant patterns via HNSW (150x-12,500x faster)
  2. JUDGE — Evaluate with verdicts (success$failure)
  3. DISTILL — Extract key learnings via LoRA
  4. CONSOLIDATE — Prevent catastrophic forgetting via EWC++
  1. 检索(RETRIEVE) — 通过HNSW获取相关模式(速度提升150倍-12500倍)
  2. 判断(JUDGE) — 通过结果(成功/失败)进行评估
  3. 提炼(DISTILL) — 通过LoRA提取关键知识
  4. 巩固(CONSOLIDATE) — 通过EWC++防止灾难性遗忘

Components

组件

ComponentPurposePerformance
SONASelf-optimizing adaptation<0.05ms
MoEExpert routing8 experts
HNSWPattern search150x-12,500x
EWC++Prevent forgettingContinuous
Flash AttentionSpeed2.49x-7.47x
组件用途性能
SONA自优化适配<0.05ms
MoE专家路由8个专家
HNSW模式搜索150倍-12500倍
EWC++防止遗忘持续生效
Flash Attention加速2.49倍-7.47倍

Commands

命令

Train Patterns

训练模式

bash
npx claude-flow neural train --model-type moe --epochs 10
bash
npx claude-flow neural train --model-type moe --epochs 10

Check Status

检查状态

bash
npx claude-flow neural status
bash
npx claude-flow neural status

View Patterns

查看模式

bash
npx claude-flow neural patterns --type all
bash
npx claude-flow neural patterns --type all

Predict

预测

bash
npx claude-flow neural predict --input "task description"
bash
npx claude-flow neural predict --input "task description"

Optimize

优化

bash
npx claude-flow neural optimize --target latency
bash
npx claude-flow neural optimize --target latency

Best Practices

最佳实践

  1. Use pretrain hook for batch learning
  2. Store successful patterns after completion
  3. Consolidate regularly to prevent forgetting
  4. Route based on task complexity
  1. 使用预训练钩子进行批量学习
  2. 训练完成后保存成功的模式
  3. 定期巩固以防止遗忘
  4. 根据任务复杂度进行路由