@hmharness/cli 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +2 -2
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -1137,8 +1137,8 @@ flags:
1137
1137
  return;
1138
1138
  }
1139
1139
  const trainRows = rows.filter((r) => r.split !== 'eval').slice(0, maxPairs);
1140
- const evalRows = rows.filter((r) => r.split === 'eval');
1141
- stdout.write('偏好对:' + rows.length + (trainRows.length < rows.filter((r) => r.split !== 'eval').length ? DIM('(本次训练用前 ' + maxPairs + ' 条控制成本)') : '') + '(train ' + trainRows.length + ' / eval ' + evalRows.length + ')\n');
1140
+ const evalRows = rows.filter((r) => r.split === 'eval').slice(0, 1000); // validation loss needs a sample, not the whole set
1141
+ stdout.write('偏好对:' + rows.length + (trainRows.length < rows.filter((r) => r.split !== 'eval').length ? DIM('(本次训练用前 ' + maxPairs + ' 条控制成本)') : '') + '(train ' + trainRows.length + ' / eval ' + evalRows.length + (evalRows.length < rows.filter((r) => r.split === 'eval').length ? DIM('(抽样 1000)') : '') + ')\n');
1142
1142
  const trainJsonl = CF.toDpoJsonl(trainRows);
1143
1143
  const evalJsonl = CF.toDpoJsonl(evalRows);
1144
1144
  stdout.write('本地预估 token:train ~' + CF.estimateTokens(trainJsonl).toLocaleString() + ' / eval ~' + CF.estimateTokens(evalJsonl).toLocaleString() + DIM('(上传后以官方分词统计为准)') + '\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmharness/cli",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@hmharness/kernel": "0.9.6",
47
47
  "@hmharness/observability": "0.7.4",
48
- "@hmharness/evolution": "0.14.23",
48
+ "@hmharness/evolution": "0.14.24",
49
49
  "@hmharness/domain-harmony": "0.13.8",
50
50
  "@hmharness/domain-ops": "0.8.3",
51
51
  "@hmharness/agent": "0.14.18",