Record multiplayer teacher jobs and completed specialist baselines

This commit is contained in:
coyotte508 2026-09-30 19:10:28 +02:00
commit f318df73ef
3 changed files with 191 additions and 8 deletions

View file

@ -91,7 +91,12 @@
"specialists-rush-screen": "6abd39e2404719ba37613c5c",
"specialists-legacy-screen": "6abd39e3fbc85ba68235be7c",
"specialists-frozen-a260-screen": "6abd39e4404719ba37613c5e",
"multiplayer-pipeline-v1": "6abd41d2404719ba37613e0f"
"multiplayer-pipeline-v1": "6abd41d2404719ba37613e0f",
"multiplayer-teacher-v1-0": "6abd4258404719ba37613e1d",
"multiplayer-teacher-v1-1": "6abd4259404719ba37613e1f",
"multiplayer-teacher-v1-2": "6abd4259fbc85ba68235c124",
"multiplayer-teacher-v1-3": "6abd425a404719ba37613e21",
"multiplayer-teacher-v1-4": "6abd425b404719ba37613e23"
},
"cancelled_while_queued": [
"6abd128efbc85ba68235b1a6",
@ -209,5 +214,157 @@
"envs": 120,
"opponent_mode": "mixed_search",
"status": "submitted; no strength claim"
},
"multiplayer_teacher": {
"source_archive": "strong-source-v17.tgz",
"source_revision": "36c3d6b2f8545bd3551fc571a8cb6cb45a8f88b1",
"feature_revision": "4.0-multiplayer",
"games_per_count": 240,
"players": [
2,
3,
4,
5,
6
],
"samples": 16,
"geography": true,
"all_phases": true,
"status": "submitted",
"validation_split_requirement": "Use deterministic seed hash or stratification; id modulo 5 confounds seat/rules at five players."
},
"specialists_remaining_results": {
"specialists-legacy-screen": {
"games": 480,
"win_rate": 0.9458333333333333,
"truncated": 0,
"by_rules": [
{
"variant": "original",
"sealed": false,
"games": 120,
"win_rate": 0.9083333333333333,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.85,
0.9583333333333334
]
},
{
"variant": "original",
"sealed": true,
"games": 120,
"win_rate": 0.95,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.9,
0.9916666666666667
]
},
{
"variant": "recharged",
"sealed": false,
"games": 120,
"win_rate": 0.95,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.9,
0.9916666666666667
]
},
{
"variant": "recharged",
"sealed": true,
"games": 120,
"win_rate": 0.975,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.9416666666666667,
1.0
]
}
],
"seed_bootstrap_95_interval": [
0.925,
0.9666666666666667
],
"search_stats": {
"learner": {
"decisions": 5488,
"evaluations": 1343472,
"truncated": 0
}
}
},
"specialists-frozen-a260-screen": {
"games": 480,
"win_rate": 0.4666666666666667,
"truncated": 0,
"by_rules": [
{
"variant": "original",
"sealed": false,
"games": 120,
"win_rate": 0.425,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.3416666666666667,
0.5166666666666667
]
},
{
"variant": "original",
"sealed": true,
"games": 120,
"win_rate": 0.36666666666666664,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.2833333333333333,
0.45
]
},
{
"variant": "recharged",
"sealed": false,
"games": 120,
"win_rate": 0.4666666666666667,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.38333333333333336,
0.5583333333333333
]
},
{
"variant": "recharged",
"sealed": true,
"games": 120,
"win_rate": 0.6083333333333333,
"independent_seeds": 40,
"truncated": 0,
"seed_bootstrap_95_interval": [
0.5083333333333333,
0.7
]
}
],
"seed_bootstrap_95_interval": [
0.42291666666666666,
0.5083333333333333
],
"search_stats": {
"learner": {
"decisions": 4564,
"evaluations": 1136640,
"truncated": 0
}
}
}
}
}

View file

@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
players=${1:?Specify player count 2–6}
[[ "$players" =~ ^[2-6]$ ]]
shard=$((players - 2))
[[ "$shard" =~ ^[0-9]+$ ]]
hf jobs run --detach --flavor cpu-performance --timeout 3h \
--secrets HF_TOKEN \
--env HF_DATA_REPO=coyotte508/powergrid-ai-training-v1 \
--env SHARD="$shard" --env GAMES=240 --env DATA_WORKERS=24 --env SEARCH_SAMPLES=16 --env GEOGRAPHY=1 --env FEATURE_REVISION=4.0-multiplayer --env PLAYER_COUNT="$players" --env DATA_VERSION=multiplayer-teacher-v1 --env INCLUDE_ALL_PHASES=1 \
--label project=powergrid-ai --label stage="multiplayer-teacher-v1-$shard" \
-- pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime bash -lc '
set -euo pipefail
python -m pip install --quiet --timeout 120 --retries 5 huggingface_hub==2.0.0
mkdir -p /workspace
python -c "import urllib.request,tarfile; urllib.request.urlretrieve(\"https://nodejs.org/dist/v24.14.0/node-v24.14.0-linux-x64.tar.xz\",\"/tmp/node.tar.xz\");tarfile.open(\"/tmp/node.tar.xz\").extractall(\"/opt\")"
export PATH=/opt/node-v24.14.0-linux-x64/bin:$PATH
python -c "from huggingface_hub import hf_hub_download;import tarfile;p=hf_hub_download(\"coyotte508/powergrid-ai-training-v1\",\"strong-source-v17.tgz\",repo_type=\"dataset\",revision=\"36c3d6b2f8545bd3551fc571a8cb6cb45a8f88b1\");tarfile.open(p).extractall(\"/workspace\")"
cd /workspace
node --test ai/test.cjs ai/strong/test.cjs
python -u ai/strong/generate-search-data.py
'

View file

@ -1,5 +1,5 @@
{
"status": "implementation; not trained or strength-qualified",
"status": "HF pipeline training and teacher jobs launched; not strength-qualified",
"feature_revision": "4.0-multiplayer",
"scope": {
"map": "Germany",
@ -31,14 +31,18 @@
"complete_games": 20,
"encoded_decisions": 9363,
"hidden_information_invariance": true,
"cpu_model_forward_all_counts": true
"cpu_model_forward_all_counts": true,
"training_protocol_complete_games": 80,
"initial_hf_evaluation_games": 640,
"initial_hf_evaluation_truncated": 0
},
"pending": [
"Generalize bridge seat rotation, roles, terminal vectors and episode cap without changing schema 3 behavior",
"Generalize PPO value targets and league checkpoint routing",
"Balanced HF teacher generation and HF training across counts and rules",
"Count-specific paired held-out evaluation and strength gates; old three-player final protocol is insufficient",
"ONNX export and AMD 8840U benchmark across all supported counts"
"Complete short HF pipeline run; verify checkpoint export and per-count learning stability",
"Collect and validate 1200 HF search-teacher games; use a seed-hash validation split",
"Generalize independent arena, distillation and serving tools to schema 4",
"Train search-distilled initialization and refine against strong opponents/self-play on HF",
"Count-specific held-out strength gates; old three-player final protocol is insufficient",
"ONNX parity and AMD 8840U benchmark across all supported counts"
],
"preserved_baseline": "Schema 3 encoders and three-player checkpoint architecture unchanged; final seeds remain unused"
}