kissin42 commited on
Commit
8a23edf
·
verified ·
1 Parent(s): 0455636

Show supported environments before bundle format

Browse files

Present available models and benchmark results before explaining the artifact layout, while retaining the folded reproduction workflow.

Files changed (1) hide show
  1. README.md +35 -35
README.md CHANGED
@@ -93,41 +93,6 @@ shipping:
93
  - [Bundle gate](https://github.com/ccnets-team/causal-gpt-rl/blob/main/unity/com.ccnets.causal-gpt-rl/Documentation~/bundle-gate.md)
94
  - [Contract boundaries](https://github.com/ccnets-team/causal-gpt-rl/blob/main/unity/com.ccnets.causal-gpt-rl/Documentation~/contract-boundaries.md)
95
 
96
- ### Bundle Format
97
-
98
- For Unity deployment, keep each ONNX model paired with the `config.json` used to
99
- export it:
100
-
101
- ```text
102
- environment/
103
- config.json
104
- policy-b<batch>-ctx<context>.onnx
105
- ```
106
-
107
- - `.onnx` is the model Unity loads through Inference Engine.
108
- - `config.json` declares state/action sizes, normalization, context, serving
109
- metadata, and the bundle capabilities checked by the runtime.
110
- - Batch size and context length are fixed properties of an ONNX export.
111
- - Each batch row needs its own temporal context and represents an independent
112
- policy invocation; rows do not attend to one another.
113
- - `model.safetensors` is retained for Python evaluation and re-export. Unity does
114
- not load it directly.
115
-
116
- Published Unity artifacts:
117
-
118
- | Bundle | ONNX files | Context lengths |
119
- |---|---|---|
120
- | `crawler` | `crawler-b10-ctx*.onnx` | 16 / 32 / 64 |
121
- | `dungeon-escape` | `dungeonescape-b36-ctx*.onnx` | 16 / 32 |
122
- | `pushblock` | `pushblock-b32-ctx*.onnx` | 16 / 32 / 64 |
123
- | `pyramids` | `pyramids-b16-ctx*.onnx` | 16 / 32 / 64 |
124
- | `soccer-twos` | `soccertwos-b16-ctx*.onnx` | 16 / 32 / 64 |
125
-
126
- Choose an ONNX context variant from the `Supported Environments` tables below
127
- and the latency budget of the game. For the general context-retention model,
128
- KV-cache behavior, training framework, and Python API, see the main
129
- [`causal-gpt-rl`](https://huggingface.co/ccnets/causal-gpt-rl) model card.
130
-
131
  ## Supported Environments
132
 
133
  Results use each environment's primary metric. `ctx=16/32/64` is the retained
@@ -165,6 +130,41 @@ Stock values are release-23 reference landmarks. They are not paired confidence
165
  tests against every context result above. See the companion repositories for the
166
  matching builds, stock policies, schemas, and data provenance.
167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  <details>
169
  <summary><strong>Benchmark reproduction (optional)</strong></summary>
170
 
 
93
  - [Bundle gate](https://github.com/ccnets-team/causal-gpt-rl/blob/main/unity/com.ccnets.causal-gpt-rl/Documentation~/bundle-gate.md)
94
  - [Contract boundaries](https://github.com/ccnets-team/causal-gpt-rl/blob/main/unity/com.ccnets.causal-gpt-rl/Documentation~/contract-boundaries.md)
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  ## Supported Environments
97
 
98
  Results use each environment's primary metric. `ctx=16/32/64` is the retained
 
130
  tests against every context result above. See the companion repositories for the
131
  matching builds, stock policies, schemas, and data provenance.
132
 
133
+ ## Bundle Format
134
+
135
+ For Unity deployment, keep each ONNX model paired with the `config.json` used to
136
+ export it:
137
+
138
+ ```text
139
+ environment/
140
+ config.json
141
+ policy-b<batch>-ctx<context>.onnx
142
+ ```
143
+
144
+ - `.onnx` is the model Unity loads through Inference Engine.
145
+ - `config.json` declares state/action sizes, normalization, context, serving
146
+ metadata, and the bundle capabilities checked by the runtime.
147
+ - Batch size and context length are fixed properties of an ONNX export.
148
+ - Each batch row needs its own temporal context and represents an independent
149
+ policy invocation; rows do not attend to one another.
150
+ - `model.safetensors` is retained for Python evaluation and re-export. Unity does
151
+ not load it directly.
152
+
153
+ Published Unity artifacts:
154
+
155
+ | Bundle | ONNX files | Context lengths |
156
+ |---|---|---|
157
+ | `crawler` | `crawler-b10-ctx*.onnx` | 16 / 32 / 64 |
158
+ | `dungeon-escape` | `dungeonescape-b36-ctx*.onnx` | 16 / 32 |
159
+ | `pushblock` | `pushblock-b32-ctx*.onnx` | 16 / 32 / 64 |
160
+ | `pyramids` | `pyramids-b16-ctx*.onnx` | 16 / 32 / 64 |
161
+ | `soccer-twos` | `soccertwos-b16-ctx*.onnx` | 16 / 32 / 64 |
162
+
163
+ Choose an ONNX context variant from the `Supported Environments` tables above
164
+ and the latency budget of the game. For the general context-retention model,
165
+ KV-cache behavior, training framework, and Python API, see the main
166
+ [`causal-gpt-rl`](https://huggingface.co/ccnets/causal-gpt-rl) model card.
167
+
168
  <details>
169
  <summary><strong>Benchmark reproduction (optional)</strong></summary>
170