tianxuan / scripts /run_training.ps1
masterofthestars's picture
Tianxuan: full project + data (checkpoints, world_model, data without raw) with correct directory structure
db7bc06
Raw History Blame Contribute Delete
815 Bytes
# 天玄训练脚本 - 使用清理后的语料重新训练
$env:NODE_ENV = "production"
Set-Location "C:\Users\l1064\.openclaw\workspace\tianxuan"
Write-Host "=== 天玄多神经协同模型训练 ===" -ForegroundColor Cyan
Write-Host "语料大小: 8,005,874 字符 (已清理)" -ForegroundColor Yellow
Write-Host "词表大小: 54 个纯中文字符" -ForegroundColor Yellow
Write-Host ""
# 清除旧检查点
Write-Host "清除旧检查点..." -ForegroundColor Gray
Remove-Item "data/checkpoints/*" -ErrorAction SilentlyContinue
Write-Host "开始训练..." -ForegroundColor Green
Write-Host "命令: node sandbox/dist/ml/train.js --epochs 10 --lr 0.001"
Write-Host ""
node sandbox/dist/ml/train.js --epochs 10 --lr 0.001 --attn 1 --moe 1 --titans 1 --prediction 1 --replay 1 --dopamine 1 --stdp 1 --stda 1