Image-Text-to-Text
Transformers
Safetensors
kimi_k31
text-generation
mixture-of-experts
expert-upcycling
scientific-ai
chip-design
space
physics
s-t-a-r
custom_code
8-bit precision
Instructions to use STAR-future/Trinity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use STAR-future/Trinity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="STAR-future/Trinity", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("STAR-future/Trinity", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use STAR-future/Trinity with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "STAR-future/Trinity" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/STAR-future/Trinity
- SGLang
How to use STAR-future/Trinity with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "STAR-future/Trinity" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "STAR-future/Trinity" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use STAR-future/Trinity with Docker Model Runner:
docker model run hf.co/STAR-future/Trinity
Commit ·
f80e81a
0
Parent(s):
Trinity: public release (history squashed)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +36 -0
- LICENSE +52 -0
- README.md +96 -0
- config.json +330 -0
- configuration_kimi_k3.py +277 -0
- encoding_k3.py +735 -0
- eval/data/LICENCE_AUDIT.json +17 -0
- eval/data/MANIFEST.json +45 -0
- eval/data/train_corpus_v1.jsonl +0 -0
- eval/data/train_corpus_v2.jsonl +0 -0
- eval/data/train_corpus_v2b.jsonl +0 -0
- eval/finalize_report_2026-11-23.json +13 -0
- eval/h2a/N1_train_record.json +108 -0
- eval/h2a/N2_train_record.json +108 -0
- eval/h2a/selection.json +25 -0
- eval/h2b/U1_train_record.json +85 -0
- eval/h2b/U2_experts.pt +3 -0
- eval/h2b/U2_train_record.json +85 -0
- eval/h2b/dev_verdict_h2b.json +73 -0
- eval/h2b/dev_verdict_h2b.raw.npz +3 -0
- eval/h2b/selection.json +29 -0
- eval/h2c/C1_train_record.json +136 -0
- eval/h2c/C2_experts.pt +3 -0
- eval/h2c/C2_train_record.json +136 -0
- eval/h2c/dev_verdict_h2c.json +73 -0
- eval/h2c/dev_verdict_h2c.raw.npz +3 -0
- eval/h2c/selection.json +25 -0
- eval/h3/A1_experts.pt +3 -0
- eval/h3/A1_train_record.json +437 -0
- eval/h3/A2_train_record.json +437 -0
- eval/h3/B1_train_record.json +485 -0
- eval/h3/dev_verdict_h3.json +73 -0
- eval/h3/dev_verdict_h3.raw.npz +3 -0
- eval/h3/selection.json +37 -0
- eval/h3b/E1_experts.pt +3 -0
- eval/h3b/E1_train_record.json +437 -0
- eval/h3b/dev_verdict_h3b.json +73 -0
- eval/h3b/dev_verdict_h3b.raw.npz +3 -0
- eval/h3b/selection.json +17 -0
- eval/h4/F1_Arm3_HeadLoRA_train_record.json +199 -0
- eval/k3pass_holdout.log +92 -0
- eval/k3pass_holdout_nll.npy +3 -0
- eval/k3pass_holdout_streams.json +1 -0
- eval/k3pass_holdout_summary.json +147 -0
- eval/k3pass_train.log +146 -0
- eval/k3pass_train2.log +20 -0
- eval/k3pass_train2_nll.npy +3 -0
- eval/k3pass_train2_streams.json +1 -0
- eval/k3pass_train2_summary.json +130 -0
- eval/k3pass_train_nll.npy +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Kimi K3.1-Pro License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Moonshot AI
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person (the "Licensee")
|
| 6 |
+
obtaining a copy of this software — including the model weights, parameters,
|
| 7 |
+
configuration files, inference and training code, and associated documentation
|
| 8 |
+
(collectively, the "Software") — to deal in the Software without restriction.
|
| 9 |
+
This includes, without limitation, the rights to use, copy, modify, merge,
|
| 10 |
+
publish, distribute, sublicense, and/or sell copies of the Software; to run,
|
| 11 |
+
deploy, fine-tune, or otherwise modify the Software and create derivative works
|
| 12 |
+
from it; and to permit persons to whom the Software is furnished to do so, in
|
| 13 |
+
each case subject to the following conditions:
|
| 14 |
+
|
| 15 |
+
1. The above copyright notice and this permission notice shall be included in
|
| 16 |
+
all copies or substantial portions of the Software. Licensee's use of the
|
| 17 |
+
Software must comply with applicable laws and regulations.
|
| 18 |
+
|
| 19 |
+
2. "Model as a Service" means giving a third party access to language model
|
| 20 |
+
inference or fine-tuning (e.g., via API) in a manner that allows such third
|
| 21 |
+
party to exercise meaningful control over the inputs, parameters, or training
|
| 22 |
+
data. This does not include (a) end-user products with model capabilities solely
|
| 23 |
+
embedded within specific features or harnesses, or (b) mere relaying of requests
|
| 24 |
+
to models hosted by others.
|
| 25 |
+
|
| 26 |
+
If the Licensee or any of its affiliates operates a Model as a Service business,
|
| 27 |
+
and the aggregate revenue of the Licensee and its affiliates exceeds 20 million
|
| 28 |
+
US dollars (or the equivalent in other currencies) in total over any consecutive
|
| 29 |
+
12 months, the Licensee must enter into a separate agreement with Moonshot AI
|
| 30 |
+
before using the Software or its derivative works for any commercial purpose.
|
| 31 |
+
|
| 32 |
+
3. If the Software (or any derivative works thereof) is used for any of the
|
| 33 |
+
Licensee's commercial products or services that have more than 100 million
|
| 34 |
+
monthly active users, or more than 20 million US dollars (or equivalent in other
|
| 35 |
+
currencies) in monthly revenue, "Kimi K3.1-Pro" must be prominently displayed on the
|
| 36 |
+
user interface of such product or service.
|
| 37 |
+
|
| 38 |
+
4. The requirements set forth in Sections 2 and 3 do not apply to: (a) internal
|
| 39 |
+
use of the Software, defined as any use that does not make the Software, its
|
| 40 |
+
outputs, or its underlying capabilities available to third parties; or (b) any
|
| 41 |
+
use of the Software accessed through Moonshot AI's official products or
|
| 42 |
+
certified inference partners.
|
| 43 |
+
|
| 44 |
+
5. THE SOFTWARE AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS”
|
| 45 |
+
BASIS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
| 46 |
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
|
| 47 |
+
AND NONINFRINGEMENT. IN NO EVENT SHALL MOONSHOT AI OR ITS AFFILIATES OR
|
| 48 |
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
| 49 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
| 50 |
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 51 |
+
|
| 52 |
+
For any questions regarding this license, please contact <license@moonshot.ai>.
|
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: moonshotai/Kimi-K3.1-Pro
|
| 3 |
+
license: other
|
| 4 |
+
license_name: kimi-k3.1-pro
|
| 5 |
+
license_link: LICENSE
|
| 6 |
+
tags:
|
| 7 |
+
- mixture-of-experts
|
| 8 |
+
- expert-upcycling
|
| 9 |
+
- scientific-ai
|
| 10 |
+
- chip-design
|
| 11 |
+
- space
|
| 12 |
+
- physics
|
| 13 |
+
- s-t-a-r
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Trinity
|
| 17 |
+
|
| 18 |
+
### Where intelligence meets verification.
|
| 19 |
+
|
| 20 |
+
**3.54 trillion parameters. 1,152 experts in every MoE layer. Built for chips, space and physics.**
|
| 21 |
+
|
| 22 |
+
Trinity is the open research model of **S.T.A.R.**: a giant mixture-of-experts model grown to explore one idea —
|
| 23 |
+
scientific AI should not just answer, it should be **checked**. Trinity proposes; the S.T.A.R. laboratory verifies with
|
| 24 |
+
simulators, formal solvers and reproducible receipts.
|
| 25 |
+
|
| 26 |
+
## Why Trinity is different
|
| 27 |
+
|
| 28 |
+
- **Grown, not just downloaded.** Every one of its 92 MoE layers was expanded with **256 new experts — 23,552 in total** —
|
| 29 |
+
each born from the weight-space fusion of two parent experts, with its own router row. They are live and routable from
|
| 30 |
+
day one: new capacity waiting to be specialised.
|
| 31 |
+
- **Made for science.** Trinity's specialisation targets the domains where a wrong answer costs the most: digital
|
| 32 |
+
hardware and RTL, orbital mechanics and space systems, physics.
|
| 33 |
+
- **Verification first.** Trinity lives inside S.T.A.R., an ecosystem of verifiers: equivalence checking for circuits,
|
| 34 |
+
independent integrators for orbits, exhaustive and formal checks — every result comes with its method and its receipt.
|
| 35 |
+
- **Open all the way down.** Weights, configuration, the activation cache of its last layer and the scientific data
|
| 36 |
+
archive are published, so anyone can study, specialise and test Trinity.
|
| 37 |
+
|
| 38 |
+
## At a glance
|
| 39 |
+
|
| 40 |
+
| | |
|
| 41 |
+
|---|---|
|
| 42 |
+
| Base model | Kimi K3.1-Pro |
|
| 43 |
+
| Parameters | about **3.54 T** |
|
| 44 |
+
| Layers | 93, of which **92 mixture-of-experts layers** |
|
| 45 |
+
| Routed experts per MoE layer | **1,152** (896 + 256 new) |
|
| 46 |
+
| New experts | **23,552**, weight-space fusions of parent experts, routable |
|
| 47 |
+
| Weights | 96 `.safetensors` shards, MXFP4, 1.97 TB |
|
| 48 |
+
| Integrity | every shard header verified: 1,152 experts and a 1,152-row router in each MoE layer |
|
| 49 |
+
|
| 50 |
+
## The Trinity ecosystem
|
| 51 |
+
|
| 52 |
+
| | What it gives you | Size |
|
| 53 |
+
|---|---|---|
|
| 54 |
+
| [**Trinity activation cache**](https://huggingface.co/datasets/STAR-future/Trinity-k3cache-train2) | the exact internal states of Trinity's final layer on **1.36 million tokens** of chips, space, physics and chemistry science plus general text: specialise and evaluate Trinity's final layer on a **single GPU**, without loading 2 TB | 97.4 GB |
|
| 55 |
+
| [**Trinity-SciData**](https://huggingface.co/datasets/STAR-future/Trinity-SciData) | a scientific and engineering archive: chip designs (RTL, layouts, SPICE), space, chemistry, biology, energy | **1.35 TB**, 31,437 files |
|
| 56 |
+
| [**Trinity Starter**](https://andrea07072000.github.io/S.T.A.R.-/phisis/#trinity) | for any computer: checks your hardware before big downloads, runs S.T.A.R. verification labs offline (an orbit cross-check and an exhaustive 8-bit adder proof over all 131,072 inputs) and guides you to the full model | 21 KB |
|
| 57 |
+
|
| 58 |
+
## Get Trinity
|
| 59 |
+
|
| 60 |
+
**Any computer:** start with [Trinity Starter](https://andrea07072000.github.io/S.T.A.R.-/phisis/#trinity).
|
| 61 |
+
|
| 62 |
+
**Research server** (multi-GPU, more than 2.1 TB of free disk):
|
| 63 |
+
|
| 64 |
+
```bash
|
| 65 |
+
hf download STAR-future/Trinity --local-dir ./Trinity
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
`config.json`, `model.safetensors.index.json` and the tokenizer are included. S.T.A.R. runs Trinity with its own
|
| 69 |
+
layer-by-layer reference implementation.
|
| 70 |
+
|
| 71 |
+
## Where Trinity is going
|
| 72 |
+
|
| 73 |
+
These are the goals of the programme, published as research directions:
|
| 74 |
+
|
| 75 |
+
- **Domain experts:** train the 23,552 new experts into specialists for hardware, space and physics, while keeping
|
| 76 |
+
general knowledge intact.
|
| 77 |
+
- **Trinity + S.T.A.R.:** measure how much a model gains when every answer can be simulated, proved or refuted by a tool.
|
| 78 |
+
- **Open benchmarks:** AstroMLab, VerilogEval v2, RTLLM v2 and a tool-assisted scientific benchmark, with every run
|
| 79 |
+
and its raw outputs published.
|
| 80 |
+
- **Verified discovery:** circuits, trajectories and physical results proposed by the model and confirmed by
|
| 81 |
+
independent solvers.
|
| 82 |
+
|
| 83 |
+
## Evaluation
|
| 84 |
+
|
| 85 |
+
Evaluation protocol, held-out loss arrays and experiment records are published in [`eval/`](./eval). Public benchmark
|
| 86 |
+
runs are in progress and will be added here with their raw outputs.
|
| 87 |
+
|
| 88 |
+
## Intended use
|
| 89 |
+
|
| 90 |
+
Research on very large mixture-of-experts models and on scientific and engineering AI. Answers about critical systems
|
| 91 |
+
must be verified before use — that is exactly what S.T.A.R. is for.
|
| 92 |
+
|
| 93 |
+
## License
|
| 94 |
+
|
| 95 |
+
Distributed under the upstream model license, included unchanged in [`LICENSE`](LICENSE). S.T.A.R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|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"KimiK31ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_kimi_k3.KimiK3Config"
|
| 7 |
+
},
|
| 8 |
+
"bos_token_id": 163584,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eos_token_id": 163586,
|
| 11 |
+
"ignore_index": -100,
|
| 12 |
+
"image_placeholder": "<|kimi_image_placeholder|>",
|
| 13 |
+
"media_placeholder_token_id": 163605,
|
| 14 |
+
"model_type": "kimi_k31",
|
| 15 |
+
"pad_token_id": 163839,
|
| 16 |
+
"text_config": {
|
| 17 |
+
"_name_or_path": "",
|
| 18 |
+
"activation_situ_beta": 4.0,
|
| 19 |
+
"activation_situ_linear_beta": 25.0,
|
| 20 |
+
"add_cross_attention": false,
|
| 21 |
+
"architectures": [
|
| 22 |
+
"KimiLinearForCausalLM"
|
| 23 |
+
],
|
| 24 |
+
"attn_res_block_size": 12,
|
| 25 |
+
"bad_words_ids": null,
|
| 26 |
+
"begin_suppress_tokens": null,
|
| 27 |
+
"bos_token_id": 163584,
|
| 28 |
+
"chunk_size_feed_forward": 0,
|
| 29 |
+
"cross_attention_hidden_size": null,
|
| 30 |
+
"decoder_start_token_id": null,
|
| 31 |
+
"diversity_penalty": 0.0,
|
| 32 |
+
"do_sample": false,
|
| 33 |
+
"dsa_config": {
|
| 34 |
+
"dsa_layers": [
|
| 35 |
+
4,
|
| 36 |
+
8,
|
| 37 |
+
12,
|
| 38 |
+
16,
|
| 39 |
+
20,
|
| 40 |
+
24,
|
| 41 |
+
28,
|
| 42 |
+
32,
|
| 43 |
+
36,
|
| 44 |
+
40,
|
| 45 |
+
44,
|
| 46 |
+
48,
|
| 47 |
+
52,
|
| 48 |
+
56,
|
| 49 |
+
60,
|
| 50 |
+
64,
|
| 51 |
+
68,
|
| 52 |
+
72,
|
| 53 |
+
76,
|
| 54 |
+
80,
|
| 55 |
+
84,
|
| 56 |
+
88,
|
| 57 |
+
92,
|
| 58 |
+
93
|
| 59 |
+
],
|
| 60 |
+
"index_topk": 2048,
|
| 61 |
+
"index_head_dim": 128,
|
| 62 |
+
"index_num_heads": 32,
|
| 63 |
+
"index_rope_dim": 0,
|
| 64 |
+
"index_k_norm_type": "layernorm",
|
| 65 |
+
"index_topk_freq": 1,
|
| 66 |
+
"index_skip_topk_offset": 1
|
| 67 |
+
},
|
| 68 |
+
"dtype": "bfloat16",
|
| 69 |
+
"early_stopping": false,
|
| 70 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 71 |
+
"eos_token_id": 163586,
|
| 72 |
+
"exponential_decay_length_penalty": null,
|
| 73 |
+
"finetuning_task": null,
|
| 74 |
+
"first_k_dense_replace": 1,
|
| 75 |
+
"forced_bos_token_id": null,
|
| 76 |
+
"forced_eos_token_id": null,
|
| 77 |
+
"hidden_act": "situ",
|
| 78 |
+
"hidden_size": 7168,
|
| 79 |
+
"id2label": {
|
| 80 |
+
"0": "LABEL_0",
|
| 81 |
+
"1": "LABEL_1"
|
| 82 |
+
},
|
| 83 |
+
"initializer_range": 0.02,
|
| 84 |
+
"intermediate_size": 33792,
|
| 85 |
+
"is_decoder": false,
|
| 86 |
+
"is_encoder_decoder": false,
|
| 87 |
+
"kv_lora_rank": 512,
|
| 88 |
+
"label2id": {
|
| 89 |
+
"LABEL_0": 0,
|
| 90 |
+
"LABEL_1": 1
|
| 91 |
+
},
|
| 92 |
+
"latent_moe_use_norm": true,
|
| 93 |
+
"length_penalty": 1.0,
|
| 94 |
+
"linear_attn_config": {
|
| 95 |
+
"full_attn_layers": [
|
| 96 |
+
4,
|
| 97 |
+
8,
|
| 98 |
+
12,
|
| 99 |
+
16,
|
| 100 |
+
20,
|
| 101 |
+
24,
|
| 102 |
+
28,
|
| 103 |
+
32,
|
| 104 |
+
36,
|
| 105 |
+
40,
|
| 106 |
+
44,
|
| 107 |
+
48,
|
| 108 |
+
52,
|
| 109 |
+
56,
|
| 110 |
+
60,
|
| 111 |
+
64,
|
| 112 |
+
68,
|
| 113 |
+
72,
|
| 114 |
+
76,
|
| 115 |
+
80,
|
| 116 |
+
84,
|
| 117 |
+
88,
|
| 118 |
+
92,
|
| 119 |
+
93
|
| 120 |
+
],
|
| 121 |
+
"gate_lower_bound": -5.0,
|
| 122 |
+
"head_dim": 128,
|
| 123 |
+
"kda_layers": [
|
| 124 |
+
1,
|
| 125 |
+
2,
|
| 126 |
+
3,
|
| 127 |
+
5,
|
| 128 |
+
6,
|
| 129 |
+
7,
|
| 130 |
+
9,
|
| 131 |
+
10,
|
| 132 |
+
11,
|
| 133 |
+
13,
|
| 134 |
+
14,
|
| 135 |
+
15,
|
| 136 |
+
17,
|
| 137 |
+
18,
|
| 138 |
+
19,
|
| 139 |
+
21,
|
| 140 |
+
22,
|
| 141 |
+
23,
|
| 142 |
+
25,
|
| 143 |
+
26,
|
| 144 |
+
27,
|
| 145 |
+
29,
|
| 146 |
+
30,
|
| 147 |
+
31,
|
| 148 |
+
33,
|
| 149 |
+
34,
|
| 150 |
+
35,
|
| 151 |
+
37,
|
| 152 |
+
38,
|
| 153 |
+
39,
|
| 154 |
+
41,
|
| 155 |
+
42,
|
| 156 |
+
43,
|
| 157 |
+
45,
|
| 158 |
+
46,
|
| 159 |
+
47,
|
| 160 |
+
49,
|
| 161 |
+
50,
|
| 162 |
+
51,
|
| 163 |
+
53,
|
| 164 |
+
54,
|
| 165 |
+
55,
|
| 166 |
+
57,
|
| 167 |
+
58,
|
| 168 |
+
59,
|
| 169 |
+
61,
|
| 170 |
+
62,
|
| 171 |
+
63,
|
| 172 |
+
65,
|
| 173 |
+
66,
|
| 174 |
+
67,
|
| 175 |
+
69,
|
| 176 |
+
70,
|
| 177 |
+
71,
|
| 178 |
+
73,
|
| 179 |
+
74,
|
| 180 |
+
75,
|
| 181 |
+
77,
|
| 182 |
+
78,
|
| 183 |
+
79,
|
| 184 |
+
81,
|
| 185 |
+
82,
|
| 186 |
+
83,
|
| 187 |
+
85,
|
| 188 |
+
86,
|
| 189 |
+
87,
|
| 190 |
+
89,
|
| 191 |
+
90,
|
| 192 |
+
91
|
| 193 |
+
],
|
| 194 |
+
"num_heads": 96,
|
| 195 |
+
"short_conv_kernel_size": 4,
|
| 196 |
+
"use_full_rank_gate": true
|
| 197 |
+
},
|
| 198 |
+
"max_length": 20,
|
| 199 |
+
"max_position_embeddings": 1048576,
|
| 200 |
+
"min_length": 0,
|
| 201 |
+
"mla_use_nope": true,
|
| 202 |
+
"mla_use_output_gate": true,
|
| 203 |
+
"model_type": "kimi_linear",
|
| 204 |
+
"moe_intermediate_size": 3072,
|
| 205 |
+
"moe_layer_freq": 1,
|
| 206 |
+
"moe_renormalize": true,
|
| 207 |
+
"moe_router_activation_func": "sigmoid",
|
| 208 |
+
"no_repeat_ngram_size": 0,
|
| 209 |
+
"num_attention_heads": 96,
|
| 210 |
+
"num_beam_groups": 1,
|
| 211 |
+
"num_beams": 1,
|
| 212 |
+
"num_expert_group": 1,
|
| 213 |
+
"num_experts": 1152,
|
| 214 |
+
"num_experts_per_token": 16,
|
| 215 |
+
"num_hidden_layers": 93,
|
| 216 |
+
"num_key_value_heads": 96,
|
| 217 |
+
"num_nextn_predict_layers": 0,
|
| 218 |
+
"num_return_sequences": 1,
|
| 219 |
+
"num_shared_experts": 2,
|
| 220 |
+
"output_attentions": false,
|
| 221 |
+
"output_hidden_states": false,
|
| 222 |
+
"output_scores": false,
|
| 223 |
+
"pad_token_id": 163839,
|
| 224 |
+
"prefix": null,
|
| 225 |
+
"problem_type": null,
|
| 226 |
+
"pruned_heads": {},
|
| 227 |
+
"q_lora_rank": 1536,
|
| 228 |
+
"qk_nope_head_dim": 128,
|
| 229 |
+
"qk_rope_head_dim": 64,
|
| 230 |
+
"quantization_config": {
|
| 231 |
+
"config_groups": {
|
| 232 |
+
"group_0": {
|
| 233 |
+
"format": "mxfp4-pack-quantized",
|
| 234 |
+
"input_activations": null,
|
| 235 |
+
"output_activations": null,
|
| 236 |
+
"targets": [
|
| 237 |
+
"Linear"
|
| 238 |
+
],
|
| 239 |
+
"weights": {
|
| 240 |
+
"actorder": null,
|
| 241 |
+
"block_structure": null,
|
| 242 |
+
"dynamic": false,
|
| 243 |
+
"group_size": 32,
|
| 244 |
+
"num_bits": 4,
|
| 245 |
+
"observer": "minmax",
|
| 246 |
+
"observer_kwargs": {},
|
| 247 |
+
"scale_dtype": "torch.uint8",
|
| 248 |
+
"strategy": "group",
|
| 249 |
+
"symmetric": true,
|
| 250 |
+
"type": "float",
|
| 251 |
+
"zp_dtype": null
|
| 252 |
+
}
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
"format": "mxfp4-pack-quantized",
|
| 256 |
+
"global_compression_ratio": null,
|
| 257 |
+
"ignore": [
|
| 258 |
+
"re:.*self_attn.*",
|
| 259 |
+
"re:.*shared_experts.*",
|
| 260 |
+
"re:.*mlp\\.(gate|up|gate_up|down)_proj.*",
|
| 261 |
+
"re:.*block_sparse_moe\\.gate$",
|
| 262 |
+
"re:.*block_sparse_moe\\.routed_expert_(up|down)_proj.*",
|
| 263 |
+
"re:.*lm_head.*",
|
| 264 |
+
"re:.*vision_tower.*",
|
| 265 |
+
"re:.*mm_projector.*"
|
| 266 |
+
],
|
| 267 |
+
"kv_cache_scheme": null,
|
| 268 |
+
"quant_method": "compressed-tensors",
|
| 269 |
+
"quantization_status": "compressed"
|
| 270 |
+
},
|
| 271 |
+
"remove_invalid_values": false,
|
| 272 |
+
"repetition_penalty": 1.0,
|
| 273 |
+
"return_dict": true,
|
| 274 |
+
"return_dict_in_generate": false,
|
| 275 |
+
"rms_norm_eps": 1e-05,
|
| 276 |
+
"routed_expert_hidden_size": 3584,
|
| 277 |
+
"routed_scaling_factor": 1.0,
|
| 278 |
+
"sep_token_id": null,
|
| 279 |
+
"suppress_tokens": null,
|
| 280 |
+
"task_specific_params": null,
|
| 281 |
+
"temperature": 1.0,
|
| 282 |
+
"tf_legacy_loss": false,
|
| 283 |
+
"tie_encoder_decoder": false,
|
| 284 |
+
"tie_word_embeddings": false,
|
| 285 |
+
"tokenizer_class": null,
|
| 286 |
+
"top_k": 50,
|
| 287 |
+
"top_p": 1.0,
|
| 288 |
+
"topk_group": 1,
|
| 289 |
+
"topk_method": "noaux_tc",
|
| 290 |
+
"torchscript": false,
|
| 291 |
+
"transformers_version": "4.57.6",
|
| 292 |
+
"typical_p": 1.0,
|
| 293 |
+
"use_bfloat16": false,
|
| 294 |
+
"use_cache": true,
|
| 295 |
+
"use_grouped_topk": true,
|
| 296 |
+
"v_head_dim": 128,
|
| 297 |
+
"vocab_size": 163840
|
| 298 |
+
},
|
| 299 |
+
"tie_word_embeddings": false,
|
| 300 |
+
"vision_config": {
|
| 301 |
+
"_attn_implementation": "flash_attention_2",
|
| 302 |
+
"activation_func": "gelu_pytorch_tanh",
|
| 303 |
+
"attn_bias": false,
|
| 304 |
+
"init_pos_emb_height": 64,
|
| 305 |
+
"init_pos_emb_time": 4,
|
| 306 |
+
"init_pos_emb_width": 64,
|
| 307 |
+
"linear_bias": false,
|
| 308 |
+
"merge_kernel_size": [
|
| 309 |
+
2,
|
| 310 |
+
2
|
| 311 |
+
],
|
| 312 |
+
"merge_type": "sd2_tpool",
|
| 313 |
+
"mlp_type": "mlp2",
|
| 314 |
+
"mm_hidden_size": 1024,
|
| 315 |
+
"mm_projector_type": "patchmergerv2",
|
| 316 |
+
"norm_type": "rmsnorm",
|
| 317 |
+
"patch_embed_proj_bias": false,
|
| 318 |
+
"patch_size": 14,
|
| 319 |
+
"pos_emb_interpolation_mode": "bilinear",
|
| 320 |
+
"pos_emb_type": "divided_fixed",
|
| 321 |
+
"projector_hidden_act": "gelu",
|
| 322 |
+
"projector_ln_eps": 1e-05,
|
| 323 |
+
"qkv_hidden_size": 1536,
|
| 324 |
+
"text_hidden_size": 7168,
|
| 325 |
+
"vt_hidden_size": 1024,
|
| 326 |
+
"vt_intermediate_size": 4096,
|
| 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional
|
| 2 |
+
|
| 3 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
class KimiLinearConfig(PretrainedConfig):
|
| 7 |
+
model_type = "kimi_linear"
|
| 8 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 9 |
+
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
model_type="kimi_linear",
|
| 13 |
+
vocab_size=163840,
|
| 14 |
+
hidden_size=4096,
|
| 15 |
+
head_dim=None,
|
| 16 |
+
intermediate_size=11008,
|
| 17 |
+
num_hidden_layers=32,
|
| 18 |
+
num_attention_heads=32,
|
| 19 |
+
num_key_value_heads=None,
|
| 20 |
+
hidden_act="silu",
|
| 21 |
+
initializer_range=0.02,
|
| 22 |
+
rms_norm_eps=1e-6,
|
| 23 |
+
use_cache=True,
|
| 24 |
+
pad_token_id=0,
|
| 25 |
+
bos_token_id=1,
|
| 26 |
+
eos_token_id=2,
|
| 27 |
+
rope_theta=10000.0,
|
| 28 |
+
rope_scaling=None,
|
| 29 |
+
tie_word_embeddings=False,
|
| 30 |
+
moe_intermediate_size: Optional[int] = None,
|
| 31 |
+
moe_renormalize: bool = True,
|
| 32 |
+
moe_router_activation_func: str = "sigmoid",
|
| 33 |
+
num_experts: Optional[int] = None,
|
| 34 |
+
num_experts_per_token: Optional[int] = None,
|
| 35 |
+
num_shared_experts: int = 0,
|
| 36 |
+
routed_scaling_factor: float = 1.0,
|
| 37 |
+
first_k_dense_replace: int = 0,
|
| 38 |
+
moe_layer_freq: int = 1,
|
| 39 |
+
use_grouped_topk: bool = True,
|
| 40 |
+
num_expert_group: int = 1,
|
| 41 |
+
topk_group: int = 1,
|
| 42 |
+
q_lora_rank: Optional[int] = None,
|
| 43 |
+
kv_lora_rank: Optional[int] = None,
|
| 44 |
+
qk_nope_head_dim: Optional[int] = None,
|
| 45 |
+
qk_rope_head_dim: Optional[int] = None,
|
| 46 |
+
v_head_dim: Optional[int] = None,
|
| 47 |
+
mla_use_nope: Optional[bool] = False,
|
| 48 |
+
mla_use_output_gate: Optional[bool] = False,
|
| 49 |
+
num_nextn_predict_layers: int = 0,
|
| 50 |
+
linear_attn_config: Optional[dict] = None,
|
| 51 |
+
dsa_config: Optional[dict] = None,
|
| 52 |
+
attn_res_block_size: Optional[int] = None,
|
| 53 |
+
latent_moe_use_norm: bool = False,
|
| 54 |
+
activation_situ_beta: Optional[float] = None,
|
| 55 |
+
activation_situ_linear_beta: Optional[float] = None,
|
| 56 |
+
max_position_embeddings: int = 4096,
|
| 57 |
+
routed_expert_hidden_size: Optional[int] = None,
|
| 58 |
+
topk_method: str = "noaux_tc",
|
| 59 |
+
**kwargs,
|
| 60 |
+
):
|
| 61 |
+
self.model_type = model_type
|
| 62 |
+
self.vocab_size = vocab_size
|
| 63 |
+
self.hidden_size = hidden_size
|
| 64 |
+
self.head_dim = (head_dim if head_dim is not None else hidden_size //
|
| 65 |
+
num_attention_heads)
|
| 66 |
+
self.intermediate_size = intermediate_size
|
| 67 |
+
self.num_hidden_layers = num_hidden_layers
|
| 68 |
+
self.num_attention_heads = num_attention_heads
|
| 69 |
+
|
| 70 |
+
# for backward compatibility
|
| 71 |
+
if num_key_value_heads is None:
|
| 72 |
+
num_key_value_heads = num_attention_heads
|
| 73 |
+
|
| 74 |
+
self.num_key_value_heads = num_key_value_heads
|
| 75 |
+
self.hidden_act = hidden_act
|
| 76 |
+
self.initializer_range = initializer_range
|
| 77 |
+
self.rms_norm_eps = rms_norm_eps
|
| 78 |
+
self.use_cache = use_cache
|
| 79 |
+
self.rope_theta = rope_theta
|
| 80 |
+
self.rope_scaling = rope_scaling
|
| 81 |
+
|
| 82 |
+
self.q_lora_rank = q_lora_rank
|
| 83 |
+
self.kv_lora_rank = kv_lora_rank
|
| 84 |
+
self.qk_nope_head_dim = qk_nope_head_dim
|
| 85 |
+
self.qk_rope_head_dim = qk_rope_head_dim
|
| 86 |
+
self.v_head_dim = v_head_dim
|
| 87 |
+
self.mla_use_nope = mla_use_nope
|
| 88 |
+
self.mla_use_output_gate = mla_use_output_gate
|
| 89 |
+
# moe config
|
| 90 |
+
self.num_experts = num_experts
|
| 91 |
+
self.num_experts_per_token = num_experts_per_token
|
| 92 |
+
self.moe_renormalize = moe_renormalize
|
| 93 |
+
self.num_shared_experts = num_shared_experts
|
| 94 |
+
self.routed_scaling_factor = routed_scaling_factor
|
| 95 |
+
self.moe_router_activation_func = moe_router_activation_func
|
| 96 |
+
assert self.moe_router_activation_func in ("softmax", "sigmoid")
|
| 97 |
+
self.moe_intermediate_size = moe_intermediate_size
|
| 98 |
+
self.first_k_dense_replace = first_k_dense_replace
|
| 99 |
+
self.moe_layer_freq = moe_layer_freq
|
| 100 |
+
self.use_grouped_topk = use_grouped_topk
|
| 101 |
+
self.num_expert_group = num_expert_group
|
| 102 |
+
self.topk_group = topk_group
|
| 103 |
+
self.num_nextn_predict_layers = num_nextn_predict_layers
|
| 104 |
+
|
| 105 |
+
self.attn_res_block_size = attn_res_block_size
|
| 106 |
+
self.latent_moe_use_norm = latent_moe_use_norm
|
| 107 |
+
self.activation_situ_beta = activation_situ_beta
|
| 108 |
+
self.activation_situ_linear_beta = activation_situ_linear_beta
|
| 109 |
+
self.max_position_embeddings = max_position_embeddings
|
| 110 |
+
self.routed_expert_hidden_size = routed_expert_hidden_size
|
| 111 |
+
self.topk_method = topk_method
|
| 112 |
+
|
| 113 |
+
if linear_attn_config is not None:
|
| 114 |
+
assert linear_attn_config["kda_layers"] is not None
|
| 115 |
+
assert linear_attn_config["full_attn_layers"] is not None
|
| 116 |
+
self.linear_attn_config = linear_attn_config
|
| 117 |
+
# k31(KDA + DSA 混合):DSA 参数以嵌套子结构随包导出
|
| 118 |
+
self.dsa_config = dsa_config
|
| 119 |
+
|
| 120 |
+
super().__init__(
|
| 121 |
+
pad_token_id=pad_token_id,
|
| 122 |
+
bos_token_id=bos_token_id,
|
| 123 |
+
eos_token_id=eos_token_id,
|
| 124 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 125 |
+
**kwargs,
|
| 126 |
+
)
|
| 127 |
+
|
| 128 |
+
@property
|
| 129 |
+
def is_mla(self):
|
| 130 |
+
return (self.q_lora_rank is not None or self.kv_lora_rank is not None
|
| 131 |
+
or self.qk_nope_head_dim is not None
|
| 132 |
+
or self.qk_rope_head_dim is not None
|
| 133 |
+
or self.v_head_dim is not None or self.mla_use_nope is True)
|
| 134 |
+
|
| 135 |
+
@property
|
| 136 |
+
def is_moe(self):
|
| 137 |
+
return self.num_experts is not None
|
| 138 |
+
|
| 139 |
+
@property
|
| 140 |
+
def is_linear_attn(self) -> bool:
|
| 141 |
+
return not (self.linear_attn_config is None or
|
| 142 |
+
(isinstance(self.linear_attn_config, dict)
|
| 143 |
+
and self.linear_attn_config["kda_layers"] is not None
|
| 144 |
+
and len(self.linear_attn_config["kda_layers"]) == 0))
|
| 145 |
+
|
| 146 |
+
def is_kda_layer(self, layer_idx: int):
|
| 147 |
+
return (self.linear_attn_config is not None
|
| 148 |
+
and (layer_idx + 1) in self.linear_attn_config["kda_layers"])
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
class KimiK3VisionConfig(PretrainedConfig):
|
| 152 |
+
|
| 153 |
+
def __init__(
|
| 154 |
+
self,
|
| 155 |
+
patch_size: int = 14,
|
| 156 |
+
init_pos_emb_height: int = 64,
|
| 157 |
+
init_pos_emb_width: int = 64,
|
| 158 |
+
init_pos_emb_time: int = 4,
|
| 159 |
+
pos_emb_type: str = 'divided_fixed',
|
| 160 |
+
vt_num_attention_heads: int = 12,
|
| 161 |
+
vt_num_hidden_layers: int = 27,
|
| 162 |
+
vt_hidden_size: int = 1024,
|
| 163 |
+
vt_intermediate_size: int = 4096,
|
| 164 |
+
merge_kernel_size: tuple = (2, 2),
|
| 165 |
+
merge_type: str = 'sd2_tpool',
|
| 166 |
+
_attn_implementation: str = 'flash_attention_2',
|
| 167 |
+
# MM Projector parameters
|
| 168 |
+
mm_projector_type: str = 'patchmergerv2',
|
| 169 |
+
mm_hidden_size: int | None = None,
|
| 170 |
+
projector_hidden_act: str = "gelu",
|
| 171 |
+
projector_ln_eps: float = 1e-5,
|
| 172 |
+
# vision tower parameters
|
| 173 |
+
qkv_hidden_size: int = 1536,
|
| 174 |
+
norm_type: str = 'rmsnorm',
|
| 175 |
+
attn_bias: bool = False,
|
| 176 |
+
patch_embed_proj_bias: bool = False,
|
| 177 |
+
mlp_type: str = 'mlp2',
|
| 178 |
+
linear_bias: bool = False,
|
| 179 |
+
activation_func: str = 'gelu_pytorch_tanh',
|
| 180 |
+
pos_emb_interpolation_mode: str = 'bilinear',
|
| 181 |
+
# Other parameters
|
| 182 |
+
ignore_index: int = -100,
|
| 183 |
+
media_placeholder_token_id: int = 163605,
|
| 184 |
+
pad_token_id: int = 0,
|
| 185 |
+
text_hidden_size=7168,
|
| 186 |
+
**kwargs):
|
| 187 |
+
|
| 188 |
+
self.patch_size = patch_size
|
| 189 |
+
self.init_pos_emb_height = init_pos_emb_height
|
| 190 |
+
self.init_pos_emb_width = init_pos_emb_width
|
| 191 |
+
self.init_pos_emb_time = init_pos_emb_time
|
| 192 |
+
self.pos_emb_type = pos_emb_type
|
| 193 |
+
self.vt_num_attention_heads = vt_num_attention_heads
|
| 194 |
+
self.vt_num_hidden_layers = vt_num_hidden_layers
|
| 195 |
+
self.vt_hidden_size = vt_hidden_size
|
| 196 |
+
self.vt_intermediate_size = vt_intermediate_size
|
| 197 |
+
self.merge_kernel_size = merge_kernel_size
|
| 198 |
+
self.merge_type = merge_type
|
| 199 |
+
self._attn_implementation = _attn_implementation
|
| 200 |
+
|
| 201 |
+
# MM Projector config
|
| 202 |
+
self.mm_projector_type = mm_projector_type
|
| 203 |
+
self.mm_hidden_size = mm_hidden_size if mm_hidden_size is not None else vt_hidden_size
|
| 204 |
+
self.projector_hidden_act = projector_hidden_act
|
| 205 |
+
self.projector_ln_eps = projector_ln_eps
|
| 206 |
+
self.text_hidden_size = text_hidden_size
|
| 207 |
+
|
| 208 |
+
# vision tower parameters
|
| 209 |
+
self.qkv_hidden_size = qkv_hidden_size
|
| 210 |
+
self.norm_type = norm_type
|
| 211 |
+
self.attn_bias = attn_bias
|
| 212 |
+
self.patch_embed_proj_bias = patch_embed_proj_bias
|
| 213 |
+
self.mlp_type = mlp_type
|
| 214 |
+
self.linear_bias = linear_bias
|
| 215 |
+
self.activation_func = activation_func
|
| 216 |
+
self.pos_emb_interpolation_mode = pos_emb_interpolation_mode
|
| 217 |
+
|
| 218 |
+
super().__init__(**kwargs)
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
class KimiK3Config(PretrainedConfig):
|
| 222 |
+
"""Kimi-K3 model configuration.
|
| 223 |
+
|
| 224 |
+
Args:
|
| 225 |
+
text_config (dict | KimiLinearConfig): Configuration for the text model.
|
| 226 |
+
|
| 227 |
+
Vision Tower Parameters (from MoonViT3dConfig):
|
| 228 |
+
patch_size (int): Patch size for vision tower.
|
| 229 |
+
init_pos_emb_height (int): Initial position embedding height.
|
| 230 |
+
init_pos_emb_width (int): Initial position embedding width.
|
| 231 |
+
init_pos_emb_time (int): Initial position embedding time dimension.
|
| 232 |
+
pos_emb_type (str): Type of position embedding.
|
| 233 |
+
vt_num_attention_heads (int): Number of attention heads in vision tower.
|
| 234 |
+
vt_num_hidden_layers (int): Number of hidden layers in vision tower.
|
| 235 |
+
vt_hidden_size (int): Hidden size of vision tower.
|
| 236 |
+
vt_intermediate_size (int): Intermediate size in vision tower FFN.
|
| 237 |
+
merge_kernel_size (tuple): Kernel size for patch merging.
|
| 238 |
+
merge_type (str): Type of merge operation.
|
| 239 |
+
_attn_implementation (str): Attention implementation type.
|
| 240 |
+
|
| 241 |
+
MM Projector Parameters (from MultiModalProjectorConfig):
|
| 242 |
+
mm_projector_type (str): Type of multimodal projector.
|
| 243 |
+
mm_hidden_size (int): Hidden size from vision tower (should match vt_hidden_size).
|
| 244 |
+
projector_hidden_act (str): Activation function for projector.
|
| 245 |
+
projector_ln_eps (float): Layer norm epsilon for projector.
|
| 246 |
+
|
| 247 |
+
Other Parameters:
|
| 248 |
+
ignore_index (int): The ignore index for the loss function.
|
| 249 |
+
media_placeholder_token_id (int): The token ID to use for media placeholders.
|
| 250 |
+
pad_token_id (int): The token ID to use for padding.
|
| 251 |
+
"""
|
| 252 |
+
|
| 253 |
+
model_type = "kimi_k31"
|
| 254 |
+
|
| 255 |
+
def __init__(
|
| 256 |
+
self,
|
| 257 |
+
text_config: dict | KimiLinearConfig = None,
|
| 258 |
+
vision_config: dict | KimiK3VisionConfig = None,
|
| 259 |
+
# Other parameters
|
| 260 |
+
ignore_index: int = -100,
|
| 261 |
+
media_placeholder_token_id: int = 163605,
|
| 262 |
+
pad_token_id: int = 0,
|
| 263 |
+
**kwargs,
|
| 264 |
+
):
|
| 265 |
+
if isinstance(text_config, dict):
|
| 266 |
+
text_config = KimiLinearConfig(**text_config)
|
| 267 |
+
if isinstance(vision_config, dict):
|
| 268 |
+
vision_config = KimiK3VisionConfig(**vision_config)
|
| 269 |
+
self.text_config = text_config
|
| 270 |
+
self.vision_config = vision_config
|
| 271 |
+
# Other config
|
| 272 |
+
self.ignore_index = ignore_index
|
| 273 |
+
self.media_placeholder_token_id = media_placeholder_token_id
|
| 274 |
+
if getattr(self.text_config, "quantization_config", None) is not None:
|
| 275 |
+
self.quantization_config = self.text_config.quantization_config
|
| 276 |
+
|
| 277 |
+
super().__init__(pad_token_id=pad_token_id, **kwargs)
|
encoding_k3.py
ADDED
|
@@ -0,0 +1,735 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Kimi K3 XTML encoding helpers.
|
| 2 |
+
|
| 3 |
+
This module keeps chat rendering in Python.
|
| 4 |
+
Callers that need token IDs should consume ``EncodeSegment`` objects directly:
|
| 5 |
+
structural markers may be encoded as tiktoken special tokens, while user/tool
|
| 6 |
+
text and attribute values are encoded as ordinary text.
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
from __future__ import annotations
|
| 10 |
+
|
| 11 |
+
import json
|
| 12 |
+
from dataclasses import dataclass
|
| 13 |
+
from typing import Any, Iterable, Optional
|
| 14 |
+
|
| 15 |
+
OPEN_TOKEN = "<|open|>"
|
| 16 |
+
CLOSE_TOKEN = "<|close|>"
|
| 17 |
+
SEP_TOKEN = "<|sep|>"
|
| 18 |
+
END_OF_MSG_TOKEN = "<|end_of_msg|>"
|
| 19 |
+
IMAGE_PLACEHOLDER = "<|kimi_image_placeholder|>"
|
| 20 |
+
|
| 21 |
+
_VALID_THINKING_EFFORTS = {"low", "high", "max"}
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
@dataclass(frozen=True)
|
| 25 |
+
class EncodeSegment:
|
| 26 |
+
text: str
|
| 27 |
+
allow_special: bool = False
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class _ImagePromptState:
|
| 31 |
+
|
| 32 |
+
def __init__(self, image_prompts: Optional[list[str]] = None):
|
| 33 |
+
self.image_prompts = image_prompts
|
| 34 |
+
self.index = 0
|
| 35 |
+
|
| 36 |
+
def next_prompt(self) -> str:
|
| 37 |
+
if self.image_prompts is None:
|
| 38 |
+
return IMAGE_PLACEHOLDER
|
| 39 |
+
if self.index >= len(self.image_prompts):
|
| 40 |
+
raise ValueError("More image placeholders than image prompts.")
|
| 41 |
+
prompt = self.image_prompts[self.index]
|
| 42 |
+
self.index += 1
|
| 43 |
+
return prompt
|
| 44 |
+
|
| 45 |
+
def assert_consumed(self) -> None:
|
| 46 |
+
if self.image_prompts is None:
|
| 47 |
+
return
|
| 48 |
+
if self.index != len(self.image_prompts):
|
| 49 |
+
raise ValueError(
|
| 50 |
+
f"image prompt count {len(self.image_prompts)} != "
|
| 51 |
+
f"consumed placeholder count {self.index}")
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def _segment(text: Any, *, allow_special: bool = False) -> list[EncodeSegment]:
|
| 55 |
+
text = str(text)
|
| 56 |
+
if not text:
|
| 57 |
+
return []
|
| 58 |
+
return [EncodeSegment(text, allow_special=allow_special)]
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def _control(text: str) -> list[EncodeSegment]:
|
| 62 |
+
return _segment(text, allow_special=True)
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def _text(text: Any) -> list[EncodeSegment]:
|
| 66 |
+
return _segment(text, allow_special=False)
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def _append_text(
|
| 70 |
+
segments: list[EncodeSegment],
|
| 71 |
+
text: Any,
|
| 72 |
+
image_state: _ImagePromptState,
|
| 73 |
+
) -> None:
|
| 74 |
+
text = str(text)
|
| 75 |
+
if text == "":
|
| 76 |
+
return
|
| 77 |
+
if image_state.image_prompts is None or IMAGE_PLACEHOLDER not in text:
|
| 78 |
+
segments.extend(_text(text))
|
| 79 |
+
return
|
| 80 |
+
|
| 81 |
+
parts = text.split(IMAGE_PLACEHOLDER)
|
| 82 |
+
for i, part in enumerate(parts):
|
| 83 |
+
segments.extend(_text(part))
|
| 84 |
+
if i < len(parts) - 1:
|
| 85 |
+
segments.extend(
|
| 86 |
+
_segment(image_state.next_prompt(), allow_special=True))
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
def _escape_attr_value(value: Any) -> str:
|
| 90 |
+
return str(value).replace("&", "&").replace('"', """)
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def _attr(key: str, value: Any) -> list[EncodeSegment]:
|
| 94 |
+
return (_text(f" {key}") + _text('="') + _text(_escape_attr_value(value)) +
|
| 95 |
+
_text('"'))
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def _open_tag(
|
| 99 |
+
tag: str, attrs: Iterable[tuple[str, Any]] = ()) -> list[EncodeSegment]:
|
| 100 |
+
segments: list[EncodeSegment] = []
|
| 101 |
+
segments.extend(_control(OPEN_TOKEN))
|
| 102 |
+
segments.extend(_text(tag))
|
| 103 |
+
for key, value in attrs:
|
| 104 |
+
segments.extend(_attr(key, value))
|
| 105 |
+
segments.extend(_control(SEP_TOKEN))
|
| 106 |
+
return segments
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
def _close_tag(tag: str) -> list[EncodeSegment]:
|
| 110 |
+
segments: list[EncodeSegment] = []
|
| 111 |
+
segments.extend(_control(CLOSE_TOKEN))
|
| 112 |
+
segments.extend(_text(tag))
|
| 113 |
+
segments.extend(_control(SEP_TOKEN))
|
| 114 |
+
return segments
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
def _end_of_msg() -> list[EncodeSegment]:
|
| 118 |
+
return _control(END_OF_MSG_TOKEN)
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def _json_compact(value: Any) -> str:
|
| 122 |
+
return json.dumps(value, ensure_ascii=False, separators=(",", ":"))
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
def _is_mapping(value: Any) -> bool:
|
| 126 |
+
return isinstance(value, dict)
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def _xtml_type(value: Any) -> str:
|
| 130 |
+
if isinstance(value, bool):
|
| 131 |
+
return "boolean"
|
| 132 |
+
if value is None:
|
| 133 |
+
return "null"
|
| 134 |
+
if isinstance(value, (int, float)) and not isinstance(value, bool):
|
| 135 |
+
return "number"
|
| 136 |
+
if isinstance(value, str):
|
| 137 |
+
return "string"
|
| 138 |
+
if _is_mapping(value):
|
| 139 |
+
return "object"
|
| 140 |
+
return "array"
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
def _xtml_value(value: Any) -> str:
|
| 144 |
+
if isinstance(value, str):
|
| 145 |
+
return value
|
| 146 |
+
return json.dumps(value, ensure_ascii=False)
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
def _get_value(obj: Any, key: str, default: Any = None) -> Any:
|
| 150 |
+
if isinstance(obj, dict):
|
| 151 |
+
return obj.get(key, default)
|
| 152 |
+
return getattr(obj, key, default)
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
def extract_response_schema(response_format: Any) -> Any:
|
| 156 |
+
if response_format is None:
|
| 157 |
+
return None
|
| 158 |
+
|
| 159 |
+
json_schema = _get_value(response_format, "json_schema")
|
| 160 |
+
if json_schema is None:
|
| 161 |
+
return None
|
| 162 |
+
|
| 163 |
+
if isinstance(json_schema, dict):
|
| 164 |
+
return json_schema.get(
|
| 165 |
+
"schema",
|
| 166 |
+
json_schema.get("json_schema", json_schema),
|
| 167 |
+
)
|
| 168 |
+
|
| 169 |
+
schema = _get_value(json_schema, "schema")
|
| 170 |
+
if schema is not None:
|
| 171 |
+
return schema
|
| 172 |
+
|
| 173 |
+
schema = _get_value(json_schema, "json_schema")
|
| 174 |
+
if schema is not None:
|
| 175 |
+
return schema
|
| 176 |
+
|
| 177 |
+
return json_schema
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
def deep_sort_dict(obj: Any) -> Any:
|
| 181 |
+
if isinstance(obj, dict):
|
| 182 |
+
return {k: deep_sort_dict(v) for k, v in sorted(obj.items())}
|
| 183 |
+
if isinstance(obj, list):
|
| 184 |
+
return [deep_sort_dict(item) for item in obj]
|
| 185 |
+
return obj
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
# One normalized tool-call argument: (key, XTML type, rendered text). The
|
| 189 |
+
# text keeps the original JSON literal for non-string values and is the
|
| 190 |
+
# decoded string for string values.
|
| 191 |
+
XtmlArgument = tuple[str, str, str]
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
def _parse_arguments_object(s: str) -> list[XtmlArgument]:
|
| 195 |
+
"""Parse a JSON object string one level deep.
|
| 196 |
+
|
| 197 |
+
Each top-level key-value pair yields one ``(key, type, text)`` triple. The
|
| 198 |
+
text keeps the original JSON literal for non-string values (``1e2`` stays
|
| 199 |
+
``1e2``, ``[1,2]`` keeps its exact bytes) and is the decoded (unescaped)
|
| 200 |
+
string for string values. Nested values are never re-serialized. Anything
|
| 201 |
+
after the closing ``}`` is ignored. Raises ``ValueError`` on malformed
|
| 202 |
+
input (including a valid non-object JSON document).
|
| 203 |
+
"""
|
| 204 |
+
idx = 0
|
| 205 |
+
|
| 206 |
+
def _skip_whitespaces() -> None:
|
| 207 |
+
nonlocal idx
|
| 208 |
+
while idx < len(s) and s[idx] in (" ", "\t", "\n", "\r"):
|
| 209 |
+
idx += 1
|
| 210 |
+
|
| 211 |
+
def _next_char() -> Optional[str]:
|
| 212 |
+
nonlocal idx
|
| 213 |
+
if idx < len(s):
|
| 214 |
+
c = s[idx]
|
| 215 |
+
idx += 1
|
| 216 |
+
return c
|
| 217 |
+
return None
|
| 218 |
+
|
| 219 |
+
_skip_whitespaces()
|
| 220 |
+
if _next_char() != "{":
|
| 221 |
+
raise ValueError("JSON arguments must be an object")
|
| 222 |
+
_skip_whitespaces()
|
| 223 |
+
|
| 224 |
+
parsed: list[XtmlArgument] = []
|
| 225 |
+
|
| 226 |
+
if idx >= len(s):
|
| 227 |
+
raise ValueError("Unexpected end of JSON object")
|
| 228 |
+
if s[idx] == "}":
|
| 229 |
+
return parsed
|
| 230 |
+
|
| 231 |
+
json_decoder = json.JSONDecoder(strict=False)
|
| 232 |
+
|
| 233 |
+
def _raw_decode(start_idx: int) -> tuple[Any, int]:
|
| 234 |
+
try:
|
| 235 |
+
return json_decoder.raw_decode(s, idx=start_idx)
|
| 236 |
+
except json.JSONDecodeError as e:
|
| 237 |
+
raise ValueError(str(e)) from e
|
| 238 |
+
|
| 239 |
+
while True:
|
| 240 |
+
decoded_key, idx = _raw_decode(idx)
|
| 241 |
+
if not isinstance(decoded_key, str):
|
| 242 |
+
raise ValueError(
|
| 243 |
+
f"JSON object key must be a string, got {decoded_key!r}")
|
| 244 |
+
_skip_whitespaces()
|
| 245 |
+
if _next_char() != ":":
|
| 246 |
+
raise ValueError(f"Expects ':' after {decoded_key}")
|
| 247 |
+
_skip_whitespaces()
|
| 248 |
+
|
| 249 |
+
value_start_idx = idx
|
| 250 |
+
decoded_value, idx = _raw_decode(idx)
|
| 251 |
+
value_end_idx = idx
|
| 252 |
+
|
| 253 |
+
text = (decoded_value if isinstance(decoded_value, str) else
|
| 254 |
+
s[value_start_idx:value_end_idx])
|
| 255 |
+
parsed.append((decoded_key, _xtml_type(decoded_value), text))
|
| 256 |
+
|
| 257 |
+
_skip_whitespaces()
|
| 258 |
+
c = _next_char()
|
| 259 |
+
_skip_whitespaces()
|
| 260 |
+
|
| 261 |
+
if c == "}":
|
| 262 |
+
break
|
| 263 |
+
elif c == ",":
|
| 264 |
+
continue
|
| 265 |
+
else:
|
| 266 |
+
raise ValueError(f"Expect '}}' or ',', got {c!r}")
|
| 267 |
+
|
| 268 |
+
return parsed
|
| 269 |
+
|
| 270 |
+
|
| 271 |
+
def normalize_tool_arguments(
|
| 272 |
+
arguments: Any, ) -> tuple[list[XtmlArgument], Optional[str]]:
|
| 273 |
+
"""Normalize tool call arguments for XTML rendering.
|
| 274 |
+
|
| 275 |
+
Returns ``(argument_triples, raw_json_block)``. String arguments are parsed
|
| 276 |
+
one level deep so non-string values keep their original JSON literal text,
|
| 277 |
+
and anything after the closing ``}`` is discarded; dict arguments (already
|
| 278 |
+
Python objects) are serialized on the spot. Any string that is not a
|
| 279 |
+
well-formed JSON object -- unparsable, whitespace only, or valid
|
| 280 |
+
non-object JSON -- falls back to the raw ``<json>`` block.
|
| 281 |
+
"""
|
| 282 |
+
if arguments is None:
|
| 283 |
+
return [], None
|
| 284 |
+
if isinstance(arguments, dict):
|
| 285 |
+
return [(str(key), _xtml_type(value), _xtml_value(value))
|
| 286 |
+
for key, value in arguments.items()], None
|
| 287 |
+
if isinstance(arguments, str):
|
| 288 |
+
if arguments == "":
|
| 289 |
+
return [], None
|
| 290 |
+
try:
|
| 291 |
+
return _parse_arguments_object(arguments), None
|
| 292 |
+
except ValueError:
|
| 293 |
+
return [], arguments
|
| 294 |
+
raise TypeError(
|
| 295 |
+
"Kimi K3 tool call arguments must be a dict or a JSON object string.")
|
| 296 |
+
|
| 297 |
+
|
| 298 |
+
def normalize_message(message: Any) -> Any:
|
| 299 |
+
if not isinstance(message, dict):
|
| 300 |
+
return message
|
| 301 |
+
|
| 302 |
+
normalized = dict(message)
|
| 303 |
+
|
| 304 |
+
tools = normalized.get("tools")
|
| 305 |
+
if tools is not None:
|
| 306 |
+
normalized["tools"] = deep_sort_dict(tools)
|
| 307 |
+
|
| 308 |
+
tool_calls = normalized.get("tool_calls")
|
| 309 |
+
if not tool_calls:
|
| 310 |
+
return normalized
|
| 311 |
+
|
| 312 |
+
normalized_calls = []
|
| 313 |
+
for tool_call in tool_calls:
|
| 314 |
+
if not isinstance(tool_call, dict):
|
| 315 |
+
normalized_calls.append(tool_call)
|
| 316 |
+
continue
|
| 317 |
+
|
| 318 |
+
tc = dict(tool_call)
|
| 319 |
+
function = tc.get("function")
|
| 320 |
+
if isinstance(function, dict):
|
| 321 |
+
fn = dict(function)
|
| 322 |
+
arguments, json_block = normalize_tool_arguments(
|
| 323 |
+
fn.get("arguments"))
|
| 324 |
+
fn["arguments"] = arguments
|
| 325 |
+
if json_block is None:
|
| 326 |
+
fn.pop("_xtml_json_block", None)
|
| 327 |
+
else:
|
| 328 |
+
fn["_xtml_json_block"] = json_block
|
| 329 |
+
tc["function"] = fn
|
| 330 |
+
else:
|
| 331 |
+
arguments, json_block = normalize_tool_arguments(
|
| 332 |
+
tc.get("arguments"))
|
| 333 |
+
tc["arguments"] = arguments
|
| 334 |
+
if json_block is None:
|
| 335 |
+
tc.pop("_xtml_json_block", None)
|
| 336 |
+
else:
|
| 337 |
+
tc["_xtml_json_block"] = json_block
|
| 338 |
+
normalized_calls.append(tc)
|
| 339 |
+
|
| 340 |
+
normalized["tool_calls"] = normalized_calls
|
| 341 |
+
return normalized
|
| 342 |
+
|
| 343 |
+
|
| 344 |
+
def normalize_conversation(conversation: Any) -> Any:
|
| 345 |
+
if not isinstance(conversation, list):
|
| 346 |
+
return conversation
|
| 347 |
+
|
| 348 |
+
def normalize_messages(messages: list[Any]) -> list[Any]:
|
| 349 |
+
return [normalize_message(message) for message in messages]
|
| 350 |
+
|
| 351 |
+
if conversation and isinstance(conversation[0], list):
|
| 352 |
+
return [normalize_messages(messages) for messages in conversation]
|
| 353 |
+
return normalize_messages(conversation)
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
def _tool_call_id_index(tool_calls: Any) -> dict:
|
| 357 |
+
"""Map assistant ``tool_calls[].id`` to ``(1-based position, function name)``.
|
| 358 |
+
|
| 359 |
+
The position mirrors the chat template's enumeration over ``tool_calls``
|
| 360 |
+
(every entry advances the position, even an id-less one). Duplicate ids keep
|
| 361 |
+
their first occurrence.
|
| 362 |
+
"""
|
| 363 |
+
index: dict = {}
|
| 364 |
+
if not isinstance(tool_calls, list):
|
| 365 |
+
return index
|
| 366 |
+
for position, tool_call in enumerate(tool_calls, start=1):
|
| 367 |
+
if not isinstance(tool_call, dict):
|
| 368 |
+
continue
|
| 369 |
+
call_id = tool_call.get("id")
|
| 370 |
+
if call_id is None:
|
| 371 |
+
continue
|
| 372 |
+
key = str(call_id)
|
| 373 |
+
if key in index:
|
| 374 |
+
continue
|
| 375 |
+
function = tool_call.get("function")
|
| 376 |
+
name = (function.get("name")
|
| 377 |
+
if isinstance(function, dict) else tool_call.get("name"))
|
| 378 |
+
index[key] = (position, name)
|
| 379 |
+
return index
|
| 380 |
+
|
| 381 |
+
|
| 382 |
+
def normalize_xtml_tool_result_messages(messages: list[Any]) -> list[Any]:
|
| 383 |
+
"""Re-sort K3 XTML tool results into assistant ``tool_calls`` order.
|
| 384 |
+
|
| 385 |
+
Serving frameworks generally deliver tool results already in call order. A
|
| 386 |
+
direct Transformers caller, however, may pass OpenAI-style tool messages in any
|
| 387 |
+
order, so each run of consecutive tool messages is matched against the most
|
| 388 |
+
recent preceding assistant ``tool_calls`` by opaque ``tool_call_id`` ==
|
| 389 |
+
``tool_calls[].id`` (K3 drops the ``func:index`` format requirement) and
|
| 390 |
+
sorted by the matched 1-based position. The matched call is authoritative,
|
| 391 |
+
so each matched message's ``tool`` is set to that call's function name --
|
| 392 |
+
this keeps an explicit (and possibly stale) ``tool``/``name`` from drifting
|
| 393 |
+
out of sync with the reordered position. ``index`` is still derived from the
|
| 394 |
+
rendered position by the chat template. A run that cannot be fully matched is
|
| 395 |
+
left untouched. Re-running is idempotent.
|
| 396 |
+
|
| 397 |
+
This function is side-effect free: matched tool messages are shallow-copied
|
| 398 |
+
before their ``tool``/``name`` is rewritten, and every other message is
|
| 399 |
+
appended to the output as-is. The input list and its message objects are
|
| 400 |
+
never mutated.
|
| 401 |
+
"""
|
| 402 |
+
if not isinstance(messages, list):
|
| 403 |
+
return messages
|
| 404 |
+
|
| 405 |
+
output: list[Any] = []
|
| 406 |
+
current_index: dict = {}
|
| 407 |
+
i = 0
|
| 408 |
+
n = len(messages)
|
| 409 |
+
|
| 410 |
+
while i < n:
|
| 411 |
+
message = messages[i]
|
| 412 |
+
|
| 413 |
+
if isinstance(message, dict) and message.get("role") == "assistant":
|
| 414 |
+
tool_calls = message.get("tool_calls")
|
| 415 |
+
current_index = _tool_call_id_index(
|
| 416 |
+
tool_calls) if tool_calls else {}
|
| 417 |
+
output.append(message)
|
| 418 |
+
i += 1
|
| 419 |
+
continue
|
| 420 |
+
|
| 421 |
+
if not isinstance(message, dict) or message.get("role") != "tool":
|
| 422 |
+
output.append(message)
|
| 423 |
+
i += 1
|
| 424 |
+
continue
|
| 425 |
+
|
| 426 |
+
run: list[tuple] = [] # (position, original_offset, message, name)
|
| 427 |
+
unresolved = False
|
| 428 |
+
offset = 0
|
| 429 |
+
while (i < n and isinstance(messages[i], dict)
|
| 430 |
+
and messages[i].get("role") == "tool"):
|
| 431 |
+
tool_message = messages[i]
|
| 432 |
+
call_id = tool_message.get("tool_call_id", tool_message.get("id"))
|
| 433 |
+
matched = current_index.get(
|
| 434 |
+
str(call_id)) if call_id is not None else None
|
| 435 |
+
if matched is None:
|
| 436 |
+
unresolved = True
|
| 437 |
+
run.append((None, offset, tool_message, None))
|
| 438 |
+
else:
|
| 439 |
+
position, name = matched
|
| 440 |
+
run.append((position, offset, tool_message, name))
|
| 441 |
+
offset += 1
|
| 442 |
+
i += 1
|
| 443 |
+
|
| 444 |
+
if unresolved:
|
| 445 |
+
output.extend(item[2] for item in run)
|
| 446 |
+
else:
|
| 447 |
+
run.sort(key=lambda item: (item[0], item[1]))
|
| 448 |
+
for _, _, tool_message, name in run:
|
| 449 |
+
if name is None:
|
| 450 |
+
output.append(tool_message)
|
| 451 |
+
continue
|
| 452 |
+
# The id-matched call is authoritative: align tool (and any
|
| 453 |
+
# explicit name) so the rendered XTML tool attribute cannot
|
| 454 |
+
# disagree with the reordered position. Copy first so the
|
| 455 |
+
# caller's message object is never mutated.
|
| 456 |
+
resolved = dict(tool_message)
|
| 457 |
+
resolved["tool"] = name
|
| 458 |
+
if "name" in resolved:
|
| 459 |
+
resolved["name"] = name
|
| 460 |
+
output.append(resolved)
|
| 461 |
+
|
| 462 |
+
return output
|
| 463 |
+
|
| 464 |
+
|
| 465 |
+
def is_batched_conversation(conversation: Any) -> bool:
|
| 466 |
+
return (isinstance(conversation, list) and bool(conversation)
|
| 467 |
+
and isinstance(conversation[0], list))
|
| 468 |
+
|
| 469 |
+
|
| 470 |
+
def _render_content_segments(
|
| 471 |
+
content: Any,
|
| 472 |
+
image_state: _ImagePromptState,
|
| 473 |
+
) -> list[EncodeSegment]:
|
| 474 |
+
segments: list[EncodeSegment] = []
|
| 475 |
+
if isinstance(content, str):
|
| 476 |
+
_append_text(segments, content, image_state)
|
| 477 |
+
elif content is not None:
|
| 478 |
+
for part in content:
|
| 479 |
+
if part["type"] in ["image", "image_url"]:
|
| 480 |
+
segments.extend(
|
| 481 |
+
_segment(image_state.next_prompt(), allow_special=True))
|
| 482 |
+
else:
|
| 483 |
+
_append_text(segments, part["text"], image_state)
|
| 484 |
+
return segments
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
def _internal_system_message(message_type: str,
|
| 488 |
+
body: str) -> list[EncodeSegment]:
|
| 489 |
+
segments: list[EncodeSegment] = []
|
| 490 |
+
segments.extend(
|
| 491 |
+
_open_tag("message", [("role", "system"), ("type", message_type)]))
|
| 492 |
+
segments.extend(_text(body.strip()))
|
| 493 |
+
segments.extend(_close_tag("message"))
|
| 494 |
+
segments.extend(_end_of_msg())
|
| 495 |
+
return segments
|
| 496 |
+
|
| 497 |
+
|
| 498 |
+
def _render_assistant_segments(
|
| 499 |
+
message: dict[str, Any],
|
| 500 |
+
image_state: _ImagePromptState,
|
| 501 |
+
thinking: bool = True,
|
| 502 |
+
) -> list[EncodeSegment]:
|
| 503 |
+
segments: list[EncodeSegment] = []
|
| 504 |
+
# The <think> channel is structural: in thinking mode every assistant
|
| 505 |
+
# message carries the open/close tags even when there is no reasoning
|
| 506 |
+
# content to fill in. In non-thinking mode the channel is dropped
|
| 507 |
+
# entirely.
|
| 508 |
+
if thinking:
|
| 509 |
+
reasoning_content = message.get("reasoning_content") or message.get(
|
| 510 |
+
"reasoning")
|
| 511 |
+
segments.extend(_open_tag("think"))
|
| 512 |
+
# Only an empty string counts as no reasoning, so whitespace-only
|
| 513 |
+
# reasoning is still rendered into the think channel.
|
| 514 |
+
if reasoning_content is not None and str(reasoning_content) != "":
|
| 515 |
+
_append_text(segments, reasoning_content, image_state)
|
| 516 |
+
segments.extend(_close_tag("think"))
|
| 517 |
+
|
| 518 |
+
segments.extend(_open_tag("response"))
|
| 519 |
+
segments.extend(
|
| 520 |
+
_render_content_segments(message.get("content"), image_state))
|
| 521 |
+
segments.extend(_close_tag("response"))
|
| 522 |
+
|
| 523 |
+
tool_calls = message.get("tool_calls")
|
| 524 |
+
if tool_calls:
|
| 525 |
+
segments.extend(_open_tag("tools"))
|
| 526 |
+
for index, tool_call in enumerate(tool_calls, start=1):
|
| 527 |
+
fn = tool_call.get("function", tool_call)
|
| 528 |
+
segments.extend(
|
| 529 |
+
_open_tag("call", [("tool", fn["name"]), ("index", index)]))
|
| 530 |
+
args = fn.get("arguments", [])
|
| 531 |
+
json_block = fn.get("_xtml_json_block")
|
| 532 |
+
if json_block is not None:
|
| 533 |
+
segments.extend(_open_tag("json", [("type", "object")]))
|
| 534 |
+
_append_text(segments, json_block, image_state)
|
| 535 |
+
segments.extend(_close_tag("json"))
|
| 536 |
+
else:
|
| 537 |
+
for key, arg_type, arg_text in args:
|
| 538 |
+
segments.extend(
|
| 539 |
+
_open_tag("argument", [("key", key),
|
| 540 |
+
("type", arg_type)]))
|
| 541 |
+
_append_text(segments, arg_text, image_state)
|
| 542 |
+
segments.extend(_close_tag("argument"))
|
| 543 |
+
segments.extend(_close_tag("call"))
|
| 544 |
+
segments.extend(_close_tag("tools"))
|
| 545 |
+
|
| 546 |
+
return segments
|
| 547 |
+
|
| 548 |
+
|
| 549 |
+
def _render_tool_declare(tools: Any,
|
| 550 |
+
*,
|
| 551 |
+
dynamic: bool = False) -> list[EncodeSegment]:
|
| 552 |
+
if dynamic:
|
| 553 |
+
body = (
|
| 554 |
+
"## New Tools Available\n"
|
| 555 |
+
"The system dynamically extends the toolset via lazy-loading.\n"
|
| 556 |
+
"You have access to all existing and extended tools.\n"
|
| 557 |
+
"Here are the specs for the extended tools.\n\n"
|
| 558 |
+
"```json\n"
|
| 559 |
+
f"{_json_compact(tools)}\n"
|
| 560 |
+
"```")
|
| 561 |
+
else:
|
| 562 |
+
body = ("# Tools\n"
|
| 563 |
+
"Here are the available tools, described in JSONSchema.\n\n"
|
| 564 |
+
"```json\n"
|
| 565 |
+
f"{_json_compact(tools)}\n"
|
| 566 |
+
"```")
|
| 567 |
+
segments: list[EncodeSegment] = []
|
| 568 |
+
segments.extend(
|
| 569 |
+
_open_tag("message", [("role", "system"), ("type", "tool-declare")]))
|
| 570 |
+
segments.extend(_text(body))
|
| 571 |
+
segments.extend(_close_tag("message"))
|
| 572 |
+
segments.extend(_end_of_msg())
|
| 573 |
+
return segments
|
| 574 |
+
|
| 575 |
+
|
| 576 |
+
def build_chat_segments(
|
| 577 |
+
messages: list[Any],
|
| 578 |
+
tools: Optional[list[dict]] = None,
|
| 579 |
+
*,
|
| 580 |
+
add_generation_prompt: bool = True,
|
| 581 |
+
thinking: bool = True,
|
| 582 |
+
image_prompts: Optional[list[str]] = None,
|
| 583 |
+
**kwargs: Any,
|
| 584 |
+
) -> list[EncodeSegment]:
|
| 585 |
+
# Re-sort tool results by tool_call_id at the lowest layer so every caller
|
| 586 |
+
# (processor or direct tokenizer) gets correctly ordered XTML. The helper is
|
| 587 |
+
# side-effect free, so the caller's message objects are left untouched.
|
| 588 |
+
messages = normalize_xtml_tool_result_messages(messages)
|
| 589 |
+
messages = normalize_conversation(messages)
|
| 590 |
+
tools = deep_sort_dict(tools)
|
| 591 |
+
|
| 592 |
+
kwargs = dict(kwargs)
|
| 593 |
+
response_format = kwargs.get("response_format")
|
| 594 |
+
if "response_schema" not in kwargs:
|
| 595 |
+
response_schema = extract_response_schema(response_format)
|
| 596 |
+
if response_schema is not None:
|
| 597 |
+
kwargs["response_schema"] = response_schema
|
| 598 |
+
if kwargs.get("response_schema") is not None:
|
| 599 |
+
kwargs["response_schema"] = deep_sort_dict(kwargs["response_schema"])
|
| 600 |
+
|
| 601 |
+
image_state = _ImagePromptState(image_prompts)
|
| 602 |
+
segments: list[EncodeSegment] = []
|
| 603 |
+
|
| 604 |
+
tool_calls = None
|
| 605 |
+
tool_index = 0
|
| 606 |
+
|
| 607 |
+
if tools:
|
| 608 |
+
segments.extend(_render_tool_declare(tools))
|
| 609 |
+
|
| 610 |
+
thinking_effort = kwargs.get("thinking_effort")
|
| 611 |
+
if thinking and thinking_effort is not None:
|
| 612 |
+
assert thinking_effort in _VALID_THINKING_EFFORTS, (
|
| 613 |
+
f"Unsupported thinking_effort={thinking_effort!r}; "
|
| 614 |
+
f"supported values are {sorted(_VALID_THINKING_EFFORTS)}.")
|
| 615 |
+
if thinking and thinking_effort in _VALID_THINKING_EFFORTS:
|
| 616 |
+
segments.extend(
|
| 617 |
+
_internal_system_message(
|
| 618 |
+
"thinking-effort",
|
| 619 |
+
"`thinking_effort` guides on how much to think in your "
|
| 620 |
+
"thinking channel (not including the response channel), "
|
| 621 |
+
"supported values include `low`, `medium`, `high`, and `max`.\n"
|
| 622 |
+
f"Now the system is invoked with `thinking_effort={thinking_effort}`.",
|
| 623 |
+
))
|
| 624 |
+
|
| 625 |
+
for message_index, message in enumerate(messages):
|
| 626 |
+
# Malformed messages are rejected instead of being silently skipped.
|
| 627 |
+
if not isinstance(message, dict):
|
| 628 |
+
raise ValueError(
|
| 629 |
+
f"Kimi K3 messages must be dicts, got {type(message).__name__} "
|
| 630 |
+
f"at index {message_index}.")
|
| 631 |
+
|
| 632 |
+
role = message.get("role")
|
| 633 |
+
if role == "user":
|
| 634 |
+
attrs = [("role", "user")]
|
| 635 |
+
if message.get("name"):
|
| 636 |
+
attrs.append(("name", message["name"]))
|
| 637 |
+
segments.extend(_open_tag("message", attrs))
|
| 638 |
+
segments.extend(
|
| 639 |
+
_render_content_segments(message.get("content"), image_state))
|
| 640 |
+
segments.extend(_close_tag("message"))
|
| 641 |
+
segments.extend(_end_of_msg())
|
| 642 |
+
elif role == "system" and message.get("tools"):
|
| 643 |
+
segments.extend(
|
| 644 |
+
_render_tool_declare(message["tools"], dynamic=True))
|
| 645 |
+
elif role == "system":
|
| 646 |
+
attrs = [("role", "system")]
|
| 647 |
+
if message.get("name"):
|
| 648 |
+
attrs.append(("name", message["name"]))
|
| 649 |
+
segments.extend(_open_tag("message", attrs))
|
| 650 |
+
segments.extend(
|
| 651 |
+
_render_content_segments(message.get("content"), image_state))
|
| 652 |
+
segments.extend(_close_tag("message"))
|
| 653 |
+
segments.extend(_end_of_msg())
|
| 654 |
+
elif role == "tool":
|
| 655 |
+
tool_index += 1
|
| 656 |
+
tool_name = message.get("tool", message.get("name"))
|
| 657 |
+
if (tool_name is None and tool_calls is not None
|
| 658 |
+
and tool_index <= len(tool_calls)):
|
| 659 |
+
tc = tool_calls[tool_index - 1]
|
| 660 |
+
fn = tc.get("function", tc)
|
| 661 |
+
tool_name = fn["name"]
|
| 662 |
+
if tool_name is None:
|
| 663 |
+
raise ValueError(
|
| 664 |
+
"Kimi K3 tool messages need a resolvable tool name: "
|
| 665 |
+
"carry `tool`/`name`, or match a preceding assistant "
|
| 666 |
+
"tool_call by order.")
|
| 667 |
+
segments.extend(
|
| 668 |
+
_open_tag(
|
| 669 |
+
"message",
|
| 670 |
+
[("role", "tool"), ("tool", tool_name),
|
| 671 |
+
("index", tool_index)],
|
| 672 |
+
))
|
| 673 |
+
segments.extend(
|
| 674 |
+
_render_content_segments(message.get("content"), image_state))
|
| 675 |
+
segments.extend(_close_tag("message"))
|
| 676 |
+
segments.extend(_end_of_msg())
|
| 677 |
+
elif role == "assistant":
|
| 678 |
+
tool_calls = message.get("tool_calls")
|
| 679 |
+
tool_index = 0
|
| 680 |
+
attrs = [("role", "assistant")]
|
| 681 |
+
if message.get("name"):
|
| 682 |
+
attrs.append(("name", message["name"]))
|
| 683 |
+
segments.extend(_open_tag("message", attrs))
|
| 684 |
+
segments.extend(
|
| 685 |
+
_render_assistant_segments(message, image_state, thinking))
|
| 686 |
+
segments.extend(_close_tag("message"))
|
| 687 |
+
segments.extend(_end_of_msg())
|
| 688 |
+
else:
|
| 689 |
+
raise ValueError(
|
| 690 |
+
f"Unknown message role {role!r} at index {message_index}.")
|
| 691 |
+
|
| 692 |
+
tool_choice = kwargs.get("tool_choice")
|
| 693 |
+
if tool_choice == "required":
|
| 694 |
+
segments.extend(
|
| 695 |
+
_internal_system_message(
|
| 696 |
+
"tool-choice",
|
| 697 |
+
"The system is invoked with `tool_choice=required`.\n"
|
| 698 |
+
"You MUST call tools in the next message.",
|
| 699 |
+
))
|
| 700 |
+
elif tool_choice == "none":
|
| 701 |
+
segments.extend(
|
| 702 |
+
_internal_system_message(
|
| 703 |
+
"tool-choice",
|
| 704 |
+
"The system is invoked with `tool_choice=none`.\n"
|
| 705 |
+
"You MUST NOT call any tools in the next message.",
|
| 706 |
+
))
|
| 707 |
+
|
| 708 |
+
rf = kwargs.get("response_format")
|
| 709 |
+
rf_type = _get_value(rf, "type", rf) if isinstance(rf, dict) else rf
|
| 710 |
+
if rf_type == "json_object":
|
| 711 |
+
segments.extend(
|
| 712 |
+
_internal_system_message(
|
| 713 |
+
"response-format",
|
| 714 |
+
"The system is invoked with `response_format=json_object`.\n"
|
| 715 |
+
"Your response must be raw JSON data without markdown code "
|
| 716 |
+
"blocks (```json) or any additional formatting.",
|
| 717 |
+
))
|
| 718 |
+
elif rf_type == "json_schema":
|
| 719 |
+
schema = _json_compact(kwargs.get("response_schema"))
|
| 720 |
+
segments.extend(
|
| 721 |
+
_internal_system_message(
|
| 722 |
+
"response-format",
|
| 723 |
+
"The system is invoked with `response_format=json_schema`.\n"
|
| 724 |
+
"Your response must be raw JSON data without markdown code "
|
| 725 |
+
"blocks (```json) or any additional formatting.\n"
|
| 726 |
+
"The JSON data must match the following schema:\n"
|
| 727 |
+
f"```json\n{schema}\n```",
|
| 728 |
+
))
|
| 729 |
+
|
| 730 |
+
if add_generation_prompt:
|
| 731 |
+
segments.extend(_open_tag("message", [("role", "assistant")]))
|
| 732 |
+
segments.extend(_open_tag("think" if thinking else "response"))
|
| 733 |
+
|
| 734 |
+
image_state.assert_consumed()
|
| 735 |
+
return segments
|
eval/data/LICENCE_AUDIT.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"commercial_safe_all": true,
|
| 3 |
+
"zero_cc_by_nc": true,
|
| 4 |
+
"zero_proprietary_llm_outputs": true,
|
| 5 |
+
"licences": {
|
| 6 |
+
"CC0-1.0 (arXiv metadata/abstract)": 1135,
|
| 7 |
+
"US-Gov-Public-Domain (NASA NTRS PUBLIC)": 78,
|
| 8 |
+
"Apache-2.0": 4,
|
| 9 |
+
"BSD-3-Clause": 1,
|
| 10 |
+
"ISC": 1
|
| 11 |
+
},
|
| 12 |
+
"domains": {
|
| 13 |
+
"space": 558,
|
| 14 |
+
"chips": 431,
|
| 15 |
+
"physics": 230
|
| 16 |
+
}
|
| 17 |
+
}
|
eval/data/MANIFEST.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "star.domain_corpus.v1",
|
| 3 |
+
"builder_sha256": "8186158c9fe32b8f5e965e28f2882c11f5a2f4a69e1fc7f750b0161777458d2b",
|
| 4 |
+
"total_docs": 1219,
|
| 5 |
+
"date_min": "1975-08-01",
|
| 6 |
+
"date_max": "2026-11-18",
|
| 7 |
+
"holdout_cutoff_date": "2026-10-01",
|
| 8 |
+
"holdout_cutoff_mode": "MANDATED_2026_10_01",
|
| 9 |
+
"train_holdout_disjoint": true,
|
| 10 |
+
"files": {
|
| 11 |
+
"train_corpus_v1.jsonl": {
|
| 12 |
+
"count": 647,
|
| 13 |
+
"bytes": 1146654,
|
| 14 |
+
"sha256": "c85373edcb6e4a358b14baf9629e6fdb9202ef2e87bb894bd618bc5c1a3cec95"
|
| 15 |
+
},
|
| 16 |
+
"holdout_corpus_v1.jsonl": {
|
| 17 |
+
"count": 572,
|
| 18 |
+
"bytes": 1005072,
|
| 19 |
+
"sha256": "cb5e7b95a0da3bc8d2c35ded1f8a3c3880455269a0d54b4a1f016279e84dafed"
|
| 20 |
+
},
|
| 21 |
+
"k3stream_holdout_pack.jsonl": {
|
| 22 |
+
"count": 68,
|
| 23 |
+
"bytes": 926045,
|
| 24 |
+
"sha256": "23ad829fe225afee5f2cb8b93311ac491ff2ba6ccd338fe3ab467f0fef23694a"
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"licence_audit": {
|
| 28 |
+
"commercial_safe_all": true,
|
| 29 |
+
"zero_cc_by_nc": true,
|
| 30 |
+
"zero_proprietary_llm_outputs": true,
|
| 31 |
+
"licences": {
|
| 32 |
+
"CC0-1.0 (arXiv metadata/abstract)": 1135,
|
| 33 |
+
"US-Gov-Public-Domain (NASA NTRS PUBLIC)": 78,
|
| 34 |
+
"Apache-2.0": 4,
|
| 35 |
+
"BSD-3-Clause": 1,
|
| 36 |
+
"ISC": 1
|
| 37 |
+
},
|
| 38 |
+
"domains": {
|
| 39 |
+
"space": 558,
|
| 40 |
+
"chips": 431,
|
| 41 |
+
"physics": 230
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"fetch_errors": []
|
| 45 |
+
}
|
eval/data/train_corpus_v1.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/data/train_corpus_v2.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/data/train_corpus_v2b.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
eval/finalize_report_2026-11-23.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"revision": "2ebc909bb8900b714c511045b8db8fae7df63a36",
|
| 3 |
+
"shards": 96,
|
| 4 |
+
"tensors": 638652,
|
| 5 |
+
"total_size": 1974828274688,
|
| 6 |
+
"moe_layers": 92,
|
| 7 |
+
"experts_per_layer": 1152,
|
| 8 |
+
"bad_layers": [],
|
| 9 |
+
"routers": 92,
|
| 10 |
+
"bad_routers": [],
|
| 11 |
+
"upstream_tensors_missing": 0,
|
| 12 |
+
"unexpected_new_tensors": 0
|
| 13 |
+
}
|
eval/h2a/N1_train_record.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h2a/N1",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"experts": 16,
|
| 8 |
+
"hidden": 1024,
|
| 9 |
+
"topk": 2,
|
| 10 |
+
"lr": 0.0003,
|
| 11 |
+
"epochs": 4.0,
|
| 12 |
+
"bs": 2048,
|
| 13 |
+
"kl": 1.0,
|
| 14 |
+
"val_frac": 0.1,
|
| 15 |
+
"seed": 20261119
|
| 16 |
+
},
|
| 17 |
+
"new_expert_parameters": 352436224,
|
| 18 |
+
"val_before": 1.8403315544128418,
|
| 19 |
+
"val_after": 2.0770204067230225,
|
| 20 |
+
"val_gen_before": 0.1100296825170517,
|
| 21 |
+
"val_gen_after": 0.11417251825332642,
|
| 22 |
+
"rel_dom": 0.12861207087529197,
|
| 23 |
+
"rel_gen": 0.037651983005882884,
|
| 24 |
+
"delta_W_abs_sum": {
|
| 25 |
+
"router": 295.31134033203125,
|
| 26 |
+
"gate": 312469.09375,
|
| 27 |
+
"up": 320723.53125,
|
| 28 |
+
"down": 274400.65625
|
| 29 |
+
},
|
| 30 |
+
"steps": 267,
|
| 31 |
+
"log": [
|
| 32 |
+
{
|
| 33 |
+
"step": 0,
|
| 34 |
+
"loss_domain": 1.8214353322982788,
|
| 35 |
+
"loss_kl": 0.0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"step": 20,
|
| 39 |
+
"loss_domain": 1.8345516920089722,
|
| 40 |
+
"loss_kl": 6.885812035761774e-05
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"step": 40,
|
| 44 |
+
"loss_domain": 1.8004660606384277,
|
| 45 |
+
"loss_kl": 0.0002608851355034858
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"step": 60,
|
| 49 |
+
"loss_domain": 1.7282191514968872,
|
| 50 |
+
"loss_kl": 0.0002983427548315376
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"step": 80,
|
| 54 |
+
"loss_domain": 1.6105151176452637,
|
| 55 |
+
"loss_kl": 0.0006766102742403746
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"step": 100,
|
| 59 |
+
"loss_domain": 1.4364731311798096,
|
| 60 |
+
"loss_kl": 0.0006663534441031516
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"step": 120,
|
| 64 |
+
"loss_domain": 1.3394174575805664,
|
| 65 |
+
"loss_kl": 0.0006410631467588246
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"step": 140,
|
| 69 |
+
"loss_domain": 1.248926043510437,
|
| 70 |
+
"loss_kl": 0.000897740654181689
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"step": 160,
|
| 74 |
+
"loss_domain": 1.137998342514038,
|
| 75 |
+
"loss_kl": 0.001065670745447278
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"step": 180,
|
| 79 |
+
"loss_domain": 1.0607072114944458,
|
| 80 |
+
"loss_kl": 0.0014508693711832166
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"step": 200,
|
| 84 |
+
"loss_domain": 0.941565752029419,
|
| 85 |
+
"loss_kl": 0.0008530134800821543
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"step": 220,
|
| 89 |
+
"loss_domain": 0.9651099443435669,
|
| 90 |
+
"loss_kl": 0.0013245841255411506
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"step": 240,
|
| 94 |
+
"loss_domain": 0.886405348777771,
|
| 95 |
+
"loss_kl": 0.0013737442204728723
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"step": 260,
|
| 99 |
+
"loss_domain": 0.933637797832489,
|
| 100 |
+
"loss_kl": 0.0012137051671743393
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"step": 266,
|
| 104 |
+
"loss_domain": 0.9157818555831909,
|
| 105 |
+
"loss_kl": 0.001604795572347939
|
| 106 |
+
}
|
| 107 |
+
]
|
| 108 |
+
}
|
eval/h2a/N2_train_record.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h2a/N2",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"experts": 16,
|
| 8 |
+
"hidden": 1024,
|
| 9 |
+
"topk": 2,
|
| 10 |
+
"lr": 0.001,
|
| 11 |
+
"epochs": 4.0,
|
| 12 |
+
"bs": 2048,
|
| 13 |
+
"kl": 1.0,
|
| 14 |
+
"val_frac": 0.1,
|
| 15 |
+
"seed": 20261119
|
| 16 |
+
},
|
| 17 |
+
"new_expert_parameters": 352436224,
|
| 18 |
+
"val_before": 1.8403315544128418,
|
| 19 |
+
"val_after": 2.1293654441833496,
|
| 20 |
+
"val_gen_before": 0.1100296825170517,
|
| 21 |
+
"val_gen_after": 0.1157451719045639,
|
| 22 |
+
"rel_dom": 0.15705533553312578,
|
| 23 |
+
"rel_gen": 0.05194497754391372,
|
| 24 |
+
"delta_W_abs_sum": {
|
| 25 |
+
"router": 578.0286254882812,
|
| 26 |
+
"gate": 503366.5625,
|
| 27 |
+
"up": 504348.0,
|
| 28 |
+
"down": 469644.0
|
| 29 |
+
},
|
| 30 |
+
"steps": 267,
|
| 31 |
+
"log": [
|
| 32 |
+
{
|
| 33 |
+
"step": 0,
|
| 34 |
+
"loss_domain": 1.8214353322982788,
|
| 35 |
+
"loss_kl": 0.0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"step": 20,
|
| 39 |
+
"loss_domain": 1.8319220542907715,
|
| 40 |
+
"loss_kl": 0.00010278042464051396
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"step": 40,
|
| 44 |
+
"loss_domain": 1.8163652420043945,
|
| 45 |
+
"loss_kl": 0.0007336505805142224
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"step": 60,
|
| 49 |
+
"loss_domain": 1.7105494737625122,
|
| 50 |
+
"loss_kl": 0.000741214957088232
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"step": 80,
|
| 54 |
+
"loss_domain": 1.562023401260376,
|
| 55 |
+
"loss_kl": 0.0015322950202971697
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"step": 100,
|
| 59 |
+
"loss_domain": 1.404606819152832,
|
| 60 |
+
"loss_kl": 0.0013639843091368675
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"step": 120,
|
| 64 |
+
"loss_domain": 1.3036623001098633,
|
| 65 |
+
"loss_kl": 0.0013334774412214756
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"step": 140,
|
| 69 |
+
"loss_domain": 1.1716399192810059,
|
| 70 |
+
"loss_kl": 0.0019060751656070352
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"step": 160,
|
| 74 |
+
"loss_domain": 1.0783851146697998,
|
| 75 |
+
"loss_kl": 0.0017470780294388533
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"step": 180,
|
| 79 |
+
"loss_domain": 0.9796581268310547,
|
| 80 |
+
"loss_kl": 0.0022753004450351
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"step": 200,
|
| 84 |
+
"loss_domain": 0.8479578495025635,
|
| 85 |
+
"loss_kl": 0.001421548193320632
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"step": 220,
|
| 89 |
+
"loss_domain": 0.8543260097503662,
|
| 90 |
+
"loss_kl": 0.0019620833918452263
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"step": 240,
|
| 94 |
+
"loss_domain": 0.7645622491836548,
|
| 95 |
+
"loss_kl": 0.0016948636621236801
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"step": 260,
|
| 99 |
+
"loss_domain": 0.811174750328064,
|
| 100 |
+
"loss_kl": 0.0015586377121508121
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"step": 266,
|
| 104 |
+
"loss_domain": 0.7980599403381348,
|
| 105 |
+
"loss_kl": 0.002930645365267992
|
| 106 |
+
}
|
| 107 |
+
]
|
| 108 |
+
}
|
eval/h2a/selection.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prereg": "16_EVIDENCE/TRINITY/LB_H2A_PREREG_2026-11-20.md",
|
| 3 |
+
"rows": [
|
| 4 |
+
{
|
| 5 |
+
"config": "N1",
|
| 6 |
+
"lr": 0.0003,
|
| 7 |
+
"rc": 0,
|
| 8 |
+
"rel_dom": 0.12861207087529197,
|
| 9 |
+
"rel_gen": 0.037651983005882884,
|
| 10 |
+
"new_expert_parameters": 352436224,
|
| 11 |
+
"steps": 267
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"config": "N2",
|
| 15 |
+
"lr": 0.001,
|
| 16 |
+
"rc": 0,
|
| 17 |
+
"rel_dom": 0.15705533553312578,
|
| 18 |
+
"rel_gen": 0.05194497754391372,
|
| 19 |
+
"new_expert_parameters": 352436224,
|
| 20 |
+
"steps": 267
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"choice": null,
|
| 24 |
+
"reading": null
|
| 25 |
+
}
|
eval/h2b/U1_train_record.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h2b/U1",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 16,
|
| 8 |
+
"lr": 1e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119
|
| 14 |
+
},
|
| 15 |
+
"unfrozen_experts": [
|
| 16 |
+
565,
|
| 17 |
+
840,
|
| 18 |
+
879,
|
| 19 |
+
39,
|
| 20 |
+
472,
|
| 21 |
+
631,
|
| 22 |
+
621,
|
| 23 |
+
227,
|
| 24 |
+
590,
|
| 25 |
+
883,
|
| 26 |
+
479,
|
| 27 |
+
666,
|
| 28 |
+
410,
|
| 29 |
+
559,
|
| 30 |
+
882,
|
| 31 |
+
87
|
| 32 |
+
],
|
| 33 |
+
"trained_parameters": 528482304,
|
| 34 |
+
"val_before": 1.8403315544128418,
|
| 35 |
+
"identity_check": 1.8403819799423218,
|
| 36 |
+
"val_after": 1.8348989486694336,
|
| 37 |
+
"val_gen_before": 0.1100296825170517,
|
| 38 |
+
"val_gen_after": 0.11003688722848892,
|
| 39 |
+
"rel_dom": -0.002951971198005936,
|
| 40 |
+
"rel_gen": 6.547970758807562e-05,
|
| 41 |
+
"delta_W_abs_sum": 45146.78234863281,
|
| 42 |
+
"steps": 133,
|
| 43 |
+
"log": [
|
| 44 |
+
{
|
| 45 |
+
"step": 0,
|
| 46 |
+
"loss_domain": 1.8212523460388184,
|
| 47 |
+
"loss_kl": 6.988088898651768e-07
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"step": 20,
|
| 51 |
+
"loss_domain": 1.8575013875961304,
|
| 52 |
+
"loss_kl": 1.7852239579951856e-06
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"step": 40,
|
| 56 |
+
"loss_domain": 1.841360330581665,
|
| 57 |
+
"loss_kl": 1.1722261206159601e-07
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"step": 60,
|
| 61 |
+
"loss_domain": 1.8352367877960205,
|
| 62 |
+
"loss_kl": 1.1438814908615313e-06
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"step": 80,
|
| 66 |
+
"loss_domain": 1.8067381381988525,
|
| 67 |
+
"loss_kl": 2.634013071656227e-06
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"step": 100,
|
| 71 |
+
"loss_domain": 1.7081639766693115,
|
| 72 |
+
"loss_kl": 6.104537533246912e-07
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"step": 120,
|
| 76 |
+
"loss_domain": 1.750873327255249,
|
| 77 |
+
"loss_kl": 2.757104198281013e-07
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"step": 132,
|
| 81 |
+
"loss_domain": 1.8461107015609741,
|
| 82 |
+
"loss_kl": 3.3811480193435273e-07
|
| 83 |
+
}
|
| 84 |
+
]
|
| 85 |
+
}
|
eval/h2b/U2_experts.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b15ca55ccdec7d6628445e25db41fe28730c14644f2dd333a594bbc4083fbebf
|
| 3 |
+
size 1056977747
|
eval/h2b/U2_train_record.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h2b/U2",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 16,
|
| 8 |
+
"lr": 3e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119
|
| 14 |
+
},
|
| 15 |
+
"unfrozen_experts": [
|
| 16 |
+
565,
|
| 17 |
+
840,
|
| 18 |
+
879,
|
| 19 |
+
39,
|
| 20 |
+
472,
|
| 21 |
+
631,
|
| 22 |
+
621,
|
| 23 |
+
227,
|
| 24 |
+
590,
|
| 25 |
+
883,
|
| 26 |
+
479,
|
| 27 |
+
666,
|
| 28 |
+
410,
|
| 29 |
+
559,
|
| 30 |
+
882,
|
| 31 |
+
87
|
| 32 |
+
],
|
| 33 |
+
"trained_parameters": 528482304,
|
| 34 |
+
"val_before": 1.8403315544128418,
|
| 35 |
+
"identity_check": 1.8403819799423218,
|
| 36 |
+
"val_after": 1.8330833911895752,
|
| 37 |
+
"val_gen_before": 0.1100296825170517,
|
| 38 |
+
"val_gen_after": 0.11005561798810959,
|
| 39 |
+
"rel_dom": -0.0039385094527595215,
|
| 40 |
+
"rel_gen": 0.00023571340446131462,
|
| 41 |
+
"delta_W_abs_sum": 129752.5478515625,
|
| 42 |
+
"steps": 133,
|
| 43 |
+
"log": [
|
| 44 |
+
{
|
| 45 |
+
"step": 0,
|
| 46 |
+
"loss_domain": 1.8212523460388184,
|
| 47 |
+
"loss_kl": 6.988088898651768e-07
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"step": 20,
|
| 51 |
+
"loss_domain": 1.8463425636291504,
|
| 52 |
+
"loss_kl": 8.760162018006667e-07
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"step": 40,
|
| 56 |
+
"loss_domain": 1.821229100227356,
|
| 57 |
+
"loss_kl": 3.100228695984697e-07
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"step": 60,
|
| 61 |
+
"loss_domain": 1.8086574077606201,
|
| 62 |
+
"loss_kl": 1.7957036106963642e-06
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"step": 80,
|
| 66 |
+
"loss_domain": 1.777493953704834,
|
| 67 |
+
"loss_kl": 2.679446424735943e-06
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"step": 100,
|
| 71 |
+
"loss_domain": 1.6761424541473389,
|
| 72 |
+
"loss_kl": 2.9635427836183226e-06
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"step": 120,
|
| 76 |
+
"loss_domain": 1.717792272567749,
|
| 77 |
+
"loss_kl": 8.062588108259661e-07
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"step": 132,
|
| 81 |
+
"loss_domain": 1.8075759410858154,
|
| 82 |
+
"loss_kl": 2.0911593310302123e-06
|
| 83 |
+
}
|
| 84 |
+
]
|
| 85 |
+
}
|
eval/h2b/dev_verdict_h2b.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"per_set": {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 2.0153141021728516,
|
| 5 |
+
"lb_unfrozen": 2.0110971927642822,
|
| 6 |
+
"base": 2.0126824378967285,
|
| 7 |
+
"lb_vs_base_rel": 0.0012939341831952333,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0007877314215875231,
|
| 10 |
+
0.0018433852528687564
|
| 11 |
+
],
|
| 12 |
+
"lb_unfrozen_vs_base_rel": -0.0007925888057798147,
|
| 13 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 14 |
+
-0.0013899874000344425,
|
| 15 |
+
-0.00020824092571274433
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 23
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.017322301864624,
|
| 21 |
+
"lb_unfrozen": 2.0112407207489014,
|
| 22 |
+
"base": 2.014240026473999,
|
| 23 |
+
"lb_vs_base_rel": 0.001520944177173078,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006466533057391643,
|
| 26 |
+
0.002257457881933078
|
| 27 |
+
],
|
| 28 |
+
"lb_unfrozen_vs_base_rel": -0.00147005554754287,
|
| 29 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 30 |
+
-0.0024148137657903136,
|
| 31 |
+
-0.0006522404670249676
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 12
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.8148294687271118,
|
| 37 |
+
"lb_unfrozen": 1.8092296123504639,
|
| 38 |
+
"base": 1.8128981590270996,
|
| 39 |
+
"lb_vs_base_rel": 0.001064121606759727,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0006397994919097982,
|
| 42 |
+
0.0014875638647936283
|
| 43 |
+
],
|
| 44 |
+
"lb_unfrozen_vs_base_rel": -0.0020376183092594147,
|
| 45 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 46 |
+
-0.0025565963296685368,
|
| 47 |
+
-0.0015412446897244084
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 33
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 0.07447204738855362,
|
| 53 |
+
"lb_unfrozen": 0.07446812093257904,
|
| 54 |
+
"base": 0.07404302805662155,
|
| 55 |
+
"lb_vs_base_rel": 0.00538376672193408,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0002494675063644536,
|
| 58 |
+
0.011335790297016497
|
| 59 |
+
],
|
| 60 |
+
"lb_unfrozen_vs_base_rel": 0.005355811677873135,
|
| 61 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 62 |
+
-0.0004317053710110485,
|
| 63 |
+
0.011338045145384962
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"acceptance": {
|
| 69 |
+
"domain_sets_meeting_-2%": "0/3",
|
| 70 |
+
"general_ok": false,
|
| 71 |
+
"verdict": "FAIL"
|
| 72 |
+
}
|
| 73 |
+
}
|
eval/h2b/dev_verdict_h2b.raw.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b98def587c387d350307e1a0647d17c943a3e25b643a6184ed12f964e9c862f
|
| 3 |
+
size 1948817
|
eval/h2b/selection.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prereg": "16_EVIDENCE/TRINITY/LB_H2B_PREREG_2026-11-20.md",
|
| 3 |
+
"rows": [
|
| 4 |
+
{
|
| 5 |
+
"config": "U1",
|
| 6 |
+
"lr": 1e-05,
|
| 7 |
+
"rc": 0,
|
| 8 |
+
"rel_dom": -0.002951971198005936,
|
| 9 |
+
"rel_gen": 6.547970758807562e-05,
|
| 10 |
+
"trained_parameters": 528482304,
|
| 11 |
+
"identity_check": 1.8403819799423218,
|
| 12 |
+
"val_before": 1.8403315544128418,
|
| 13 |
+
"steps": 133
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"config": "U2",
|
| 17 |
+
"lr": 3e-05,
|
| 18 |
+
"rc": 0,
|
| 19 |
+
"rel_dom": -0.0039385094527595215,
|
| 20 |
+
"rel_gen": 0.00023571340446131462,
|
| 21 |
+
"trained_parameters": 528482304,
|
| 22 |
+
"identity_check": 1.8403819799423218,
|
| 23 |
+
"val_before": 1.8403315544128418,
|
| 24 |
+
"steps": 133
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"choice": "U2",
|
| 28 |
+
"reading": "NOT_BETTER_THAN_LBB"
|
| 29 |
+
}
|
eval/h2c/C1_train_record.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h2c/C1",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 64,
|
| 8 |
+
"lr": 1e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119,
|
| 14 |
+
"opt": "adafactor"
|
| 15 |
+
},
|
| 16 |
+
"unfrozen_experts": [
|
| 17 |
+
565,
|
| 18 |
+
840,
|
| 19 |
+
879,
|
| 20 |
+
39,
|
| 21 |
+
472,
|
| 22 |
+
631,
|
| 23 |
+
621,
|
| 24 |
+
227,
|
| 25 |
+
590,
|
| 26 |
+
883,
|
| 27 |
+
479,
|
| 28 |
+
666,
|
| 29 |
+
410,
|
| 30 |
+
559,
|
| 31 |
+
882,
|
| 32 |
+
87,
|
| 33 |
+
814,
|
| 34 |
+
289,
|
| 35 |
+
1031,
|
| 36 |
+
763,
|
| 37 |
+
475,
|
| 38 |
+
454,
|
| 39 |
+
1033,
|
| 40 |
+
736,
|
| 41 |
+
671,
|
| 42 |
+
377,
|
| 43 |
+
792,
|
| 44 |
+
857,
|
| 45 |
+
177,
|
| 46 |
+
166,
|
| 47 |
+
90,
|
| 48 |
+
764,
|
| 49 |
+
162,
|
| 50 |
+
591,
|
| 51 |
+
610,
|
| 52 |
+
597,
|
| 53 |
+
382,
|
| 54 |
+
778,
|
| 55 |
+
961,
|
| 56 |
+
507,
|
| 57 |
+
411,
|
| 58 |
+
495,
|
| 59 |
+
549,
|
| 60 |
+
116,
|
| 61 |
+
118,
|
| 62 |
+
884,
|
| 63 |
+
221,
|
| 64 |
+
908,
|
| 65 |
+
921,
|
| 66 |
+
1141,
|
| 67 |
+
551,
|
| 68 |
+
11,
|
| 69 |
+
787,
|
| 70 |
+
816,
|
| 71 |
+
858,
|
| 72 |
+
831,
|
| 73 |
+
10,
|
| 74 |
+
488,
|
| 75 |
+
42,
|
| 76 |
+
158,
|
| 77 |
+
199,
|
| 78 |
+
465,
|
| 79 |
+
586,
|
| 80 |
+
135
|
| 81 |
+
],
|
| 82 |
+
"trained_parameters": 2113929216,
|
| 83 |
+
"val_before": 1.8403315544128418,
|
| 84 |
+
"identity_check": 1.8406234979629517,
|
| 85 |
+
"val_after": 1.840100884437561,
|
| 86 |
+
"val_gen_before": 0.1100296825170517,
|
| 87 |
+
"val_gen_after": 0.11013113707304001,
|
| 88 |
+
"rel_dom": -0.00012534153138202156,
|
| 89 |
+
"rel_gen": 0.0009220653342573173,
|
| 90 |
+
"delta_W_abs_sum": 3991.37788772583,
|
| 91 |
+
"steps": 133,
|
| 92 |
+
"log": [
|
| 93 |
+
{
|
| 94 |
+
"step": 0,
|
| 95 |
+
"loss_domain": 1.821340799331665,
|
| 96 |
+
"loss_kl": 1.6254573438345687e-06
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 20,
|
| 100 |
+
"loss_domain": 1.8628928661346436,
|
| 101 |
+
"loss_kl": 1.7319380276603624e-06
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"step": 40,
|
| 105 |
+
"loss_domain": 1.8530315160751343,
|
| 106 |
+
"loss_kl": 2.0755096556968056e-06
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"step": 60,
|
| 110 |
+
"loss_domain": 1.8501791954040527,
|
| 111 |
+
"loss_kl": 5.049904302723007e-06
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"step": 80,
|
| 115 |
+
"loss_domain": 1.8224471807479858,
|
| 116 |
+
"loss_kl": 8.94617073754489e-07
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step": 100,
|
| 120 |
+
"loss_domain": 1.7251646518707275,
|
| 121 |
+
"loss_kl": 2.234919520560652e-06
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"step": 120,
|
| 125 |
+
"loss_domain": 1.771601915359497,
|
| 126 |
+
"loss_kl": 1.3671906344825402e-06
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"step": 132,
|
| 130 |
+
"loss_domain": 1.8664811849594116,
|
| 131 |
+
"loss_kl": 5.960493467682682e-07
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"domain_routing_share": 0.3268721401691437,
|
| 135 |
+
"peak_gpu_gib": 26.60610580444336
|
| 136 |
+
}
|
eval/h2c/C2_experts.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5f656eef38fbc368c061317313c9b3adde065db3797e0a5dfb58a462df256a4
|
| 3 |
+
size 4227911039
|
eval/h2c/C2_train_record.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
},
|
| 16 |
+
"unfrozen_experts": [
|
| 17 |
+
565,
|
| 18 |
+
840,
|
| 19 |
+
879,
|
| 20 |
+
39,
|
| 21 |
+
472,
|
| 22 |
+
631,
|
| 23 |
+
621,
|
| 24 |
+
227,
|
| 25 |
+
590,
|
| 26 |
+
883,
|
| 27 |
+
479,
|
| 28 |
+
666,
|
| 29 |
+
410,
|
| 30 |
+
559,
|
| 31 |
+
882,
|
| 32 |
+
87,
|
| 33 |
+
814,
|
| 34 |
+
289,
|
| 35 |
+
1031,
|
| 36 |
+
763,
|
| 37 |
+
475,
|
| 38 |
+
454,
|
| 39 |
+
1033,
|
| 40 |
+
736,
|
| 41 |
+
671,
|
| 42 |
+
377,
|
| 43 |
+
792,
|
| 44 |
+
857,
|
| 45 |
+
177,
|
| 46 |
+
166,
|
| 47 |
+
90,
|
| 48 |
+
764,
|
| 49 |
+
162,
|
| 50 |
+
591,
|
| 51 |
+
610,
|
| 52 |
+
597,
|
| 53 |
+
382,
|
| 54 |
+
778,
|
| 55 |
+
961,
|
| 56 |
+
507,
|
| 57 |
+
411,
|
| 58 |
+
495,
|
| 59 |
+
549,
|
| 60 |
+
116,
|
| 61 |
+
118,
|
| 62 |
+
884,
|
| 63 |
+
221,
|
| 64 |
+
908,
|
| 65 |
+
921,
|
| 66 |
+
1141,
|
| 67 |
+
551,
|
| 68 |
+
11,
|
| 69 |
+
787,
|
| 70 |
+
816,
|
| 71 |
+
858,
|
| 72 |
+
831,
|
| 73 |
+
10,
|
| 74 |
+
488,
|
| 75 |
+
42,
|
| 76 |
+
158,
|
| 77 |
+
199,
|
| 78 |
+
465,
|
| 79 |
+
586,
|
| 80 |
+
135
|
| 81 |
+
],
|
| 82 |
+
"trained_parameters": 2113929216,
|
| 83 |
+
"val_before": 1.8403315544128418,
|
| 84 |
+
"identity_check": 1.8406234979629517,
|
| 85 |
+
"val_after": 1.8390562534332275,
|
| 86 |
+
"val_gen_before": 0.1100296825170517,
|
| 87 |
+
"val_gen_after": 0.11002981662750244,
|
| 88 |
+
"rel_dom": -0.0006929734897802928,
|
| 89 |
+
"rel_gen": 1.218857018185482e-06,
|
| 90 |
+
"delta_W_abs_sum": 11939.037715911865,
|
| 91 |
+
"steps": 133,
|
| 92 |
+
"log": [
|
| 93 |
+
{
|
| 94 |
+
"step": 0,
|
| 95 |
+
"loss_domain": 1.821340799331665,
|
| 96 |
+
"loss_kl": 1.6254573438345687e-06
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 20,
|
| 100 |
+
"loss_domain": 1.8621320724487305,
|
| 101 |
+
"loss_kl": 1.2786986189894378e-06
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"step": 40,
|
| 105 |
+
"loss_domain": 1.851332187652588,
|
| 106 |
+
"loss_kl": 1.8230447267342242e-06
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"step": 60,
|
| 110 |
+
"loss_domain": 1.8482069969177246,
|
| 111 |
+
"loss_kl": 4.9720401875674725e-06
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"step": 80,
|
| 115 |
+
"loss_domain": 1.8202400207519531,
|
| 116 |
+
"loss_kl": 4.500740033108741e-06
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step": 100,
|
| 120 |
+
"loss_domain": 1.7226955890655518,
|
| 121 |
+
"loss_kl": 3.897718215739587e-06
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"step": 120,
|
| 125 |
+
"loss_domain": 1.768824815750122,
|
| 126 |
+
"loss_kl": 3.5498032957548276e-06
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"step": 132,
|
| 130 |
+
"loss_domain": 1.8629543781280518,
|
| 131 |
+
"loss_kl": 5.247568424238125e-07
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"domain_routing_share": 0.3268721401691437,
|
| 135 |
+
"peak_gpu_gib": 26.60610580444336
|
| 136 |
+
}
|
eval/h2c/dev_verdict_h2c.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"per_set": {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 2.0153141021728516,
|
| 5 |
+
"lb_unfrozen": 2.014695405960083,
|
| 6 |
+
"base": 2.0126824378967285,
|
| 7 |
+
"lb_vs_base_rel": 0.0012939341831952333,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0007877314215875231,
|
| 10 |
+
0.0018433852528687564
|
| 11 |
+
],
|
| 12 |
+
"lb_unfrozen_vs_base_rel": 0.000986854312941432,
|
| 13 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 14 |
+
0.0004770590050611645,
|
| 15 |
+
0.0014949543809052556
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 23
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.017322301864624,
|
| 21 |
+
"lb_unfrozen": 2.0166289806365967,
|
| 22 |
+
"base": 2.014240026473999,
|
| 23 |
+
"lb_vs_base_rel": 0.001520944177173078,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006466533057391643,
|
| 26 |
+
0.002257457881933078
|
| 27 |
+
],
|
| 28 |
+
"lb_unfrozen_vs_base_rel": 0.0011796689359471202,
|
| 29 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 30 |
+
0.00034601826482685285,
|
| 31 |
+
0.0019321340427268295
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 12
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.8148294687271118,
|
| 37 |
+
"lb_unfrozen": 1.8143576383590698,
|
| 38 |
+
"base": 1.8128981590270996,
|
| 39 |
+
"lb_vs_base_rel": 0.001064121606759727,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0006397994919097982,
|
| 42 |
+
0.0014875638647936283
|
| 43 |
+
],
|
| 44 |
+
"lb_unfrozen_vs_base_rel": 0.0008069642353802919,
|
| 45 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 46 |
+
0.00036122833043918947,
|
| 47 |
+
0.0012642378715099767
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 33
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 0.07447204738855362,
|
| 53 |
+
"lb_unfrozen": 0.0744750052690506,
|
| 54 |
+
"base": 0.07404302805662155,
|
| 55 |
+
"lb_vs_base_rel": 0.00538376672193408,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0002494675063644536,
|
| 58 |
+
0.011335790297016497
|
| 59 |
+
],
|
| 60 |
+
"lb_unfrozen_vs_base_rel": 0.0055040777660906315,
|
| 61 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 62 |
+
-0.0001255403592949733,
|
| 63 |
+
0.011381046939641233
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"acceptance": {
|
| 69 |
+
"domain_sets_meeting_-2%": "0/3",
|
| 70 |
+
"general_ok": false,
|
| 71 |
+
"verdict": "FAIL"
|
| 72 |
+
}
|
| 73 |
+
}
|
eval/h2c/dev_verdict_h2c.raw.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a6c71340658d30db1224ac190a0088b32bd0e6942d40246c2cda8b8cac57ef8
|
| 3 |
+
size 1948592
|
eval/h2c/selection.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prereg": "16_EVIDENCE/TRINITY/LB_H2C_PREREG_2026-11-20.md",
|
| 3 |
+
"rows": [
|
| 4 |
+
{
|
| 5 |
+
"config": "C1",
|
| 6 |
+
"lr": 1e-05,
|
| 7 |
+
"rc": 0,
|
| 8 |
+
"rel_dom": -0.00012534153138202156,
|
| 9 |
+
"rel_gen": 0.0009220653342573173,
|
| 10 |
+
"trained_parameters": 2113929216,
|
| 11 |
+
"steps": 133
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"config": "C2",
|
| 15 |
+
"lr": 3e-05,
|
| 16 |
+
"rc": 0,
|
| 17 |
+
"rel_dom": -0.0006929734897802928,
|
| 18 |
+
"rel_gen": 1.218857018185482e-06,
|
| 19 |
+
"trained_parameters": 2113929216,
|
| 20 |
+
"steps": 133
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"choice": "C2",
|
| 24 |
+
"reading": "NOT_BETTER_THAN_LBB"
|
| 25 |
+
}
|
eval/h3/A1_experts.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1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17 |
+
"hard_weight": 1.0,
|
| 18 |
+
"hard_thresh": 2.0
|
| 19 |
+
},
|
| 20 |
+
"unfrozen_experts": [
|
| 21 |
+
565,
|
| 22 |
+
879,
|
| 23 |
+
39,
|
| 24 |
+
840,
|
| 25 |
+
621,
|
| 26 |
+
472,
|
| 27 |
+
631,
|
| 28 |
+
227,
|
| 29 |
+
479,
|
| 30 |
+
666,
|
| 31 |
+
882,
|
| 32 |
+
883,
|
| 33 |
+
410,
|
| 34 |
+
590,
|
| 35 |
+
655,
|
| 36 |
+
814
|
| 37 |
+
],
|
| 38 |
+
"trained_parameters": 528482304,
|
| 39 |
+
"val_before": 1.8065083026885986,
|
| 40 |
+
"identity_check": 1.8065191507339478,
|
| 41 |
+
"val_after": 1.7964898347854614,
|
| 42 |
+
"val_gen_before": 0.13348962366580963,
|
| 43 |
+
"val_gen_after": 0.1334998607635498,
|
| 44 |
+
"rel_dom": -0.005545763552941813,
|
| 45 |
+
"rel_gen": 7.668834070430706e-05,
|
| 46 |
+
"delta_W_abs_sum": 133986.22412109375,
|
| 47 |
+
"steps": 1079,
|
| 48 |
+
"log": [
|
| 49 |
+
{
|
| 50 |
+
"step": 0,
|
| 51 |
+
"loss_domain": 1.8111305236816406,
|
| 52 |
+
"loss_kl": 1.1918641575903166e-06,
|
| 53 |
+
"loss_easy_kl": 0.0,
|
| 54 |
+
"easy_frac": 0.0
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"step": 20,
|
| 58 |
+
"loss_domain": 1.8000578880310059,
|
| 59 |
+
"loss_kl": 3.645878905444988e-07,
|
| 60 |
+
"loss_easy_kl": 0.0,
|
| 61 |
+
"easy_frac": 0.0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"step": 40,
|
| 65 |
+
"loss_domain": 1.8554496765136719,
|
| 66 |
+
"loss_kl": 1.824465982736001e-07,
|
| 67 |
+
"loss_easy_kl": 0.0,
|
| 68 |
+
"easy_frac": 0.0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"step": 60,
|
| 72 |
+
"loss_domain": 1.803443431854248,
|
| 73 |
+
"loss_kl": 1.1649774478428299e-06,
|
| 74 |
+
"loss_easy_kl": 0.0,
|
| 75 |
+
"easy_frac": 0.0
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"step": 80,
|
| 79 |
+
"loss_domain": 1.8093682527542114,
|
| 80 |
+
"loss_kl": 4.401639671414159e-06,
|
| 81 |
+
"loss_easy_kl": 0.0,
|
| 82 |
+
"easy_frac": 0.0
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"step": 100,
|
| 86 |
+
"loss_domain": 1.7962859869003296,
|
| 87 |
+
"loss_kl": 1.058613634086214e-06,
|
| 88 |
+
"loss_easy_kl": 0.0,
|
| 89 |
+
"easy_frac": 0.0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"step": 120,
|
| 93 |
+
"loss_domain": 1.689069151878357,
|
| 94 |
+
"loss_kl": 6.227191988728009e-07,
|
| 95 |
+
"loss_easy_kl": 0.0,
|
| 96 |
+
"easy_frac": 0.0
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 140,
|
| 100 |
+
"loss_domain": 1.8515355587005615,
|
| 101 |
+
"loss_kl": 1.5650880413886625e-06,
|
| 102 |
+
"loss_easy_kl": 0.0,
|
| 103 |
+
"easy_frac": 0.0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"step": 160,
|
| 107 |
+
"loss_domain": 1.7510731220245361,
|
| 108 |
+
"loss_kl": 1.3825210771756247e-06,
|
| 109 |
+
"loss_easy_kl": 0.0,
|
| 110 |
+
"easy_frac": 0.0
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"step": 180,
|
| 114 |
+
"loss_domain": 1.819899559020996,
|
| 115 |
+
"loss_kl": 1.3113549357512966e-06,
|
| 116 |
+
"loss_easy_kl": 0.0,
|
| 117 |
+
"easy_frac": 0.0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"step": 200,
|
| 121 |
+
"loss_domain": 1.7496343851089478,
|
| 122 |
+
"loss_kl": 1.22515893963282e-06,
|
| 123 |
+
"loss_easy_kl": 0.0,
|
| 124 |
+
"easy_frac": 0.0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"step": 220,
|
| 128 |
+
"loss_domain": 1.920952320098877,
|
| 129 |
+
"loss_kl": 4.504701792029664e-06,
|
| 130 |
+
"loss_easy_kl": 0.0,
|
| 131 |
+
"easy_frac": 0.0
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"step": 240,
|
| 135 |
+
"loss_domain": 1.8547918796539307,
|
| 136 |
+
"loss_kl": 1.5451687431777827e-06,
|
| 137 |
+
"loss_easy_kl": 0.0,
|
| 138 |
+
"easy_frac": 0.0
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"step": 260,
|
| 142 |
+
"loss_domain": 1.769563913345337,
|
| 143 |
+
"loss_kl": 5.171519660507329e-06,
|
| 144 |
+
"loss_easy_kl": 0.0,
|
| 145 |
+
"easy_frac": 0.0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"step": 280,
|
| 149 |
+
"loss_domain": 1.8118470907211304,
|
| 150 |
+
"loss_kl": 2.560387656558305e-06,
|
| 151 |
+
"loss_easy_kl": 0.0,
|
| 152 |
+
"easy_frac": 0.0
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"step": 300,
|
| 156 |
+
"loss_domain": 1.81271493434906,
|
| 157 |
+
"loss_kl": 4.402052582008764e-06,
|
| 158 |
+
"loss_easy_kl": 0.0,
|
| 159 |
+
"easy_frac": 0.0
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"step": 320,
|
| 163 |
+
"loss_domain": 1.7611287832260132,
|
| 164 |
+
"loss_kl": 3.009887450389215e-07,
|
| 165 |
+
"loss_easy_kl": 0.0,
|
| 166 |
+
"easy_frac": 0.0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"step": 340,
|
| 170 |
+
"loss_domain": 1.7660857439041138,
|
| 171 |
+
"loss_kl": 3.558288881322369e-06,
|
| 172 |
+
"loss_easy_kl": 0.0,
|
| 173 |
+
"easy_frac": 0.0
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"step": 360,
|
| 177 |
+
"loss_domain": 1.7949366569519043,
|
| 178 |
+
"loss_kl": 3.233416919101728e-06,
|
| 179 |
+
"loss_easy_kl": 0.0,
|
| 180 |
+
"easy_frac": 0.0
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"step": 380,
|
| 184 |
+
"loss_domain": 1.8071154356002808,
|
| 185 |
+
"loss_kl": 2.002289875235874e-06,
|
| 186 |
+
"loss_easy_kl": 0.0,
|
| 187 |
+
"easy_frac": 0.0
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"step": 400,
|
| 191 |
+
"loss_domain": 1.7312428951263428,
|
| 192 |
+
"loss_kl": 5.657282599713653e-06,
|
| 193 |
+
"loss_easy_kl": 0.0,
|
| 194 |
+
"easy_frac": 0.0
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"step": 420,
|
| 198 |
+
"loss_domain": 1.809753179550171,
|
| 199 |
+
"loss_kl": 6.873859092593193e-06,
|
| 200 |
+
"loss_easy_kl": 0.0,
|
| 201 |
+
"easy_frac": 0.0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"step": 440,
|
| 205 |
+
"loss_domain": 1.7165805101394653,
|
| 206 |
+
"loss_kl": 5.95252731727669e-06,
|
| 207 |
+
"loss_easy_kl": 0.0,
|
| 208 |
+
"easy_frac": 0.0
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"step": 460,
|
| 212 |
+
"loss_domain": 1.8216331005096436,
|
| 213 |
+
"loss_kl": 1.3256045576781617e-06,
|
| 214 |
+
"loss_easy_kl": 0.0,
|
| 215 |
+
"easy_frac": 0.0
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"step": 480,
|
| 219 |
+
"loss_domain": 1.8123915195465088,
|
| 220 |
+
"loss_kl": 4.761986929224804e-06,
|
| 221 |
+
"loss_easy_kl": 0.0,
|
| 222 |
+
"easy_frac": 0.0
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"step": 500,
|
| 226 |
+
"loss_domain": 1.735483169555664,
|
| 227 |
+
"loss_kl": 2.9558759706560522e-06,
|
| 228 |
+
"loss_easy_kl": 0.0,
|
| 229 |
+
"easy_frac": 0.0
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"step": 520,
|
| 233 |
+
"loss_domain": 1.7363253831863403,
|
| 234 |
+
"loss_kl": 9.002647857414559e-06,
|
| 235 |
+
"loss_easy_kl": 0.0,
|
| 236 |
+
"easy_frac": 0.0
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"step": 540,
|
| 240 |
+
"loss_domain": 1.6953421831130981,
|
| 241 |
+
"loss_kl": 3.6918609112035483e-06,
|
| 242 |
+
"loss_easy_kl": 0.0,
|
| 243 |
+
"easy_frac": 0.0
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"step": 560,
|
| 247 |
+
"loss_domain": 1.813245415687561,
|
| 248 |
+
"loss_kl": 4.9676382332108915e-06,
|
| 249 |
+
"loss_easy_kl": 0.0,
|
| 250 |
+
"easy_frac": 0.0
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 580,
|
| 254 |
+
"loss_domain": 1.771428108215332,
|
| 255 |
+
"loss_kl": 4.09015228797216e-06,
|
| 256 |
+
"loss_easy_kl": 0.0,
|
| 257 |
+
"easy_frac": 0.0
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"step": 600,
|
| 261 |
+
"loss_domain": 1.7473576068878174,
|
| 262 |
+
"loss_kl": 4.065617758897133e-06,
|
| 263 |
+
"loss_easy_kl": 0.0,
|
| 264 |
+
"easy_frac": 0.0
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"step": 620,
|
| 268 |
+
"loss_domain": 1.7825736999511719,
|
| 269 |
+
"loss_kl": 3.362976713106036e-06,
|
| 270 |
+
"loss_easy_kl": 0.0,
|
| 271 |
+
"easy_frac": 0.0
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"step": 640,
|
| 275 |
+
"loss_domain": 1.7579565048217773,
|
| 276 |
+
"loss_kl": 3.327555077703437e-06,
|
| 277 |
+
"loss_easy_kl": 0.0,
|
| 278 |
+
"easy_frac": 0.0
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"step": 660,
|
| 282 |
+
"loss_domain": 1.8509823083877563,
|
| 283 |
+
"loss_kl": 4.132991307415068e-06,
|
| 284 |
+
"loss_easy_kl": 0.0,
|
| 285 |
+
"easy_frac": 0.0
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"step": 680,
|
| 289 |
+
"loss_domain": 1.8443818092346191,
|
| 290 |
+
"loss_kl": 2.2578969947062433e-06,
|
| 291 |
+
"loss_easy_kl": 0.0,
|
| 292 |
+
"easy_frac": 0.0
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"step": 700,
|
| 296 |
+
"loss_domain": 1.825319766998291,
|
| 297 |
+
"loss_kl": 3.5831226341542788e-06,
|
| 298 |
+
"loss_easy_kl": 0.0,
|
| 299 |
+
"easy_frac": 0.0
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"step": 720,
|
| 303 |
+
"loss_domain": 1.7918174266815186,
|
| 304 |
+
"loss_kl": 4.221981726004742e-06,
|
| 305 |
+
"loss_easy_kl": 0.0,
|
| 306 |
+
"easy_frac": 0.0
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"step": 740,
|
| 310 |
+
"loss_domain": 1.804621934890747,
|
| 311 |
+
"loss_kl": 8.13300721347332e-06,
|
| 312 |
+
"loss_easy_kl": 0.0,
|
| 313 |
+
"easy_frac": 0.0
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"step": 760,
|
| 317 |
+
"loss_domain": 1.7669397592544556,
|
| 318 |
+
"loss_kl": 1.0232869499304798e-05,
|
| 319 |
+
"loss_easy_kl": 0.0,
|
| 320 |
+
"easy_frac": 0.0
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"step": 780,
|
| 324 |
+
"loss_domain": 1.8624132871627808,
|
| 325 |
+
"loss_kl": 6.3402367231901735e-06,
|
| 326 |
+
"loss_easy_kl": 0.0,
|
| 327 |
+
"easy_frac": 0.0
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"step": 800,
|
| 331 |
+
"loss_domain": 1.8082451820373535,
|
| 332 |
+
"loss_kl": 5.28975942870602e-06,
|
| 333 |
+
"loss_easy_kl": 0.0,
|
| 334 |
+
"easy_frac": 0.0
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"step": 820,
|
| 338 |
+
"loss_domain": 1.711471438407898,
|
| 339 |
+
"loss_kl": 4.764653567690402e-06,
|
| 340 |
+
"loss_easy_kl": 0.0,
|
| 341 |
+
"easy_frac": 0.0
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"step": 840,
|
| 345 |
+
"loss_domain": 1.765733003616333,
|
| 346 |
+
"loss_kl": 4.528960289462702e-06,
|
| 347 |
+
"loss_easy_kl": 0.0,
|
| 348 |
+
"easy_frac": 0.0
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"step": 860,
|
| 352 |
+
"loss_domain": 1.74174165725708,
|
| 353 |
+
"loss_kl": 2.989158247146406e-06,
|
| 354 |
+
"loss_easy_kl": 0.0,
|
| 355 |
+
"easy_frac": 0.0
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"step": 880,
|
| 359 |
+
"loss_domain": 1.782536506652832,
|
| 360 |
+
"loss_kl": 1.1178190106875263e-05,
|
| 361 |
+
"loss_easy_kl": 0.0,
|
| 362 |
+
"easy_frac": 0.0
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"step": 900,
|
| 366 |
+
"loss_domain": 1.791717290878296,
|
| 367 |
+
"loss_kl": 5.826571850775508e-06,
|
| 368 |
+
"loss_easy_kl": 0.0,
|
| 369 |
+
"easy_frac": 0.0
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"step": 920,
|
| 373 |
+
"loss_domain": 1.8259356021881104,
|
| 374 |
+
"loss_kl": 3.932790150429355e-06,
|
| 375 |
+
"loss_easy_kl": 0.0,
|
| 376 |
+
"easy_frac": 0.0
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"step": 940,
|
| 380 |
+
"loss_domain": 1.7720617055892944,
|
| 381 |
+
"loss_kl": 7.524639840994496e-06,
|
| 382 |
+
"loss_easy_kl": 0.0,
|
| 383 |
+
"easy_frac": 0.0
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"step": 960,
|
| 387 |
+
"loss_domain": 1.8734265565872192,
|
| 388 |
+
"loss_kl": 5.816310931550106e-06,
|
| 389 |
+
"loss_easy_kl": 0.0,
|
| 390 |
+
"easy_frac": 0.0
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"step": 980,
|
| 394 |
+
"loss_domain": 1.8116650581359863,
|
| 395 |
+
"loss_kl": 4.31724311056314e-06,
|
| 396 |
+
"loss_easy_kl": 0.0,
|
| 397 |
+
"easy_frac": 0.0
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"step": 1000,
|
| 401 |
+
"loss_domain": 1.7984849214553833,
|
| 402 |
+
"loss_kl": 2.8733365979860537e-06,
|
| 403 |
+
"loss_easy_kl": 0.0,
|
| 404 |
+
"easy_frac": 0.0
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"step": 1020,
|
| 408 |
+
"loss_domain": 1.8412483930587769,
|
| 409 |
+
"loss_kl": 9.248384230886586e-06,
|
| 410 |
+
"loss_easy_kl": 0.0,
|
| 411 |
+
"easy_frac": 0.0
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"step": 1040,
|
| 415 |
+
"loss_domain": 1.8453309535980225,
|
| 416 |
+
"loss_kl": 5.091807906865142e-06,
|
| 417 |
+
"loss_easy_kl": 0.0,
|
| 418 |
+
"easy_frac": 0.0
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"step": 1060,
|
| 422 |
+
"loss_domain": 1.8683241605758667,
|
| 423 |
+
"loss_kl": 9.598372344044037e-06,
|
| 424 |
+
"loss_easy_kl": 0.0,
|
| 425 |
+
"easy_frac": 0.0
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"step": 1078,
|
| 429 |
+
"loss_domain": 1.7299141883850098,
|
| 430 |
+
"loss_kl": 5.851535206602421e-06,
|
| 431 |
+
"loss_easy_kl": 0.0,
|
| 432 |
+
"easy_frac": 0.0
|
| 433 |
+
}
|
| 434 |
+
],
|
| 435 |
+
"domain_routing_share": 0.16096970438957214,
|
| 436 |
+
"peak_gpu_gib": 16.25037717819214
|
| 437 |
+
}
|
eval/h3/A2_train_record.json
ADDED
|
@@ -0,0 +1,437 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h3/A2",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 16,
|
| 8 |
+
"lr": 3e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119,
|
| 14 |
+
"opt": "adamw",
|
| 15 |
+
"easy_kl": 0.0,
|
| 16 |
+
"easy_thresh": 0.5,
|
| 17 |
+
"hard_weight": 1.0,
|
| 18 |
+
"hard_thresh": 2.0
|
| 19 |
+
},
|
| 20 |
+
"unfrozen_experts": [
|
| 21 |
+
565,
|
| 22 |
+
879,
|
| 23 |
+
39,
|
| 24 |
+
840,
|
| 25 |
+
621,
|
| 26 |
+
472,
|
| 27 |
+
631,
|
| 28 |
+
227,
|
| 29 |
+
479,
|
| 30 |
+
666,
|
| 31 |
+
882,
|
| 32 |
+
883,
|
| 33 |
+
410,
|
| 34 |
+
590,
|
| 35 |
+
655,
|
| 36 |
+
814
|
| 37 |
+
],
|
| 38 |
+
"trained_parameters": 528482304,
|
| 39 |
+
"val_before": 1.8065083026885986,
|
| 40 |
+
"identity_check": 1.8065191507339478,
|
| 41 |
+
"val_after": 1.8028459548950195,
|
| 42 |
+
"val_gen_before": 0.13348962366580963,
|
| 43 |
+
"val_gen_after": 0.13351787626743317,
|
| 44 |
+
"rel_dom": -0.002027307479366956,
|
| 45 |
+
"rel_gen": 0.00021164642500053302,
|
| 46 |
+
"delta_W_abs_sum": 396408.326171875,
|
| 47 |
+
"steps": 1079,
|
| 48 |
+
"log": [
|
| 49 |
+
{
|
| 50 |
+
"step": 0,
|
| 51 |
+
"loss_domain": 1.8111305236816406,
|
| 52 |
+
"loss_kl": 1.1918641575903166e-06,
|
| 53 |
+
"loss_easy_kl": 0.0,
|
| 54 |
+
"easy_frac": 0.0
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"step": 20,
|
| 58 |
+
"loss_domain": 1.7998242378234863,
|
| 59 |
+
"loss_kl": 1.5890282156760804e-07,
|
| 60 |
+
"loss_easy_kl": 0.0,
|
| 61 |
+
"easy_frac": 0.0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"step": 40,
|
| 65 |
+
"loss_domain": 1.8535816669464111,
|
| 66 |
+
"loss_kl": 2.298189656357863e-07,
|
| 67 |
+
"loss_easy_kl": 0.0,
|
| 68 |
+
"easy_frac": 0.0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"step": 60,
|
| 72 |
+
"loss_domain": 1.799585223197937,
|
| 73 |
+
"loss_kl": 3.15909073833609e-06,
|
| 74 |
+
"loss_easy_kl": 0.0,
|
| 75 |
+
"easy_frac": 0.0
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"step": 80,
|
| 79 |
+
"loss_domain": 1.8070204257965088,
|
| 80 |
+
"loss_kl": 4.915718363918131e-06,
|
| 81 |
+
"loss_easy_kl": 0.0,
|
| 82 |
+
"easy_frac": 0.0
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"step": 100,
|
| 86 |
+
"loss_domain": 1.791365146636963,
|
| 87 |
+
"loss_kl": 5.247049557510763e-06,
|
| 88 |
+
"loss_easy_kl": 0.0,
|
| 89 |
+
"easy_frac": 0.0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"step": 120,
|
| 93 |
+
"loss_domain": 1.6830377578735352,
|
| 94 |
+
"loss_kl": 2.330718871235149e-06,
|
| 95 |
+
"loss_easy_kl": 0.0,
|
| 96 |
+
"easy_frac": 0.0
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 140,
|
| 100 |
+
"loss_domain": 1.8434882164001465,
|
| 101 |
+
"loss_kl": 4.597702172759455e-06,
|
| 102 |
+
"loss_easy_kl": 0.0,
|
| 103 |
+
"easy_frac": 0.0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"step": 160,
|
| 107 |
+
"loss_domain": 1.7426881790161133,
|
| 108 |
+
"loss_kl": 3.9418164305971e-06,
|
| 109 |
+
"loss_easy_kl": 0.0,
|
| 110 |
+
"easy_frac": 0.0
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"step": 180,
|
| 114 |
+
"loss_domain": 1.808774471282959,
|
| 115 |
+
"loss_kl": 1.0843228665180504e-05,
|
| 116 |
+
"loss_easy_kl": 0.0,
|
| 117 |
+
"easy_frac": 0.0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"step": 200,
|
| 121 |
+
"loss_domain": 1.7395732402801514,
|
| 122 |
+
"loss_kl": 3.236181328247767e-06,
|
| 123 |
+
"loss_easy_kl": 0.0,
|
| 124 |
+
"easy_frac": 0.0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"step": 220,
|
| 128 |
+
"loss_domain": 1.9029734134674072,
|
| 129 |
+
"loss_kl": 2.163835006285808e-06,
|
| 130 |
+
"loss_easy_kl": 0.0,
|
| 131 |
+
"easy_frac": 0.0
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"step": 240,
|
| 135 |
+
"loss_domain": 1.8384315967559814,
|
| 136 |
+
"loss_kl": 1.823825641622534e-06,
|
| 137 |
+
"loss_easy_kl": 0.0,
|
| 138 |
+
"easy_frac": 0.0
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"step": 260,
|
| 142 |
+
"loss_domain": 1.7544641494750977,
|
| 143 |
+
"loss_kl": 8.979452104540542e-06,
|
| 144 |
+
"loss_easy_kl": 0.0,
|
| 145 |
+
"easy_frac": 0.0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"step": 280,
|
| 149 |
+
"loss_domain": 1.7954542636871338,
|
| 150 |
+
"loss_kl": 2.6235948098474182e-06,
|
| 151 |
+
"loss_easy_kl": 0.0,
|
| 152 |
+
"easy_frac": 0.0
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"step": 300,
|
| 156 |
+
"loss_domain": 1.7913148403167725,
|
| 157 |
+
"loss_kl": 5.973903171252459e-06,
|
| 158 |
+
"loss_easy_kl": 0.0,
|
| 159 |
+
"easy_frac": 0.0
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"step": 320,
|
| 163 |
+
"loss_domain": 1.7374956607818604,
|
| 164 |
+
"loss_kl": 1.9773424355662428e-06,
|
| 165 |
+
"loss_easy_kl": 0.0,
|
| 166 |
+
"easy_frac": 0.0
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"step": 340,
|
| 170 |
+
"loss_domain": 1.7457964420318604,
|
| 171 |
+
"loss_kl": 5.626576694339747e-06,
|
| 172 |
+
"loss_easy_kl": 0.0,
|
| 173 |
+
"easy_frac": 0.0
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"step": 360,
|
| 177 |
+
"loss_domain": 1.7650996446609497,
|
| 178 |
+
"loss_kl": 5.838739525643177e-06,
|
| 179 |
+
"loss_easy_kl": 0.0,
|
| 180 |
+
"easy_frac": 0.0
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"step": 380,
|
| 184 |
+
"loss_domain": 1.7803443670272827,
|
| 185 |
+
"loss_kl": 1.5567144146189094e-05,
|
| 186 |
+
"loss_easy_kl": 0.0,
|
| 187 |
+
"easy_frac": 0.0
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"step": 400,
|
| 191 |
+
"loss_domain": 1.6992886066436768,
|
| 192 |
+
"loss_kl": 1.4173434465192258e-05,
|
| 193 |
+
"loss_easy_kl": 0.0,
|
| 194 |
+
"easy_frac": 0.0
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"step": 420,
|
| 198 |
+
"loss_domain": 1.7833707332611084,
|
| 199 |
+
"loss_kl": 1.157872611656785e-05,
|
| 200 |
+
"loss_easy_kl": 0.0,
|
| 201 |
+
"easy_frac": 0.0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"step": 440,
|
| 205 |
+
"loss_domain": 1.6881773471832275,
|
| 206 |
+
"loss_kl": 7.2980164986802265e-06,
|
| 207 |
+
"loss_easy_kl": 0.0,
|
| 208 |
+
"easy_frac": 0.0
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"step": 460,
|
| 212 |
+
"loss_domain": 1.796372890472412,
|
| 213 |
+
"loss_kl": 8.55767575558275e-06,
|
| 214 |
+
"loss_easy_kl": 0.0,
|
| 215 |
+
"easy_frac": 0.0
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"step": 480,
|
| 219 |
+
"loss_domain": 1.7812461853027344,
|
| 220 |
+
"loss_kl": 1.1106989404652268e-05,
|
| 221 |
+
"loss_easy_kl": 0.0,
|
| 222 |
+
"easy_frac": 0.0
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"step": 500,
|
| 226 |
+
"loss_domain": 1.7061293125152588,
|
| 227 |
+
"loss_kl": 8.523147698724642e-06,
|
| 228 |
+
"loss_easy_kl": 0.0,
|
| 229 |
+
"easy_frac": 0.0
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"step": 520,
|
| 233 |
+
"loss_domain": 1.701561689376831,
|
| 234 |
+
"loss_kl": 1.0187015504925512e-05,
|
| 235 |
+
"loss_easy_kl": 0.0,
|
| 236 |
+
"easy_frac": 0.0
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"step": 540,
|
| 240 |
+
"loss_domain": 1.6577551364898682,
|
| 241 |
+
"loss_kl": 4.211480700178072e-06,
|
| 242 |
+
"loss_easy_kl": 0.0,
|
| 243 |
+
"easy_frac": 0.0
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"step": 560,
|
| 247 |
+
"loss_domain": 1.7651928663253784,
|
| 248 |
+
"loss_kl": 8.380425242648926e-06,
|
| 249 |
+
"loss_easy_kl": 0.0,
|
| 250 |
+
"easy_frac": 0.0
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 580,
|
| 254 |
+
"loss_domain": 1.725541114807129,
|
| 255 |
+
"loss_kl": 1.0092780939885415e-05,
|
| 256 |
+
"loss_easy_kl": 0.0,
|
| 257 |
+
"easy_frac": 0.0
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"step": 600,
|
| 261 |
+
"loss_domain": 1.704516887664795,
|
| 262 |
+
"loss_kl": 1.1947833627345972e-05,
|
| 263 |
+
"loss_easy_kl": 0.0,
|
| 264 |
+
"easy_frac": 0.0
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"step": 620,
|
| 268 |
+
"loss_domain": 1.7358629703521729,
|
| 269 |
+
"loss_kl": 5.620036972686648e-06,
|
| 270 |
+
"loss_easy_kl": 0.0,
|
| 271 |
+
"easy_frac": 0.0
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"step": 640,
|
| 275 |
+
"loss_domain": 1.7094690799713135,
|
| 276 |
+
"loss_kl": 6.14217969996389e-06,
|
| 277 |
+
"loss_easy_kl": 0.0,
|
| 278 |
+
"easy_frac": 0.0
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"step": 660,
|
| 282 |
+
"loss_domain": 1.7957829236984253,
|
| 283 |
+
"loss_kl": 8.717404853086919e-06,
|
| 284 |
+
"loss_easy_kl": 0.0,
|
| 285 |
+
"easy_frac": 0.0
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"step": 680,
|
| 289 |
+
"loss_domain": 1.7949961423873901,
|
| 290 |
+
"loss_kl": 4.793517291545868e-06,
|
| 291 |
+
"loss_easy_kl": 0.0,
|
| 292 |
+
"easy_frac": 0.0
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"step": 700,
|
| 296 |
+
"loss_domain": 1.770836591720581,
|
| 297 |
+
"loss_kl": 6.898131687194109e-06,
|
| 298 |
+
"loss_easy_kl": 0.0,
|
| 299 |
+
"easy_frac": 0.0
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"step": 720,
|
| 303 |
+
"loss_domain": 1.7408640384674072,
|
| 304 |
+
"loss_kl": 9.293389666709118e-06,
|
| 305 |
+
"loss_easy_kl": 0.0,
|
| 306 |
+
"easy_frac": 0.0
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"step": 740,
|
| 310 |
+
"loss_domain": 1.7525125741958618,
|
| 311 |
+
"loss_kl": 1.0942513654299546e-05,
|
| 312 |
+
"loss_easy_kl": 0.0,
|
| 313 |
+
"easy_frac": 0.0
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"step": 760,
|
| 317 |
+
"loss_domain": 1.7073506116867065,
|
| 318 |
+
"loss_kl": 1.501334918430075e-05,
|
| 319 |
+
"loss_easy_kl": 0.0,
|
| 320 |
+
"easy_frac": 0.0
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"step": 780,
|
| 324 |
+
"loss_domain": 1.8096723556518555,
|
| 325 |
+
"loss_kl": 1.0603236660244875e-05,
|
| 326 |
+
"loss_easy_kl": 0.0,
|
| 327 |
+
"easy_frac": 0.0
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"step": 800,
|
| 331 |
+
"loss_domain": 1.746425986289978,
|
| 332 |
+
"loss_kl": 5.464818968903273e-06,
|
| 333 |
+
"loss_easy_kl": 0.0,
|
| 334 |
+
"easy_frac": 0.0
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"step": 820,
|
| 338 |
+
"loss_domain": 1.65779447555542,
|
| 339 |
+
"loss_kl": 6.442980520660058e-06,
|
| 340 |
+
"loss_easy_kl": 0.0,
|
| 341 |
+
"easy_frac": 0.0
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"step": 840,
|
| 345 |
+
"loss_domain": 1.7135388851165771,
|
| 346 |
+
"loss_kl": 7.218734026537277e-06,
|
| 347 |
+
"loss_easy_kl": 0.0,
|
| 348 |
+
"easy_frac": 0.0
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"step": 860,
|
| 352 |
+
"loss_domain": 1.6931912899017334,
|
| 353 |
+
"loss_kl": 4.183466899121413e-06,
|
| 354 |
+
"loss_easy_kl": 0.0,
|
| 355 |
+
"easy_frac": 0.0
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"step": 880,
|
| 359 |
+
"loss_domain": 1.7270216941833496,
|
| 360 |
+
"loss_kl": 2.0867373677901924e-05,
|
| 361 |
+
"loss_easy_kl": 0.0,
|
| 362 |
+
"easy_frac": 0.0
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"step": 900,
|
| 366 |
+
"loss_domain": 1.740668535232544,
|
| 367 |
+
"loss_kl": 1.0997639037668705e-05,
|
| 368 |
+
"loss_easy_kl": 0.0,
|
| 369 |
+
"easy_frac": 0.0
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"step": 920,
|
| 373 |
+
"loss_domain": 1.7658846378326416,
|
| 374 |
+
"loss_kl": 8.674305718159303e-06,
|
| 375 |
+
"loss_easy_kl": 0.0,
|
| 376 |
+
"easy_frac": 0.0
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"step": 940,
|
| 380 |
+
"loss_domain": 1.7110681533813477,
|
| 381 |
+
"loss_kl": 1.1197696949238889e-05,
|
| 382 |
+
"loss_easy_kl": 0.0,
|
| 383 |
+
"easy_frac": 0.0
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"step": 960,
|
| 387 |
+
"loss_domain": 1.8222453594207764,
|
| 388 |
+
"loss_kl": 1.1724978321581148e-05,
|
| 389 |
+
"loss_easy_kl": 0.0,
|
| 390 |
+
"easy_frac": 0.0
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"step": 980,
|
| 394 |
+
"loss_domain": 1.7591546773910522,
|
| 395 |
+
"loss_kl": 6.509451850433834e-06,
|
| 396 |
+
"loss_easy_kl": 0.0,
|
| 397 |
+
"easy_frac": 0.0
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"step": 1000,
|
| 401 |
+
"loss_domain": 1.7374238967895508,
|
| 402 |
+
"loss_kl": 7.060454663587734e-06,
|
| 403 |
+
"loss_easy_kl": 0.0,
|
| 404 |
+
"easy_frac": 0.0
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"step": 1020,
|
| 408 |
+
"loss_domain": 1.7846570014953613,
|
| 409 |
+
"loss_kl": 1.5681278455303982e-05,
|
| 410 |
+
"loss_easy_kl": 0.0,
|
| 411 |
+
"easy_frac": 0.0
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"step": 1040,
|
| 415 |
+
"loss_domain": 1.7824864387512207,
|
| 416 |
+
"loss_kl": 7.108378667908255e-06,
|
| 417 |
+
"loss_easy_kl": 0.0,
|
| 418 |
+
"easy_frac": 0.0
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"step": 1060,
|
| 422 |
+
"loss_domain": 1.810929775238037,
|
| 423 |
+
"loss_kl": 1.658690598560497e-05,
|
| 424 |
+
"loss_easy_kl": 0.0,
|
| 425 |
+
"easy_frac": 0.0
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"step": 1078,
|
| 429 |
+
"loss_domain": 1.6764442920684814,
|
| 430 |
+
"loss_kl": 9.999555913964286e-06,
|
| 431 |
+
"loss_easy_kl": 0.0,
|
| 432 |
+
"easy_frac": 0.0
|
| 433 |
+
}
|
| 434 |
+
],
|
| 435 |
+
"domain_routing_share": 0.16096970438957214,
|
| 436 |
+
"peak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/content/k3p/h3/B1",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 64,
|
| 8 |
+
"lr": 3e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119,
|
| 14 |
+
"opt": "adafactor",
|
| 15 |
+
"easy_kl": 0.0,
|
| 16 |
+
"easy_thresh": 0.5,
|
| 17 |
+
"hard_weight": 1.0,
|
| 18 |
+
"hard_thresh": 2.0
|
| 19 |
+
},
|
| 20 |
+
"unfrozen_experts": [
|
| 21 |
+
565,
|
| 22 |
+
879,
|
| 23 |
+
39,
|
| 24 |
+
840,
|
| 25 |
+
621,
|
| 26 |
+
472,
|
| 27 |
+
631,
|
| 28 |
+
227,
|
| 29 |
+
479,
|
| 30 |
+
666,
|
| 31 |
+
882,
|
| 32 |
+
883,
|
| 33 |
+
410,
|
| 34 |
+
590,
|
| 35 |
+
655,
|
| 36 |
+
814,
|
| 37 |
+
289,
|
| 38 |
+
1031,
|
| 39 |
+
87,
|
| 40 |
+
857,
|
| 41 |
+
1033,
|
| 42 |
+
736,
|
| 43 |
+
559,
|
| 44 |
+
787,
|
| 45 |
+
671,
|
| 46 |
+
454,
|
| 47 |
+
475,
|
| 48 |
+
118,
|
| 49 |
+
507,
|
| 50 |
+
166,
|
| 51 |
+
177,
|
| 52 |
+
382,
|
| 53 |
+
1141,
|
| 54 |
+
591,
|
| 55 |
+
162,
|
| 56 |
+
90,
|
| 57 |
+
778,
|
| 58 |
+
597,
|
| 59 |
+
792,
|
| 60 |
+
858,
|
| 61 |
+
411,
|
| 62 |
+
377,
|
| 63 |
+
116,
|
| 64 |
+
310,
|
| 65 |
+
908,
|
| 66 |
+
961,
|
| 67 |
+
221,
|
| 68 |
+
551,
|
| 69 |
+
549,
|
| 70 |
+
831,
|
| 71 |
+
378,
|
| 72 |
+
921,
|
| 73 |
+
11,
|
| 74 |
+
764,
|
| 75 |
+
610,
|
| 76 |
+
488,
|
| 77 |
+
884,
|
| 78 |
+
443,
|
| 79 |
+
42,
|
| 80 |
+
873,
|
| 81 |
+
199,
|
| 82 |
+
465,
|
| 83 |
+
146,
|
| 84 |
+
135
|
| 85 |
+
],
|
| 86 |
+
"trained_parameters": 2113929216,
|
| 87 |
+
"val_before": 1.8065083026885986,
|
| 88 |
+
"identity_check": 1.8065223693847656,
|
| 89 |
+
"val_after": 1.7997872829437256,
|
| 90 |
+
"val_gen_before": 0.13348962366580963,
|
| 91 |
+
"val_gen_after": 0.13342878222465515,
|
| 92 |
+
"rel_dom": -0.003720447747109856,
|
| 93 |
+
"rel_gen": -0.0004557765576356415,
|
| 94 |
+
"delta_W_abs_sum": 37928.69007873535,
|
| 95 |
+
"steps": 1079,
|
| 96 |
+
"log": [
|
| 97 |
+
{
|
| 98 |
+
"step": 0,
|
| 99 |
+
"loss_domain": 1.8110955953598022,
|
| 100 |
+
"loss_kl": 1.3798148756904993e-06,
|
| 101 |
+
"loss_easy_kl": 0.0,
|
| 102 |
+
"easy_frac": 0.0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"step": 20,
|
| 106 |
+
"loss_domain": 1.800473928451538,
|
| 107 |
+
"loss_kl": 2.6448542485013604e-06,
|
| 108 |
+
"loss_easy_kl": 0.0,
|
| 109 |
+
"easy_frac": 0.0
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"step": 40,
|
| 113 |
+
"loss_domain": 1.8564125299453735,
|
| 114 |
+
"loss_kl": 3.941237082472071e-06,
|
| 115 |
+
"loss_easy_kl": 0.0,
|
| 116 |
+
"easy_frac": 0.0
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step": 60,
|
| 120 |
+
"loss_domain": 1.8057643175125122,
|
| 121 |
+
"loss_kl": 2.7314383714838186e-06,
|
| 122 |
+
"loss_easy_kl": 0.0,
|
| 123 |
+
"easy_frac": 0.0
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"step": 80,
|
| 127 |
+
"loss_domain": 1.8117960691452026,
|
| 128 |
+
"loss_kl": 3.26780354953371e-06,
|
| 129 |
+
"loss_easy_kl": 0.0,
|
| 130 |
+
"easy_frac": 0.0
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"step": 100,
|
| 134 |
+
"loss_domain": 1.8017611503601074,
|
| 135 |
+
"loss_kl": 2.8711033337458503e-06,
|
| 136 |
+
"loss_easy_kl": 0.0,
|
| 137 |
+
"easy_frac": 0.0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"step": 120,
|
| 141 |
+
"loss_domain": 1.695817232131958,
|
| 142 |
+
"loss_kl": 4.9305126594845206e-06,
|
| 143 |
+
"loss_easy_kl": 0.0,
|
| 144 |
+
"easy_frac": 0.0
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"step": 140,
|
| 148 |
+
"loss_domain": 1.8570408821105957,
|
| 149 |
+
"loss_kl": 2.5951953830372076e-06,
|
| 150 |
+
"loss_easy_kl": 0.0,
|
| 151 |
+
"easy_frac": 0.0
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"step": 160,
|
| 155 |
+
"loss_domain": 1.754286289215088,
|
| 156 |
+
"loss_kl": 6.421356829378055e-06,
|
| 157 |
+
"loss_easy_kl": 0.0,
|
| 158 |
+
"easy_frac": 0.0
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"step": 180,
|
| 162 |
+
"loss_domain": 1.8283932209014893,
|
| 163 |
+
"loss_kl": 8.057770173763856e-06,
|
| 164 |
+
"loss_easy_kl": 0.0,
|
| 165 |
+
"easy_frac": 0.0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"step": 200,
|
| 169 |
+
"loss_domain": 1.7544450759887695,
|
| 170 |
+
"loss_kl": 8.908009476726875e-06,
|
| 171 |
+
"loss_easy_kl": 0.0,
|
| 172 |
+
"easy_frac": 0.0
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"step": 220,
|
| 176 |
+
"loss_domain": 1.9358549118041992,
|
| 177 |
+
"loss_kl": 9.047696039488073e-06,
|
| 178 |
+
"loss_easy_kl": 0.0,
|
| 179 |
+
"easy_frac": 0.0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"step": 240,
|
| 183 |
+
"loss_domain": 1.866807222366333,
|
| 184 |
+
"loss_kl": 4.347495632828213e-06,
|
| 185 |
+
"loss_easy_kl": 0.0,
|
| 186 |
+
"easy_frac": 0.0
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"step": 260,
|
| 190 |
+
"loss_domain": 1.7789132595062256,
|
| 191 |
+
"loss_kl": 1.2629559932975098e-05,
|
| 192 |
+
"loss_easy_kl": 0.0,
|
| 193 |
+
"easy_frac": 0.0
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"step": 280,
|
| 197 |
+
"loss_domain": 1.8260385990142822,
|
| 198 |
+
"loss_kl": 8.90143564902246e-06,
|
| 199 |
+
"loss_easy_kl": 0.0,
|
| 200 |
+
"easy_frac": 0.0
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"step": 300,
|
| 204 |
+
"loss_domain": 1.8259913921356201,
|
| 205 |
+
"loss_kl": 9.943485565599985e-06,
|
| 206 |
+
"loss_easy_kl": 0.0,
|
| 207 |
+
"easy_frac": 0.0
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"step": 320,
|
| 211 |
+
"loss_domain": 1.7748160362243652,
|
| 212 |
+
"loss_kl": 9.589830369804986e-06,
|
| 213 |
+
"loss_easy_kl": 0.0,
|
| 214 |
+
"easy_frac": 0.0
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"step": 340,
|
| 218 |
+
"loss_domain": 1.7744510173797607,
|
| 219 |
+
"loss_kl": 1.2831073036068119e-05,
|
| 220 |
+
"loss_easy_kl": 0.0,
|
| 221 |
+
"easy_frac": 0.0
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"step": 360,
|
| 225 |
+
"loss_domain": 1.8067295551300049,
|
| 226 |
+
"loss_kl": 1.1363554222043604e-05,
|
| 227 |
+
"loss_easy_kl": 0.0,
|
| 228 |
+
"easy_frac": 0.0
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"step": 380,
|
| 232 |
+
"loss_domain": 1.8177638053894043,
|
| 233 |
+
"loss_kl": 1.7857209968497045e-05,
|
| 234 |
+
"loss_easy_kl": 0.0,
|
| 235 |
+
"easy_frac": 0.0
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"step": 400,
|
| 239 |
+
"loss_domain": 1.7450497150421143,
|
| 240 |
+
"loss_kl": 1.6443265849375166e-05,
|
| 241 |
+
"loss_easy_kl": 0.0,
|
| 242 |
+
"easy_frac": 0.0
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"step": 420,
|
| 246 |
+
"loss_domain": 1.820439338684082,
|
| 247 |
+
"loss_kl": 1.656696076679509e-05,
|
| 248 |
+
"loss_easy_kl": 0.0,
|
| 249 |
+
"easy_frac": 0.0
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"step": 440,
|
| 253 |
+
"loss_domain": 1.73099946975708,
|
| 254 |
+
"loss_kl": 9.571736882207915e-06,
|
| 255 |
+
"loss_easy_kl": 0.0,
|
| 256 |
+
"easy_frac": 0.0
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"step": 460,
|
| 260 |
+
"loss_domain": 1.8341844081878662,
|
| 261 |
+
"loss_kl": 1.4002880561747588e-05,
|
| 262 |
+
"loss_easy_kl": 0.0,
|
| 263 |
+
"easy_frac": 0.0
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"step": 480,
|
| 267 |
+
"loss_domain": 1.82466459274292,
|
| 268 |
+
"loss_kl": 1.9759932911256328e-05,
|
| 269 |
+
"loss_easy_kl": 0.0,
|
| 270 |
+
"easy_frac": 0.0
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"step": 500,
|
| 274 |
+
"loss_domain": 1.7489889860153198,
|
| 275 |
+
"loss_kl": 1.4436769561143592e-05,
|
| 276 |
+
"loss_easy_kl": 0.0,
|
| 277 |
+
"easy_frac": 0.0
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"step": 520,
|
| 281 |
+
"loss_domain": 1.7511465549468994,
|
| 282 |
+
"loss_kl": 1.3017939636483788e-05,
|
| 283 |
+
"loss_easy_kl": 0.0,
|
| 284 |
+
"easy_frac": 0.0
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"step": 540,
|
| 288 |
+
"loss_domain": 1.7085040807724,
|
| 289 |
+
"loss_kl": 1.169667302747257e-05,
|
| 290 |
+
"loss_easy_kl": 0.0,
|
| 291 |
+
"easy_frac": 0.0
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"step": 560,
|
| 295 |
+
"loss_domain": 1.833920955657959,
|
| 296 |
+
"loss_kl": 1.0537200068938546e-05,
|
| 297 |
+
"loss_easy_kl": 0.0,
|
| 298 |
+
"easy_frac": 0.0
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"step": 580,
|
| 302 |
+
"loss_domain": 1.7921867370605469,
|
| 303 |
+
"loss_kl": 7.321428711293265e-06,
|
| 304 |
+
"loss_easy_kl": 0.0,
|
| 305 |
+
"easy_frac": 0.0
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"step": 600,
|
| 309 |
+
"loss_domain": 1.760986089706421,
|
| 310 |
+
"loss_kl": 1.0837428817467298e-05,
|
| 311 |
+
"loss_easy_kl": 0.0,
|
| 312 |
+
"easy_frac": 0.0
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"step": 620,
|
| 316 |
+
"loss_domain": 1.800950050354004,
|
| 317 |
+
"loss_kl": 1.017316935758572e-05,
|
| 318 |
+
"loss_easy_kl": 0.0,
|
| 319 |
+
"easy_frac": 0.0
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"step": 640,
|
| 323 |
+
"loss_domain": 1.7768064737319946,
|
| 324 |
+
"loss_kl": 1.4567438483936712e-05,
|
| 325 |
+
"loss_easy_kl": 0.0,
|
| 326 |
+
"easy_frac": 0.0
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"step": 660,
|
| 330 |
+
"loss_domain": 1.8701951503753662,
|
| 331 |
+
"loss_kl": 1.2579203030327335e-05,
|
| 332 |
+
"loss_easy_kl": 0.0,
|
| 333 |
+
"easy_frac": 0.0
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"step": 680,
|
| 337 |
+
"loss_domain": 1.858379602432251,
|
| 338 |
+
"loss_kl": 1.4792902220506221e-05,
|
| 339 |
+
"loss_easy_kl": 0.0,
|
| 340 |
+
"easy_frac": 0.0
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"step": 700,
|
| 344 |
+
"loss_domain": 1.8422942161560059,
|
| 345 |
+
"loss_kl": 7.942428055685014e-06,
|
| 346 |
+
"loss_easy_kl": 0.0,
|
| 347 |
+
"easy_frac": 0.0
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"step": 720,
|
| 351 |
+
"loss_domain": 1.8094487190246582,
|
| 352 |
+
"loss_kl": 1.724780122458469e-05,
|
| 353 |
+
"loss_easy_kl": 0.0,
|
| 354 |
+
"easy_frac": 0.0
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"step": 740,
|
| 358 |
+
"loss_domain": 1.8198680877685547,
|
| 359 |
+
"loss_kl": 2.003291592700407e-05,
|
| 360 |
+
"loss_easy_kl": 0.0,
|
| 361 |
+
"easy_frac": 0.0
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"step": 760,
|
| 365 |
+
"loss_domain": 1.784511923789978,
|
| 366 |
+
"loss_kl": 1.3969031897431705e-05,
|
| 367 |
+
"loss_easy_kl": 0.0,
|
| 368 |
+
"easy_frac": 0.0
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"step": 780,
|
| 372 |
+
"loss_domain": 1.8800874948501587,
|
| 373 |
+
"loss_kl": 2.018419763771817e-05,
|
| 374 |
+
"loss_easy_kl": 0.0,
|
| 375 |
+
"easy_frac": 0.0
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"step": 800,
|
| 379 |
+
"loss_domain": 1.832704782485962,
|
| 380 |
+
"loss_kl": 1.391264140693238e-05,
|
| 381 |
+
"loss_easy_kl": 0.0,
|
| 382 |
+
"easy_frac": 0.0
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"step": 820,
|
| 386 |
+
"loss_domain": 1.728952407836914,
|
| 387 |
+
"loss_kl": 2.4989731173263863e-05,
|
| 388 |
+
"loss_easy_kl": 0.0,
|
| 389 |
+
"easy_frac": 0.0
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"step": 840,
|
| 393 |
+
"loss_domain": 1.783515214920044,
|
| 394 |
+
"loss_kl": 8.00984344095923e-06,
|
| 395 |
+
"loss_easy_kl": 0.0,
|
| 396 |
+
"easy_frac": 0.0
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"step": 860,
|
| 400 |
+
"loss_domain": 1.756730318069458,
|
| 401 |
+
"loss_kl": 1.2259184586582705e-05,
|
| 402 |
+
"loss_easy_kl": 0.0,
|
| 403 |
+
"easy_frac": 0.0
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"step": 880,
|
| 407 |
+
"loss_domain": 1.8020373582839966,
|
| 408 |
+
"loss_kl": 1.0256340829073451e-05,
|
| 409 |
+
"loss_easy_kl": 0.0,
|
| 410 |
+
"easy_frac": 0.0
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"step": 900,
|
| 414 |
+
"loss_domain": 1.809413194656372,
|
| 415 |
+
"loss_kl": 1.7695741917123087e-05,
|
| 416 |
+
"loss_easy_kl": 0.0,
|
| 417 |
+
"easy_frac": 0.0
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"step": 920,
|
| 421 |
+
"loss_domain": 1.844123125076294,
|
| 422 |
+
"loss_kl": 1.4600670510844793e-05,
|
| 423 |
+
"loss_easy_kl": 0.0,
|
| 424 |
+
"easy_frac": 0.0
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"step": 940,
|
| 428 |
+
"loss_domain": 1.7899222373962402,
|
| 429 |
+
"loss_kl": 1.6627243894618005e-05,
|
| 430 |
+
"loss_easy_kl": 0.0,
|
| 431 |
+
"easy_frac": 0.0
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"step": 960,
|
| 435 |
+
"loss_domain": 1.8882901668548584,
|
| 436 |
+
"loss_kl": 1.602895099495072e-05,
|
| 437 |
+
"loss_easy_kl": 0.0,
|
| 438 |
+
"easy_frac": 0.0
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"step": 980,
|
| 442 |
+
"loss_domain": 1.8289819955825806,
|
| 443 |
+
"loss_kl": 1.4410808944376186e-05,
|
| 444 |
+
"loss_easy_kl": 0.0,
|
| 445 |
+
"easy_frac": 0.0
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"step": 1000,
|
| 449 |
+
"loss_domain": 1.8174664974212646,
|
| 450 |
+
"loss_kl": 8.251618055510335e-06,
|
| 451 |
+
"loss_easy_kl": 0.0,
|
| 452 |
+
"easy_frac": 0.0
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"step": 1020,
|
| 456 |
+
"loss_domain": 1.8609614372253418,
|
| 457 |
+
"loss_kl": 1.6802980098873377e-05,
|
| 458 |
+
"loss_easy_kl": 0.0,
|
| 459 |
+
"easy_frac": 0.0
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"step": 1040,
|
| 463 |
+
"loss_domain": 1.8669607639312744,
|
| 464 |
+
"loss_kl": 1.3996675988892093e-05,
|
| 465 |
+
"loss_easy_kl": 0.0,
|
| 466 |
+
"easy_frac": 0.0
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"step": 1060,
|
| 470 |
+
"loss_domain": 1.8886876106262207,
|
| 471 |
+
"loss_kl": 1.5994228306226432e-05,
|
| 472 |
+
"loss_easy_kl": 0.0,
|
| 473 |
+
"easy_frac": 0.0
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"step": 1078,
|
| 477 |
+
"loss_domain": 1.7464637756347656,
|
| 478 |
+
"loss_kl": 1.2028501259919722e-05,
|
| 479 |
+
"loss_easy_kl": 0.0,
|
| 480 |
+
"easy_frac": 0.0
|
| 481 |
+
}
|
| 482 |
+
],
|
| 483 |
+
"domain_routing_share": 0.3531257212162018,
|
| 484 |
+
"peak_gpu_gib": 26.610590934753418
|
| 485 |
+
}
|
eval/h3/dev_verdict_h3.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"per_set": {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 2.0153141021728516,
|
| 5 |
+
"lb_unfrozen": 2.009697675704956,
|
| 6 |
+
"base": 2.0126824378967285,
|
| 7 |
+
"lb_vs_base_rel": 0.0012939341831952333,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0007877314215875231,
|
| 10 |
+
0.0018433852528687564
|
| 11 |
+
],
|
| 12 |
+
"lb_unfrozen_vs_base_rel": -0.0015104557387530804,
|
| 13 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 14 |
+
-0.002108169352868572,
|
| 15 |
+
-0.0008801855117781091
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 23
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.017322301864624,
|
| 21 |
+
"lb_unfrozen": 2.0097663402557373,
|
| 22 |
+
"base": 2.014240026473999,
|
| 23 |
+
"lb_vs_base_rel": 0.001520944177173078,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006466533057391643,
|
| 26 |
+
0.002257457881933078
|
| 27 |
+
],
|
| 28 |
+
"lb_unfrozen_vs_base_rel": -0.0021947710774838924,
|
| 29 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 30 |
+
-0.003344404249219224,
|
| 31 |
+
-0.0012409582122927536
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 12
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.8148294687271118,
|
| 37 |
+
"lb_unfrozen": 1.8081448078155518,
|
| 38 |
+
"base": 1.8128981590270996,
|
| 39 |
+
"lb_vs_base_rel": 0.001064121606759727,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0006397994919097982,
|
| 42 |
+
0.0014875638647936283
|
| 43 |
+
],
|
| 44 |
+
"lb_unfrozen_vs_base_rel": -0.0026371327694505453,
|
| 45 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 46 |
+
-0.0030417471658438443,
|
| 47 |
+
-0.0022335451212711632
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 33
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 0.07447204738855362,
|
| 53 |
+
"lb_unfrozen": 0.07446272671222687,
|
| 54 |
+
"base": 0.07404302805662155,
|
| 55 |
+
"lb_vs_base_rel": 0.00538376672193408,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0002494675063644536,
|
| 58 |
+
0.011335790297016497
|
| 59 |
+
],
|
| 60 |
+
"lb_unfrozen_vs_base_rel": 0.005411049816757441,
|
| 61 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 62 |
+
-0.000363541190745309,
|
| 63 |
+
0.011574708879925299
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"acceptance": {
|
| 69 |
+
"domain_sets_meeting_-2%": "0/3",
|
| 70 |
+
"general_ok": false,
|
| 71 |
+
"verdict": "FAIL"
|
| 72 |
+
}
|
| 73 |
+
}
|
eval/h3/dev_verdict_h3.raw.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9245b02fac9dd82759cd0fce9b2de33738c9a0a49675d1bb0ec3563e4149b5d9
|
| 3 |
+
size 1948767
|
eval/h3/selection.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prereg": "16_EVIDENCE/TRINITY/LB_H3_PREREG_2026-11-21.md",
|
| 3 |
+
"rows": [
|
| 4 |
+
{
|
| 5 |
+
"config": "A1",
|
| 6 |
+
"lr": 1e-05,
|
| 7 |
+
"k": 16,
|
| 8 |
+
"rc": 0,
|
| 9 |
+
"rel_dom": -0.005545763552941813,
|
| 10 |
+
"rel_gen": 7.668834070430706e-05,
|
| 11 |
+
"trained_parameters": 528482304,
|
| 12 |
+
"steps": 1079
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"config": "A2",
|
| 16 |
+
"lr": 3e-05,
|
| 17 |
+
"k": 16,
|
| 18 |
+
"rc": 0,
|
| 19 |
+
"rel_dom": -0.002027307479366956,
|
| 20 |
+
"rel_gen": 0.00021164642500053302,
|
| 21 |
+
"trained_parameters": 528482304,
|
| 22 |
+
"steps": 1079
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"config": "B1",
|
| 26 |
+
"lr": 3e-05,
|
| 27 |
+
"k": 64,
|
| 28 |
+
"rc": 0,
|
| 29 |
+
"rel_dom": -0.003720447747109856,
|
| 30 |
+
"rel_gen": -0.0004557765576356415,
|
| 31 |
+
"trained_parameters": 2113929216,
|
| 32 |
+
"steps": 1079
|
| 33 |
+
}
|
| 34 |
+
],
|
| 35 |
+
"choice": "A1",
|
| 36 |
+
"reading": "NOT_BETTER_THAN_LBB"
|
| 37 |
+
}
|
eval/h3b/E1_experts.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:324df567dfba795a8673adfcedca52b11e079bd8e38136ec82b6ed59a190bd71
|
| 3 |
+
size 1056977747
|
eval/h3b/E1_train_record.json
ADDED
|
@@ -0,0 +1,437 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": "/content/k3p/out_train",
|
| 5 |
+
"out": "/content/k3p/h3b/E1",
|
| 6 |
+
"trained": "",
|
| 7 |
+
"k": 16,
|
| 8 |
+
"lr": 3e-05,
|
| 9 |
+
"epochs": 2.0,
|
| 10 |
+
"bs": 2048,
|
| 11 |
+
"kl": 1.0,
|
| 12 |
+
"val_frac": 0.1,
|
| 13 |
+
"seed": 20261119,
|
| 14 |
+
"opt": "adamw",
|
| 15 |
+
"easy_kl": 1.0,
|
| 16 |
+
"easy_thresh": 0.5,
|
| 17 |
+
"hard_weight": 2.0,
|
| 18 |
+
"hard_thresh": 2.0
|
| 19 |
+
},
|
| 20 |
+
"unfrozen_experts": [
|
| 21 |
+
565,
|
| 22 |
+
879,
|
| 23 |
+
39,
|
| 24 |
+
840,
|
| 25 |
+
621,
|
| 26 |
+
472,
|
| 27 |
+
631,
|
| 28 |
+
227,
|
| 29 |
+
479,
|
| 30 |
+
666,
|
| 31 |
+
882,
|
| 32 |
+
883,
|
| 33 |
+
410,
|
| 34 |
+
590,
|
| 35 |
+
655,
|
| 36 |
+
814
|
| 37 |
+
],
|
| 38 |
+
"trained_parameters": 528482304,
|
| 39 |
+
"val_before": 1.8065083026885986,
|
| 40 |
+
"identity_check": 1.8065191507339478,
|
| 41 |
+
"val_after": 1.80653715133667,
|
| 42 |
+
"val_gen_before": 0.13348962366580963,
|
| 43 |
+
"val_gen_after": 0.13354919850826263,
|
| 44 |
+
"rel_dom": 1.5969286179506656e-05,
|
| 45 |
+
"rel_gen": 0.00044628818942622946,
|
| 46 |
+
"delta_W_abs_sum": 394510.24560546875,
|
| 47 |
+
"steps": 1079,
|
| 48 |
+
"log": [
|
| 49 |
+
{
|
| 50 |
+
"step": 0,
|
| 51 |
+
"loss_domain": 3.6168227195739746,
|
| 52 |
+
"loss_kl": 1.1918641575903166e-06,
|
| 53 |
+
"loss_easy_kl": 6.237554043764248e-05,
|
| 54 |
+
"easy_frac": 0.419921875
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"step": 20,
|
| 58 |
+
"loss_domain": 3.502208709716797,
|
| 59 |
+
"loss_kl": 1.982427875191206e-06,
|
| 60 |
+
"loss_easy_kl": 0.00012033287202939391,
|
| 61 |
+
"easy_frac": 0.4130859375
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"step": 40,
|
| 65 |
+
"loss_domain": 3.56672739982605,
|
| 66 |
+
"loss_kl": 4.5718002184003126e-07,
|
| 67 |
+
"loss_easy_kl": 0.0002431891771266237,
|
| 68 |
+
"easy_frac": 0.40283203125
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"step": 60,
|
| 72 |
+
"loss_domain": 3.4789445400238037,
|
| 73 |
+
"loss_kl": 5.737062565458473e-06,
|
| 74 |
+
"loss_easy_kl": 0.00045173591934144497,
|
| 75 |
+
"easy_frac": 0.4052734375
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"step": 80,
|
| 79 |
+
"loss_domain": 3.5363612174987793,
|
| 80 |
+
"loss_kl": 5.1266051741549745e-06,
|
| 81 |
+
"loss_easy_kl": 0.0015432224608957767,
|
| 82 |
+
"easy_frac": 0.41796875
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"step": 100,
|
| 86 |
+
"loss_domain": 3.5794761180877686,
|
| 87 |
+
"loss_kl": 1.1178151908097789e-05,
|
| 88 |
+
"loss_easy_kl": 0.0019510699203237891,
|
| 89 |
+
"easy_frac": 0.42724609375
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"step": 120,
|
| 93 |
+
"loss_domain": 3.3550498485565186,
|
| 94 |
+
"loss_kl": 2.400859102635877e-06,
|
| 95 |
+
"loss_easy_kl": 0.0029959564562886953,
|
| 96 |
+
"easy_frac": 0.42431640625
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 140,
|
| 100 |
+
"loss_domain": 3.5403075218200684,
|
| 101 |
+
"loss_kl": 8.177400559361558e-06,
|
| 102 |
+
"loss_easy_kl": 0.0034717677626758814,
|
| 103 |
+
"easy_frac": 0.4072265625
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"step": 160,
|
| 107 |
+
"loss_domain": 3.393683671951294,
|
| 108 |
+
"loss_kl": 1.0876922715397086e-05,
|
| 109 |
+
"loss_easy_kl": 0.004620429128408432,
|
| 110 |
+
"easy_frac": 0.41259765625
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"step": 180,
|
| 114 |
+
"loss_domain": 3.5070483684539795,
|
| 115 |
+
"loss_kl": 2.5233801352442242e-05,
|
| 116 |
+
"loss_easy_kl": 0.005452180281281471,
|
| 117 |
+
"easy_frac": 0.4140625
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"step": 200,
|
| 121 |
+
"loss_domain": 3.470250129699707,
|
| 122 |
+
"loss_kl": 7.245818778756075e-06,
|
| 123 |
+
"loss_easy_kl": 0.006324837915599346,
|
| 124 |
+
"easy_frac": 0.419921875
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"step": 220,
|
| 128 |
+
"loss_domain": 3.636835813522339,
|
| 129 |
+
"loss_kl": 1.365166281175334e-05,
|
| 130 |
+
"loss_easy_kl": 0.007243679370731115,
|
| 131 |
+
"easy_frac": 0.4140625
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"step": 240,
|
| 135 |
+
"loss_domain": 3.4959070682525635,
|
| 136 |
+
"loss_kl": 9.060964657692239e-06,
|
| 137 |
+
"loss_easy_kl": 0.008244744502007961,
|
| 138 |
+
"easy_frac": 0.400390625
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"step": 260,
|
| 142 |
+
"loss_domain": 3.3962273597717285,
|
| 143 |
+
"loss_kl": 1.0627170922816731e-05,
|
| 144 |
+
"loss_easy_kl": 0.009116902947425842,
|
| 145 |
+
"easy_frac": 0.412109375
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"step": 280,
|
| 149 |
+
"loss_domain": 3.4184045791625977,
|
| 150 |
+
"loss_kl": 1.5103290934348479e-05,
|
| 151 |
+
"loss_easy_kl": 0.009723752737045288,
|
| 152 |
+
"easy_frac": 0.4072265625
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"step": 300,
|
| 156 |
+
"loss_domain": 3.440974712371826,
|
| 157 |
+
"loss_kl": 1.272072404390201e-05,
|
| 158 |
+
"loss_easy_kl": 0.009610597975552082,
|
| 159 |
+
"easy_frac": 0.41064453125
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"step": 320,
|
| 163 |
+
"loss_domain": 3.4005260467529297,
|
| 164 |
+
"loss_kl": 5.550089099415345e-06,
|
| 165 |
+
"loss_easy_kl": 0.010417488403618336,
|
| 166 |
+
"easy_frac": 0.42333984375
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"step": 340,
|
| 170 |
+
"loss_domain": 3.386430501937866,
|
| 171 |
+
"loss_kl": 1.770826020219829e-05,
|
| 172 |
+
"loss_easy_kl": 0.009922567754983902,
|
| 173 |
+
"easy_frac": 0.4072265625
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"step": 360,
|
| 177 |
+
"loss_domain": 3.423882246017456,
|
| 178 |
+
"loss_kl": 1.5112384062376805e-05,
|
| 179 |
+
"loss_easy_kl": 0.010580162517726421,
|
| 180 |
+
"easy_frac": 0.416015625
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"step": 380,
|
| 184 |
+
"loss_domain": 3.4289958477020264,
|
| 185 |
+
"loss_kl": 2.4053690140135586e-05,
|
| 186 |
+
"loss_easy_kl": 0.010720915161073208,
|
| 187 |
+
"easy_frac": 0.40966796875
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"step": 400,
|
| 191 |
+
"loss_domain": 3.2814669609069824,
|
| 192 |
+
"loss_kl": 1.558150688651949e-05,
|
| 193 |
+
"loss_easy_kl": 0.01223841030150652,
|
| 194 |
+
"easy_frac": 0.40283203125
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"step": 420,
|
| 198 |
+
"loss_domain": 3.4620838165283203,
|
| 199 |
+
"loss_kl": 1.7354308511130512e-05,
|
| 200 |
+
"loss_easy_kl": 0.011805393733084202,
|
| 201 |
+
"easy_frac": 0.4111328125
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"step": 440,
|
| 205 |
+
"loss_domain": 3.3470640182495117,
|
| 206 |
+
"loss_kl": 2.2498477846966125e-05,
|
| 207 |
+
"loss_easy_kl": 0.011967198923230171,
|
| 208 |
+
"easy_frac": 0.42236328125
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"step": 460,
|
| 212 |
+
"loss_domain": 3.4782938957214355,
|
| 213 |
+
"loss_kl": 1.9414328562561423e-05,
|
| 214 |
+
"loss_easy_kl": 0.012017287313938141,
|
| 215 |
+
"easy_frac": 0.40869140625
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"step": 480,
|
| 219 |
+
"loss_domain": 3.3965985774993896,
|
| 220 |
+
"loss_kl": 1.9485680240904912e-05,
|
| 221 |
+
"loss_easy_kl": 0.011814991012215614,
|
| 222 |
+
"easy_frac": 0.4033203125
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"step": 500,
|
| 226 |
+
"loss_domain": 3.330139398574829,
|
| 227 |
+
"loss_kl": 1.528186840005219e-05,
|
| 228 |
+
"loss_easy_kl": 0.013148948550224304,
|
| 229 |
+
"easy_frac": 0.412109375
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"step": 520,
|
| 233 |
+
"loss_domain": 3.3483757972717285,
|
| 234 |
+
"loss_kl": 2.4994385967147537e-05,
|
| 235 |
+
"loss_easy_kl": 0.012705323286354542,
|
| 236 |
+
"easy_frac": 0.42333984375
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"step": 540,
|
| 240 |
+
"loss_domain": 3.2679200172424316,
|
| 241 |
+
"loss_kl": 1.1361611541360617e-05,
|
| 242 |
+
"loss_easy_kl": 0.011186267249286175,
|
| 243 |
+
"easy_frac": 0.4140625
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"step": 560,
|
| 247 |
+
"loss_domain": 3.3737423419952393,
|
| 248 |
+
"loss_kl": 2.1923789972788654e-05,
|
| 249 |
+
"loss_easy_kl": 0.012356149964034557,
|
| 250 |
+
"easy_frac": 0.408203125
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 580,
|
| 254 |
+
"loss_domain": 3.3339285850524902,
|
| 255 |
+
"loss_kl": 2.1571369870798662e-05,
|
| 256 |
+
"loss_easy_kl": 0.011600163765251637,
|
| 257 |
+
"easy_frac": 0.4140625
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"step": 600,
|
| 261 |
+
"loss_domain": 3.321575403213501,
|
| 262 |
+
"loss_kl": 2.2596821509068832e-05,
|
| 263 |
+
"loss_easy_kl": 0.014247243292629719,
|
| 264 |
+
"easy_frac": 0.41796875
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"step": 620,
|
| 268 |
+
"loss_domain": 3.348376989364624,
|
| 269 |
+
"loss_kl": 3.939775706385262e-05,
|
| 270 |
+
"loss_easy_kl": 0.013491570949554443,
|
| 271 |
+
"easy_frac": 0.40869140625
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"step": 640,
|
| 275 |
+
"loss_domain": 3.3281283378601074,
|
| 276 |
+
"loss_kl": 1.447839804313844e-05,
|
| 277 |
+
"loss_easy_kl": 0.01281884964555502,
|
| 278 |
+
"easy_frac": 0.412109375
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"step": 660,
|
| 282 |
+
"loss_domain": 3.41302752494812,
|
| 283 |
+
"loss_kl": 1.0717717486841138e-05,
|
| 284 |
+
"loss_easy_kl": 0.013809669762849808,
|
| 285 |
+
"easy_frac": 0.40087890625
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"step": 680,
|
| 289 |
+
"loss_domain": 3.4506704807281494,
|
| 290 |
+
"loss_kl": 1.779067315510474e-05,
|
| 291 |
+
"loss_easy_kl": 0.011557182297110558,
|
| 292 |
+
"easy_frac": 0.40966796875
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"step": 700,
|
| 296 |
+
"loss_domain": 3.428248643875122,
|
| 297 |
+
"loss_kl": 2.249371391371824e-05,
|
| 298 |
+
"loss_easy_kl": 0.011279314756393433,
|
| 299 |
+
"easy_frac": 0.4091796875
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"step": 720,
|
| 303 |
+
"loss_domain": 3.413367986679077,
|
| 304 |
+
"loss_kl": 1.566064020153135e-05,
|
| 305 |
+
"loss_easy_kl": 0.013531282544136047,
|
| 306 |
+
"easy_frac": 0.42431640625
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"step": 740,
|
| 310 |
+
"loss_domain": 3.354137420654297,
|
| 311 |
+
"loss_kl": 2.253160891996231e-05,
|
| 312 |
+
"loss_easy_kl": 0.012640206143260002,
|
| 313 |
+
"easy_frac": 0.4091796875
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"step": 760,
|
| 317 |
+
"loss_domain": 3.2748610973358154,
|
| 318 |
+
"loss_kl": 2.981823854497634e-05,
|
| 319 |
+
"loss_easy_kl": 0.015400690026581287,
|
| 320 |
+
"easy_frac": 0.4091796875
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"step": 780,
|
| 324 |
+
"loss_domain": 3.454573154449463,
|
| 325 |
+
"loss_kl": 2.2920710762264207e-05,
|
| 326 |
+
"loss_easy_kl": 0.010683414526283741,
|
| 327 |
+
"easy_frac": 0.4052734375
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"step": 800,
|
| 331 |
+
"loss_domain": 3.3300588130950928,
|
| 332 |
+
"loss_kl": 1.879758929135278e-05,
|
| 333 |
+
"loss_easy_kl": 0.012473014183342457,
|
| 334 |
+
"easy_frac": 0.39892578125
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"step": 820,
|
| 338 |
+
"loss_domain": 3.193505048751831,
|
| 339 |
+
"loss_kl": 1.1672463188006077e-05,
|
| 340 |
+
"loss_easy_kl": 0.013366498053073883,
|
| 341 |
+
"easy_frac": 0.41064453125
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"step": 840,
|
| 345 |
+
"loss_domain": 3.284458875656128,
|
| 346 |
+
"loss_kl": 1.4361353350977879e-05,
|
| 347 |
+
"loss_easy_kl": 0.011778557673096657,
|
| 348 |
+
"easy_frac": 0.40966796875
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"step": 860,
|
| 352 |
+
"loss_domain": 3.351008892059326,
|
| 353 |
+
"loss_kl": 9.834207958192565e-06,
|
| 354 |
+
"loss_easy_kl": 0.014285784214735031,
|
| 355 |
+
"easy_frac": 0.42333984375
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"step": 880,
|
| 359 |
+
"loss_domain": 3.3913967609405518,
|
| 360 |
+
"loss_kl": 3.8114107155706733e-05,
|
| 361 |
+
"loss_easy_kl": 0.011541762389242649,
|
| 362 |
+
"easy_frac": 0.4189453125
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"step": 900,
|
| 366 |
+
"loss_domain": 3.3822507858276367,
|
| 367 |
+
"loss_kl": 2.2299718693830073e-05,
|
| 368 |
+
"loss_easy_kl": 0.013729634694755077,
|
| 369 |
+
"easy_frac": 0.419921875
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"step": 920,
|
| 373 |
+
"loss_domain": 3.3918042182922363,
|
| 374 |
+
"loss_kl": 1.3819118976243772e-05,
|
| 375 |
+
"loss_easy_kl": 0.013762960210442543,
|
| 376 |
+
"easy_frac": 0.4130859375
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"step": 940,
|
| 380 |
+
"loss_domain": 3.3137454986572266,
|
| 381 |
+
"loss_kl": 2.1881227439735085e-05,
|
| 382 |
+
"loss_easy_kl": 0.011349564418196678,
|
| 383 |
+
"easy_frac": 0.416015625
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"step": 960,
|
| 387 |
+
"loss_domain": 3.4529154300689697,
|
| 388 |
+
"loss_kl": 1.8697508494369686e-05,
|
| 389 |
+
"loss_easy_kl": 0.01297623012214899,
|
| 390 |
+
"easy_frac": 0.400390625
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"step": 980,
|
| 394 |
+
"loss_domain": 3.3804478645324707,
|
| 395 |
+
"loss_kl": 1.3568066606239881e-05,
|
| 396 |
+
"loss_easy_kl": 0.01298159547150135,
|
| 397 |
+
"easy_frac": 0.40380859375
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"step": 1000,
|
| 401 |
+
"loss_domain": 3.395909547805786,
|
| 402 |
+
"loss_kl": 1.8895992980105802e-05,
|
| 403 |
+
"loss_easy_kl": 0.012123486958444118,
|
| 404 |
+
"easy_frac": 0.41748046875
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"step": 1020,
|
| 408 |
+
"loss_domain": 3.4403674602508545,
|
| 409 |
+
"loss_kl": 3.714354897965677e-05,
|
| 410 |
+
"loss_easy_kl": 0.013727153651416302,
|
| 411 |
+
"easy_frac": 0.4140625
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"step": 1040,
|
| 415 |
+
"loss_domain": 3.389859676361084,
|
| 416 |
+
"loss_kl": 1.6930847777985036e-05,
|
| 417 |
+
"loss_easy_kl": 0.012440941296517849,
|
| 418 |
+
"easy_frac": 0.40087890625
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"step": 1060,
|
| 422 |
+
"loss_domain": 3.494030475616455,
|
| 423 |
+
"loss_kl": 2.8914646463817917e-05,
|
| 424 |
+
"loss_easy_kl": 0.012489384971559048,
|
| 425 |
+
"easy_frac": 0.40966796875
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"step": 1078,
|
| 429 |
+
"loss_domain": 3.3000802993774414,
|
| 430 |
+
"loss_kl": 2.4004770239116624e-05,
|
| 431 |
+
"loss_easy_kl": 0.012720935977995396,
|
| 432 |
+
"easy_frac": 0.423828125
|
| 433 |
+
}
|
| 434 |
+
],
|
| 435 |
+
"domain_routing_share": 0.16096970438957214,
|
| 436 |
+
"peak_gpu_gib": 17.75896453857422
|
| 437 |
+
}
|
eval/h3b/dev_verdict_h3b.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"per_set": {
|
| 3 |
+
"holdout_chips": {
|
| 4 |
+
"lb": 2.0153141021728516,
|
| 5 |
+
"lb_unfrozen": 2.0165202617645264,
|
| 6 |
+
"base": 2.0126824378967285,
|
| 7 |
+
"lb_vs_base_rel": 0.0012939341831952333,
|
| 8 |
+
"lb_vs_base_ci95": [
|
| 9 |
+
0.0007877314215875231,
|
| 10 |
+
0.0018433852528687564
|
| 11 |
+
],
|
| 12 |
+
"lb_unfrozen_vs_base_rel": 0.001959036337211728,
|
| 13 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 14 |
+
0.0011245918896747753,
|
| 15 |
+
0.002817700908053665
|
| 16 |
+
],
|
| 17 |
+
"n_seqs": 23
|
| 18 |
+
},
|
| 19 |
+
"holdout_physics": {
|
| 20 |
+
"lb": 2.017322301864624,
|
| 21 |
+
"lb_unfrozen": 2.0192668437957764,
|
| 22 |
+
"base": 2.014240026473999,
|
| 23 |
+
"lb_vs_base_rel": 0.001520944177173078,
|
| 24 |
+
"lb_vs_base_ci95": [
|
| 25 |
+
0.0006466533057391643,
|
| 26 |
+
0.002257457881933078
|
| 27 |
+
],
|
| 28 |
+
"lb_unfrozen_vs_base_rel": 0.0026303224731236696,
|
| 29 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 30 |
+
0.0006788158862036653,
|
| 31 |
+
0.004536457627546042
|
| 32 |
+
],
|
| 33 |
+
"n_seqs": 12
|
| 34 |
+
},
|
| 35 |
+
"holdout_space": {
|
| 36 |
+
"lb": 1.8148294687271118,
|
| 37 |
+
"lb_unfrozen": 1.8146344423294067,
|
| 38 |
+
"base": 1.8128981590270996,
|
| 39 |
+
"lb_vs_base_rel": 0.001064121606759727,
|
| 40 |
+
"lb_vs_base_ci95": [
|
| 41 |
+
0.0006397994919097982,
|
| 42 |
+
0.0014875638647936283
|
| 43 |
+
],
|
| 44 |
+
"lb_unfrozen_vs_base_rel": 0.0009647621191106737,
|
| 45 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 46 |
+
0.0001784170737664681,
|
| 47 |
+
0.0017795261956052852
|
| 48 |
+
],
|
| 49 |
+
"n_seqs": 33
|
| 50 |
+
},
|
| 51 |
+
"wikipedia": {
|
| 52 |
+
"lb": 0.07447204738855362,
|
| 53 |
+
"lb_unfrozen": 0.07452590763568878,
|
| 54 |
+
"base": 0.07404302805662155,
|
| 55 |
+
"lb_vs_base_rel": 0.00538376672193408,
|
| 56 |
+
"lb_vs_base_ci95": [
|
| 57 |
+
-0.0002494675063644536,
|
| 58 |
+
0.011335790297016497
|
| 59 |
+
],
|
| 60 |
+
"lb_unfrozen_vs_base_rel": 0.006284509319812059,
|
| 61 |
+
"lb_unfrozen_vs_base_ci95": [
|
| 62 |
+
0.0005152095545781776,
|
| 63 |
+
0.012318072770722208
|
| 64 |
+
],
|
| 65 |
+
"n_seqs": 16
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"acceptance": {
|
| 69 |
+
"domain_sets_meeting_-2%": "0/3",
|
| 70 |
+
"general_ok": false,
|
| 71 |
+
"verdict": "FAIL"
|
| 72 |
+
}
|
| 73 |
+
}
|
eval/h3b/dev_verdict_h3b.raw.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5789f7692051771c7e959bac6194dde767bc50ed0bf92cf215064cf88f1af89d
|
| 3 |
+
size 1947858
|
eval/h3b/selection.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prereg": "16_EVIDENCE/TRINITY/LB_H3_PREREG_2026-11-21.md",
|
| 3 |
+
"rows": [
|
| 4 |
+
{
|
| 5 |
+
"config": "E1",
|
| 6 |
+
"lr": 3e-05,
|
| 7 |
+
"k": 16,
|
| 8 |
+
"rc": 0,
|
| 9 |
+
"rel_dom": 1.5969286179506656e-05,
|
| 10 |
+
"rel_gen": 0.00044628818942622946,
|
| 11 |
+
"trained_parameters": 528482304,
|
| 12 |
+
"steps": 1079
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"choice": "E1",
|
| 16 |
+
"reading": "NOT_BETTER_THAN_LBB"
|
| 17 |
+
}
|
eval/h4/F1_Arm3_HeadLoRA_train_record.json
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"args": {
|
| 3 |
+
"cmd": "train",
|
| 4 |
+
"cache": [
|
| 5 |
+
"/content/k3p/out_train2"
|
| 6 |
+
],
|
| 7 |
+
"out": "/content/k3p/h4/F1_Arm3_HeadLoRA",
|
| 8 |
+
"trained": "",
|
| 9 |
+
"domains": "chips,space",
|
| 10 |
+
"head_rank": 64,
|
| 11 |
+
"head_alpha": 64.0,
|
| 12 |
+
"tail_rank": 0,
|
| 13 |
+
"tail_alpha": 64.0,
|
| 14 |
+
"train_final_norm": true,
|
| 15 |
+
"k": 0,
|
| 16 |
+
"routed_rank": 16,
|
| 17 |
+
"routed_alpha": 16.0,
|
| 18 |
+
"gated_head": false,
|
| 19 |
+
"modular_cartridges": false,
|
| 20 |
+
"entropy_gate": false,
|
| 21 |
+
"oof_causal_ema": false,
|
| 22 |
+
"wiki_shield": false,
|
| 23 |
+
"gate_sensor": "h",
|
| 24 |
+
"causal_ema": 0.0,
|
| 25 |
+
"hybrid_alpha": 0.0,
|
| 26 |
+
"all_bg_negatives": true,
|
| 27 |
+
"hard_fit_quantile": 0.55,
|
| 28 |
+
"subspace_rank": 24,
|
| 29 |
+
"tr_lambda": 0.0,
|
| 30 |
+
"lr": 0.0001,
|
| 31 |
+
"wd": 0.001,
|
| 32 |
+
"epochs": 2.0,
|
| 33 |
+
"bs": 2048,
|
| 34 |
+
"kl": 8.0,
|
| 35 |
+
"val_frac": 0.1,
|
| 36 |
+
"seed": 20261119
|
| 37 |
+
},
|
| 38 |
+
"domains": [
|
| 39 |
+
"chips",
|
| 40 |
+
"space"
|
| 41 |
+
],
|
| 42 |
+
"trained_parameters": 10951680,
|
| 43 |
+
"routing_share": 0.0,
|
| 44 |
+
"val_before": 1.755749225616455,
|
| 45 |
+
"identity_check": 1.755749225616455,
|
| 46 |
+
"val_after": 1.7487024068832397,
|
| 47 |
+
"val_gen_before": 0.13348962366580963,
|
| 48 |
+
"val_gen_after": 0.13363724946975708,
|
| 49 |
+
"rel_dom": -0.004013567900473456,
|
| 50 |
+
"rel_gen": 0.0011058972217723,
|
| 51 |
+
"steps": 545,
|
| 52 |
+
"log": [
|
| 53 |
+
{
|
| 54 |
+
"step": 0,
|
| 55 |
+
"loss_domain": 1.8370671272277832,
|
| 56 |
+
"loss_kl": 0.0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"step": 20,
|
| 60 |
+
"loss_domain": 1.7147043943405151,
|
| 61 |
+
"loss_kl": 1.1850488590425812e-07
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"step": 40,
|
| 65 |
+
"loss_domain": 1.8128223419189453,
|
| 66 |
+
"loss_kl": 1.8987466319231316e-05
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step": 60,
|
| 70 |
+
"loss_domain": 1.7687336206436157,
|
| 71 |
+
"loss_kl": 4.1846054955385625e-05
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"step": 80,
|
| 75 |
+
"loss_domain": 1.763868808746338,
|
| 76 |
+
"loss_kl": 5.017596413381398e-05
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"step": 100,
|
| 80 |
+
"loss_domain": 1.7994472980499268,
|
| 81 |
+
"loss_kl": 0.00010612956975819543
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"step": 120,
|
| 85 |
+
"loss_domain": 1.7131543159484863,
|
| 86 |
+
"loss_kl": 8.096462261164561e-05
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"step": 140,
|
| 90 |
+
"loss_domain": 1.7855266332626343,
|
| 91 |
+
"loss_kl": 0.00012271956074982882
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step": 160,
|
| 95 |
+
"loss_domain": 1.8245725631713867,
|
| 96 |
+
"loss_kl": 0.0001109094446292147
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"step": 180,
|
| 100 |
+
"loss_domain": 1.7731207609176636,
|
| 101 |
+
"loss_kl": 9.796384256333113e-05
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"step": 200,
|
| 105 |
+
"loss_domain": 1.7840907573699951,
|
| 106 |
+
"loss_kl": 7.118373468983918e-05
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"step": 220,
|
| 110 |
+
"loss_domain": 1.7254064083099365,
|
| 111 |
+
"loss_kl": 0.00014096833183430135
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"step": 240,
|
| 115 |
+
"loss_domain": 1.7793686389923096,
|
| 116 |
+
"loss_kl": 0.0001464147208025679
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step": 260,
|
| 120 |
+
"loss_domain": 1.7418006658554077,
|
| 121 |
+
"loss_kl": 8.316156163346022e-05
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"step": 280,
|
| 125 |
+
"loss_domain": 1.7748762369155884,
|
| 126 |
+
"loss_kl": 0.00014653510879725218
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"step": 300,
|
| 130 |
+
"loss_domain": 1.7776697874069214,
|
| 131 |
+
"loss_kl": 0.00010454955918248743
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"step": 320,
|
| 135 |
+
"loss_domain": 1.7051262855529785,
|
| 136 |
+
"loss_kl": 0.0001055357715813443
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"step": 340,
|
| 140 |
+
"loss_domain": 1.8072154521942139,
|
| 141 |
+
"loss_kl": 7.013206777628511e-05
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"step": 360,
|
| 145 |
+
"loss_domain": 1.8084988594055176,
|
| 146 |
+
"loss_kl": 9.121917537413538e-05
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"step": 380,
|
| 150 |
+
"loss_domain": 1.7557165622711182,
|
| 151 |
+
"loss_kl": 0.00011842628009617329
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"step": 400,
|
| 155 |
+
"loss_domain": 1.8108103275299072,
|
| 156 |
+
"loss_kl": 0.00010357709834352136
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"step": 420,
|
| 160 |
+
"loss_domain": 1.7605400085449219,
|
| 161 |
+
"loss_kl": 0.000163800927111879
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"step": 440,
|
| 165 |
+
"loss_domain": 1.8167479038238525,
|
| 166 |
+
"loss_kl": 8.555607200833037e-05
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"step": 460,
|
| 170 |
+
"loss_domain": 1.8496603965759277,
|
| 171 |
+
"loss_kl": 9.861755097517744e-05
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"step": 480,
|
| 175 |
+
"loss_domain": 1.7630341053009033,
|
| 176 |
+
"loss_kl": 7.038663898129016e-05
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"step": 500,
|
| 180 |
+
"loss_domain": 1.7658140659332275,
|
| 181 |
+
"loss_kl": 6.989215034991503e-05
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"step": 520,
|
| 185 |
+
"loss_domain": 1.6223325729370117,
|
| 186 |
+
"loss_kl": 0.0001174702774733305
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"step": 540,
|
| 190 |
+
"loss_domain": 1.8478047847747803,
|
| 191 |
+
"loss_kl": 9.316713840235025e-05
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"step": 544,
|
| 195 |
+
"loss_domain": 1.7590687274932861,
|
| 196 |
+
"loss_kl": 0.00010204484715359285
|
| 197 |
+
}
|
| 198 |
+
]
|
| 199 |
+
}
|
eval/k3pass_holdout.log
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 2 |
+
- configuration_kimi_k3.py
|
| 3 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 4 |
+
/usr/local/lib/python3.13/dist-packages/transformers/configuration_utils.py:723: FutureWarning: `rope_scaling` is deprecated and will be removed in a future version. Set `rope_parameters` instead, with `rope_type` and `rope_theta` included.
|
| 5 |
+
warnings.warn(
|
| 6 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 7 |
+
- encoding_k3.py
|
| 8 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 9 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 10 |
+
- tokenization_kimi.py
|
| 11 |
+
- encoding_k3.py
|
| 12 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 13 |
+
10:15:34 sequences 84 streams 168 tokens 344064 sets ['holdout_chips', 'holdout_physics', 'holdout_space', 'wikipedia']
|
| 14 |
+
10:16:44 resumed from the checkpoint after layer 29 ram_free 49.7 GiB disk_free 213 GiB
|
| 15 |
+
10:16:45 fingerprint f4234975707d1c93 start at layer 30 ram_free 49.7 GiB disk_free 213 GiB
|
| 16 |
+
10:17:13 GPU NVIDIA L4 22.0 GiB, sub-chunk 16384 expert group 262144
|
| 17 |
+
10:23:28 layer 30 wait 89s attn 185s mlp 101s new-share(LB) 0.0033 ram_free 45.4 GiB disk_free 164 GiB
|
| 18 |
+
10:27:21 layer 31 wait 0s attn 133s mlp 99s new-share(LB) 0.0064 ram_free 45.7 GiB disk_free 164 GiB
|
| 19 |
+
10:32:09 layer 32 wait 0s attn 198s mlp 88s new-share(LB) 0.0076 ram_free 46.0 GiB disk_free 164 GiB
|
| 20 |
+
10:36:57 layer 33 wait 0s attn 195s mlp 91s new-share(LB) 0.0080 ram_free 45.7 GiB disk_free 164 GiB
|
| 21 |
+
10:41:44 layer 34 wait 0s attn 193s mlp 93s new-share(LB) 0.0069 ram_free 46.3 GiB disk_free 164 GiB
|
| 22 |
+
10:45:32 layer 35 wait 0s attn 130s mlp 96s new-share(LB) 0.0088 ram_free 46.3 GiB disk_free 164 GiB
|
| 23 |
+
10:50:35 layer 36 wait 0s attn 213s mlp 88s new-share(LB) 0.0057 ram_free 46.3 GiB disk_free 159 GiB
|
| 24 |
+
10:55:39 layer 37 wait 0s attn 216s mlp 86s new-share(LB) 0.0070 ram_free 44.8 GiB disk_free 159 GiB
|
| 25 |
+
11:00:43 layer 38 wait 0s attn 214s mlp 89s new-share(LB) 0.0021 ram_free 45.7 GiB disk_free 159 GiB
|
| 26 |
+
11:04:36 layer 39 wait 0s attn 140s mlp 90s new-share(LB) 0.0018 ram_free 45.7 GiB disk_free 159 GiB
|
| 27 |
+
11:06:47 checkpoint after layer 39 in 130s
|
| 28 |
+
11:11:55 layer 40 wait 0s attn 210s mlp 98s new-share(LB) 0.0025 ram_free 45.9 GiB disk_free 159 GiB
|
| 29 |
+
11:23:13 layer 41 wait 0s attn 576s mlp 100s new-share(LB) 0.0046 ram_free 46.0 GiB disk_free 159 GiB
|
| 30 |
+
11:41:56 layer 42 wait 0s attn 1026s mlp 96s new-share(LB) 0.0104 ram_free 45.9 GiB disk_free 159 GiB
|
| 31 |
+
11:57:48 layer 43 wait 0s attn 847s mlp 104s new-share(LB) 0.0026 ram_free 46.3 GiB disk_free 159 GiB
|
| 32 |
+
12:03:19 layer 44 wait 0s attn 234s mlp 96s new-share(LB) 0.0076 ram_free 46.3 GiB disk_free 159 GiB
|
| 33 |
+
12:08:34 layer 45 wait 0s attn 216s mlp 96s new-share(LB) 0.0116 ram_free 45.7 GiB disk_free 159 GiB
|
| 34 |
+
12:13:56 layer 46 wait 0s attn 221s mlp 101s new-share(LB) 0.0168 ram_free 46.4 GiB disk_free 159 GiB
|
| 35 |
+
12:18:21 layer 47 wait 0s attn 158s mlp 105s new-share(LB) 0.0271 ram_free 46.4 GiB disk_free 159 GiB
|
| 36 |
+
12:24:02 layer 48 wait 0s attn 242s mlp 97s new-share(LB) 0.0031 ram_free 46.4 GiB disk_free 154 GiB
|
| 37 |
+
12:29:46 layer 49 wait 0s attn 244s mlp 99s new-share(LB) 0.0009 ram_free 46.3 GiB disk_free 154 GiB
|
| 38 |
+
12:31:54 checkpoint after layer 49 in 126s
|
| 39 |
+
12:37:35 layer 50 wait 0s attn 236s mlp 105s new-share(LB) 0.0028 ram_free 46.3 GiB disk_free 155 GiB
|
| 40 |
+
12:42:09 layer 51 wait 0s attn 167s mlp 105s new-share(LB) 0.0073 ram_free 46.1 GiB disk_free 155 GiB
|
| 41 |
+
12:48:08 layer 52 wait 0s attn 245s mlp 112s new-share(LB) 0.0141 ram_free 46.2 GiB disk_free 154 GiB
|
| 42 |
+
12:53:54 layer 53 wait 0s attn 238s mlp 106s new-share(LB) 0.0325 ram_free 45.4 GiB disk_free 154 GiB
|
| 43 |
+
12:59:47 layer 54 wait 0s attn 244s mlp 107s new-share(LB) 0.0196 ram_free 44.9 GiB disk_free 155 GiB
|
| 44 |
+
13:04:30 layer 55 wait 0s attn 177s mlp 105s new-share(LB) 0.0474 ram_free 45.3 GiB disk_free 155 GiB
|
| 45 |
+
13:10:24 layer 56 wait 0s attn 244s mlp 108s new-share(LB) 0.0188 ram_free 45.6 GiB disk_free 154 GiB
|
| 46 |
+
13:16:24 layer 57 wait 0s attn 252s mlp 106s new-share(LB) 0.0365 ram_free 45.6 GiB disk_free 154 GiB
|
| 47 |
+
13:22:18 layer 58 wait 0s attn 242s mlp 110s new-share(LB) 0.0409 ram_free 45.6 GiB disk_free 155 GiB
|
| 48 |
+
13:27:06 layer 59 wait 0s attn 179s mlp 107s new-share(LB) 0.0518 ram_free 45.6 GiB disk_free 155 GiB
|
| 49 |
+
13:28:59 checkpoint after layer 59 in 112s
|
| 50 |
+
13:35:00 layer 60 wait 0s attn 256s mlp 104s new-share(LB) 0.0205 ram_free 45.3 GiB disk_free 150 GiB
|
| 51 |
+
13:41:03 layer 61 wait 0s attn 254s mlp 108s new-share(LB) 0.0103 ram_free 45.6 GiB disk_free 150 GiB
|
| 52 |
+
13:47:41 layer 62 wait 0s attn 277s mlp 119s new-share(LB) 0.0243 ram_free 45.6 GiB disk_free 150 GiB
|
| 53 |
+
13:52:44 layer 63 wait 0s attn 193s mlp 109s new-share(LB) 0.0152 ram_free 45.8 GiB disk_free 150 GiB
|
| 54 |
+
13:59:13 layer 64 wait 0s attn 274s mlp 113s new-share(LB) 0.0078 ram_free 44.6 GiB disk_free 150 GiB
|
| 55 |
+
14:05:53 layer 65 wait 0s attn 276s mlp 122s new-share(LB) 0.0114 ram_free 45.4 GiB disk_free 150 GiB
|
| 56 |
+
14:12:13 layer 66 wait 0s attn 269s mlp 109s new-share(LB) 0.0095 ram_free 45.6 GiB disk_free 150 GiB
|
| 57 |
+
14:17:22 layer 67 wait 0s attn 197s mlp 111s new-share(LB) 0.0247 ram_free 45.6 GiB disk_free 150 GiB
|
| 58 |
+
14:23:42 layer 68 wait 0s attn 267s mlp 112s new-share(LB) 0.0360 ram_free 45.8 GiB disk_free 150 GiB
|
| 59 |
+
14:30:15 layer 69 wait 0s attn 276s mlp 116s new-share(LB) 0.0161 ram_free 45.7 GiB disk_free 150 GiB
|
| 60 |
+
14:32:33 checkpoint after layer 69 in 136s
|
| 61 |
+
14:38:49 layer 70 wait 0s attn 268s mlp 108s new-share(LB) 0.0179 ram_free 45.7 GiB disk_free 150 GiB
|
| 62 |
+
14:43:43 layer 71 wait 0s attn 190s mlp 103s new-share(LB) 0.0125 ram_free 45.7 GiB disk_free 150 GiB
|
| 63 |
+
14:50:31 layer 72 wait 0s attn 288s mlp 118s new-share(LB) 0.0113 ram_free 45.7 GiB disk_free 145 GiB
|
| 64 |
+
14:57:49 layer 73 wait 0s attn 306s mlp 130s new-share(LB) 0.0176 ram_free 45.7 GiB disk_free 145 GiB
|
| 65 |
+
15:04:46 layer 74 wait 0s attn 296s mlp 120s new-share(LB) 0.0115 ram_free 45.7 GiB disk_free 145 GiB
|
| 66 |
+
15:10:11 layer 75 wait 0s attn 212s mlp 111s new-share(LB) 0.0103 ram_free 45.7 GiB disk_free 145 GiB
|
| 67 |
+
15:16:53 layer 76 wait 0s attn 287s mlp 114s new-share(LB) 0.0272 ram_free 45.7 GiB disk_free 145 GiB
|
| 68 |
+
15:23:50 layer 77 wait 0s attn 296s mlp 119s new-share(LB) 0.0272 ram_free 45.6 GiB disk_free 145 GiB
|
| 69 |
+
15:30:38 layer 78 wait 0s attn 290s mlp 117s new-share(LB) 0.0243 ram_free 45.7 GiB disk_free 145 GiB
|
| 70 |
+
15:36:08 layer 79 wait 0s attn 213s mlp 116s new-share(LB) 0.0211 ram_free 45.7 GiB disk_free 145 GiB
|
| 71 |
+
15:38:31 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6b006977-45ae8a65483e77a6562eb9a5;de8a2428-b27f-4044-bbe0-04ec38769ec8)
|
| 72 |
+
|
| 73 |
+
Bad request for commit endpoint:
|
| 74 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 75 |
+
15:45:15 layer 80 wait 0s attn 283s mlp 120s new-share(LB) 0.0284 ram_free 45.6 GiB disk_free 145 GiB
|
| 76 |
+
15:52:29 layer 81 wait 0s attn 301s mlp 131s new-share(LB) 0.0605 ram_free 45.7 GiB disk_free 145 GiB
|
| 77 |
+
15:59:26 layer 82 wait 0s attn 295s mlp 121s new-share(LB) 0.0452 ram_free 45.7 GiB disk_free 145 GiB
|
| 78 |
+
16:05:23 layer 83 wait 0s attn 222s mlp 134s new-share(LB) 0.0555 ram_free 45.1 GiB disk_free 145 GiB
|
| 79 |
+
16:12:45 layer 84 wait 0s attn 316s mlp 124s new-share(LB) 0.0237 ram_free 45.4 GiB disk_free 140 GiB
|
| 80 |
+
16:19:49 layer 85 wait 0s attn 307s mlp 116s new-share(LB) 0.0270 ram_free 45.6 GiB disk_free 140 GiB
|
| 81 |
+
16:27:06 layer 86 wait 0s attn 318s mlp 117s new-share(LB) 0.0253 ram_free 45.6 GiB disk_free 141 GiB
|
| 82 |
+
16:33:02 layer 87 wait 0s attn 239s mlp 116s new-share(LB) 0.0422 ram_free 45.5 GiB disk_free 141 GiB
|
| 83 |
+
16:40:06 layer 88 wait 0s attn 311s mlp 112s new-share(LB) 0.0499 ram_free 45.5 GiB disk_free 140 GiB
|
| 84 |
+
16:47:16 layer 89 wait 0s attn 311s mlp 117s new-share(LB) 0.0508 ram_free 45.4 GiB disk_free 140 GiB
|
| 85 |
+
16:49:47 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6b007a2b-1816cea4237790272fbcabdd;c7e0e00d-c543-40e5-b249-8e562807959d)
|
| 86 |
+
|
| 87 |
+
Bad request for commit endpoint:
|
| 88 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 89 |
+
16:57:01 layer 90 wait 0s attn 313s mlp 120s new-share(LB) 0.0455 ram_free 45.4 GiB disk_free 141 GiB
|
| 90 |
+
17:03:04 layer 91 wait 0s attn 239s mlp 123s new-share(LB) 0.0935 ram_free 45.5 GiB disk_free 141 GiB
|
| 91 |
+
17:09:00 layer 92 wait 0s attn 180s mlp 174s new-share(LB) 0.0792 ram_free 45.5 GiB disk_free 156 GiB
|
| 92 |
+
17:12:24 DONE {"littleboy": {"holdout_chips": {"mean_nll": 2.0153141021728516, "ppl": 7.503083746021646, "n_seqs": 23}, "holdout_physics": {"mean_nll": 2.017322063446045, "ppl": 7.518164783615795, "n_seqs": 12}, "holdout_space": {"mean_nll": 1.8148294687271118, "ppl": 6.1400290211964785, "n_seqs": 33}, "wikipedia": {"mean_nll": 0.07447204738855362, "ppl": 1.0773152293273611, "n_seqs": 16}}, "base": {"holdout_chips": {"mean_nll": 2.0126826763153076, "ppl": 7.483365891854564, "n_seqs": 23}, "holdout_physics": {"mean_nll": 2.01423978805542, "ppl": 7.495027405524041, "n_seqs": 12}, "holdout_space": {"mean_nll": 1.81289803981781, "ppl": 6.128181436707617, "n_seqs": 33}, "wikipedia": {"mean_nll": 0.07404302805662155, "ppl": 1.076853139397239, "n_seqs": 16}}}
|
eval/k3pass_holdout_nll.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbbf1ccb83e4c15eb92b4a416d45c9299cea5fead9e40a7a0bfc52e9082c744a
|
| 3 |
+
size 1375712
|
eval/k3pass_holdout_streams.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"meta": [{"id": "holdout_chips_000", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_001", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_002", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_003", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_004", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_005", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_006", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_007", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_008", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_009", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_010", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_011", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_012", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_013", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_014", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_015", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_016", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_017", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_018", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_019", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_020", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_021", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_chips_022", "set": "holdout_chips", "role": "holdout", "base": true}, {"id": "holdout_physics_000", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_001", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_002", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_003", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_004", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_005", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_006", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_007", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_008", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_009", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_010", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_physics_011", "set": "holdout_physics", "role": "holdout", "base": true}, {"id": "holdout_space_000", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_001", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_002", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_003", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_004", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_005", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_006", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_007", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_008", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_009", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_010", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_011", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_012", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_013", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_014", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_015", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_016", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_017", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_018", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_019", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_020", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_021", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_022", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_023", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_024", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_025", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_026", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_027", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_028", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_029", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_030", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_031", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "holdout_space_032", "set": "holdout_space", "role": "holdout", "base": true}, {"id": "Anarchism", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Albedo", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Alabama", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Achilles", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Abraham Lincoln", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Aristotle", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Academy Awards", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Altruism", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Ayn Rand", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Algeria", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "List of Atlas Shrugged characters", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Anthropology", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Alchemy", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "ASCII", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Animation", "set": "wikipedia", "role": "holdout", "base": true}, {"id": "Apollo", "set": "wikipedia", "role": "holdout", "base": true}], "streams": [[0, "littleboy"], [1, "littleboy"], [2, "littleboy"], [3, "littleboy"], [4, "littleboy"], [5, "littleboy"], [6, "littleboy"], [7, "littleboy"], [8, "littleboy"], [9, "littleboy"], [10, "littleboy"], [11, "littleboy"], [12, "littleboy"], [13, "littleboy"], [14, "littleboy"], [15, "littleboy"], [16, "littleboy"], [17, "littleboy"], [18, "littleboy"], [19, "littleboy"], [20, "littleboy"], [21, "littleboy"], [22, "littleboy"], [23, "littleboy"], [24, "littleboy"], [25, "littleboy"], [26, "littleboy"], [27, "littleboy"], [28, "littleboy"], [29, "littleboy"], [30, "littleboy"], [31, "littleboy"], [32, "littleboy"], [33, "littleboy"], [34, "littleboy"], [35, "littleboy"], [36, "littleboy"], [37, "littleboy"], [38, "littleboy"], [39, "littleboy"], [40, "littleboy"], [41, "littleboy"], [42, "littleboy"], [43, "littleboy"], [44, "littleboy"], [45, "littleboy"], [46, "littleboy"], [47, "littleboy"], [48, "littleboy"], [49, "littleboy"], [50, "littleboy"], [51, "littleboy"], [52, "littleboy"], [53, "littleboy"], [54, "littleboy"], [55, "littleboy"], [56, "littleboy"], [57, "littleboy"], [58, "littleboy"], [59, "littleboy"], [60, "littleboy"], [61, "littleboy"], [62, "littleboy"], [63, "littleboy"], [64, "littleboy"], [65, "littleboy"], [66, "littleboy"], [67, "littleboy"], [68, "littleboy"], [69, "littleboy"], [70, "littleboy"], [71, "littleboy"], [72, "littleboy"], [73, "littleboy"], [74, "littleboy"], [75, "littleboy"], [76, "littleboy"], [77, "littleboy"], [78, "littleboy"], [79, "littleboy"], [80, "littleboy"], [81, "littleboy"], [82, "littleboy"], [83, "littleboy"], [0, "base"], [1, "base"], [2, "base"], [3, "base"], [4, "base"], [5, "base"], [6, "base"], [7, "base"], [8, "base"], [9, "base"], [10, "base"], [11, "base"], [12, "base"], [13, "base"], [14, "base"], [15, "base"], [16, "base"], [17, "base"], [18, "base"], [19, "base"], [20, "base"], [21, "base"], [22, "base"], [23, "base"], [24, "base"], [25, "base"], [26, "base"], [27, "base"], [28, "base"], [29, "base"], [30, "base"], [31, "base"], [32, "base"], [33, "base"], [34, "base"], [35, "base"], [36, "base"], [37, "base"], [38, "base"], [39, "base"], [40, "base"], [41, "base"], [42, "base"], [43, "base"], [44, "base"], [45, "base"], [46, "base"], [47, "base"], [48, "base"], [49, "base"], [50, "base"], [51, "base"], [52, "base"], [53, "base"], [54, "base"], [55, "base"], [56, "base"], [57, "base"], [58, "base"], [59, "base"], [60, "base"], [61, "base"], [62, "base"], [63, "base"], [64, "base"], [65, "base"], [66, "base"], [67, "base"], [68, "base"], [69, "base"], [70, "base"], [71, "base"], [72, "base"], [73, "base"], [74, "base"], [75, "base"], [76, "base"], [77, "base"], [78, "base"], [79, "base"], [80, "base"], [81, "base"], [82, "base"], [83, "base"]], "seq": 2048}
|
eval/k3pass_holdout_summary.json
ADDED
|
@@ -0,0 +1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.0,
|
| 8 |
+
"1": 0.013238816522061825,
|
| 9 |
+
"2": 0.0019814628176391125,
|
| 10 |
+
"3": 0.0018241519574075937,
|
| 11 |
+
"4": 0.00546918623149395,
|
| 12 |
+
"5": 0.0049892608076334,
|
| 13 |
+
"6": 0.008883158676326275,
|
| 14 |
+
"7": 0.0125885009765625,
|
| 15 |
+
"8": 0.007046291138976812,
|
| 16 |
+
"9": 0.011134919710457325,
|
| 17 |
+
"10": 0.008432297967374325,
|
| 18 |
+
"11": 0.01776450127363205,
|
| 19 |
+
"12": 6.212507287273183e-05,
|
| 20 |
+
"13": 0.00536273792386055,
|
| 21 |
+
"14": 0.0024661109782755375,
|
| 22 |
+
"15": 0.004229591228067875,
|
| 23 |
+
"16": 0.0036159697920084,
|
| 24 |
+
"17": 0.001674470491707325,
|
| 25 |
+
"18": 0.00171661376953125,
|
| 26 |
+
"19": 0.00380670465528965,
|
| 27 |
+
"20": 0.001410711440257728,
|
| 28 |
+
"21": 0.006146022584289312,
|
| 29 |
+
"22": 0.0013126191915944219,
|
| 30 |
+
"23": 0.0018299648072570562,
|
| 31 |
+
"24": 0.0011952718487009406,
|
| 32 |
+
"25": 0.0056973411701619625,
|
| 33 |
+
"26": 0.0012828281614929438,
|
| 34 |
+
"27": 0.000968569831456989,
|
| 35 |
+
"28": 0.0062274024821817875,
|
| 36 |
+
"29": 0.005106608383357525,
|
| 37 |
+
"30": 0.0033260527998209,
|
| 38 |
+
"31": 0.0064061484299600124,
|
| 39 |
+
"32": 0.007645380217581987,
|
| 40 |
+
"33": 0.007984706200659275,
|
| 41 |
+
"34": 0.006938752718269825,
|
| 42 |
+
"35": 0.00876363180577755,
|
| 43 |
+
"36": 0.0056668235920369625,
|
| 44 |
+
"37": 0.006992158479988575,
|
| 45 |
+
"38": 0.0021427699830383062,
|
| 46 |
+
"39": 0.0018205188680440187,
|
| 47 |
+
"40": 0.0025093441363424063,
|
| 48 |
+
"41": 0.0046019782312214375,
|
| 49 |
+
"42": 0.01042683981359005,
|
| 50 |
+
"43": 0.00260162353515625,
|
| 51 |
+
"44": 0.0076450165361166,
|
| 52 |
+
"45": 0.011601402424275875,
|
| 53 |
+
"46": 0.0167646873742342,
|
| 54 |
+
"47": 0.0270538330078125,
|
| 55 |
+
"48": 0.0030535743571817875,
|
| 56 |
+
"49": 0.0008675711578689516,
|
| 57 |
+
"50": 0.0027745566330850124,
|
| 58 |
+
"51": 0.007324945647269487,
|
| 59 |
+
"52": 0.014064607210457325,
|
| 60 |
+
"53": 0.0325295589864254,
|
| 61 |
+
"54": 0.01956903375685215,
|
| 62 |
+
"55": 0.04738471657037735,
|
| 63 |
+
"56": 0.0187832061201334,
|
| 64 |
+
"57": 0.0364844910800457,
|
| 65 |
+
"58": 0.04086049646139145,
|
| 66 |
+
"59": 0.05180395394563675,
|
| 67 |
+
"60": 0.02049800381064415,
|
| 68 |
+
"61": 0.010311308316886425,
|
| 69 |
+
"62": 0.02434648759663105,
|
| 70 |
+
"63": 0.01523408479988575,
|
| 71 |
+
"64": 0.007838294841349125,
|
| 72 |
+
"65": 0.01135762594640255,
|
| 73 |
+
"66": 0.009531657211482525,
|
| 74 |
+
"67": 0.02469199150800705,
|
| 75 |
+
"68": 0.03601764515042305,
|
| 76 |
+
"69": 0.01605588011443615,
|
| 77 |
+
"70": 0.017930893227458,
|
| 78 |
+
"71": 0.01252019964158535,
|
| 79 |
+
"72": 0.011260986328125,
|
| 80 |
+
"73": 0.01758139580488205,
|
| 81 |
+
"74": 0.0114600770175457,
|
| 82 |
+
"75": 0.01026262529194355,
|
| 83 |
+
"76": 0.0272056944668293,
|
| 84 |
+
"77": 0.0272067841142416,
|
| 85 |
+
"78": 0.02431451715528965,
|
| 86 |
+
"79": 0.02107783779501915,
|
| 87 |
+
"80": 0.0284129548817873,
|
| 88 |
+
"81": 0.06049274280667305,
|
| 89 |
+
"82": 0.04520125687122345,
|
| 90 |
+
"83": 0.0555463545024395,
|
| 91 |
+
"84": 0.02372051402926445,
|
| 92 |
+
"85": 0.0270069669932127,
|
| 93 |
+
"86": 0.02525983564555645,
|
| 94 |
+
"87": 0.04222579300403595,
|
| 95 |
+
"88": 0.04994020238518715,
|
| 96 |
+
"89": 0.0508481003344059,
|
| 97 |
+
"90": 0.04550570622086525,
|
| 98 |
+
"91": 0.09350113570690155,
|
| 99 |
+
"92": 0.0791546031832695
|
| 100 |
+
},
|
| 101 |
+
"per_set": {
|
| 102 |
+
"littleboy": {
|
| 103 |
+
"holdout_chips": {
|
| 104 |
+
"mean_nll": 2.0153141021728516,
|
| 105 |
+
"ppl": 7.503083746021646,
|
| 106 |
+
"n_seqs": 23
|
| 107 |
+
},
|
| 108 |
+
"holdout_physics": {
|
| 109 |
+
"mean_nll": 2.017322063446045,
|
| 110 |
+
"ppl": 7.518164783615795,
|
| 111 |
+
"n_seqs": 12
|
| 112 |
+
},
|
| 113 |
+
"holdout_space": {
|
| 114 |
+
"mean_nll": 1.8148294687271118,
|
| 115 |
+
"ppl": 6.1400290211964785,
|
| 116 |
+
"n_seqs": 33
|
| 117 |
+
},
|
| 118 |
+
"wikipedia": {
|
| 119 |
+
"mean_nll": 0.07447204738855362,
|
| 120 |
+
"ppl": 1.0773152293273611,
|
| 121 |
+
"n_seqs": 16
|
| 122 |
+
}
|
| 123 |
+
},
|
| 124 |
+
"base": {
|
| 125 |
+
"holdout_chips": {
|
| 126 |
+
"mean_nll": 2.0126826763153076,
|
| 127 |
+
"ppl": 7.483365891854564,
|
| 128 |
+
"n_seqs": 23
|
| 129 |
+
},
|
| 130 |
+
"holdout_physics": {
|
| 131 |
+
"mean_nll": 2.01423978805542,
|
| 132 |
+
"ppl": 7.495027405524041,
|
| 133 |
+
"n_seqs": 12
|
| 134 |
+
},
|
| 135 |
+
"holdout_space": {
|
| 136 |
+
"mean_nll": 1.81289803981781,
|
| 137 |
+
"ppl": 6.128181436707617,
|
| 138 |
+
"n_seqs": 33
|
| 139 |
+
},
|
| 140 |
+
"wikipedia": {
|
| 141 |
+
"mean_nll": 0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 1 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 2 |
+
- configuration_kimi_k3.py
|
| 3 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 4 |
+
/usr/local/lib/python3.13/dist-packages/transformers/configuration_utils.py:723: FutureWarning: `rope_scaling` is deprecated and will be removed in a future version. Set `rope_parameters` instead, with `rope_type` and `rope_theta` included.
|
| 5 |
+
warnings.warn(
|
| 6 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 7 |
+
- encoding_k3.py
|
| 8 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 9 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 10 |
+
- tokenization_kimi.py
|
| 11 |
+
- encoding_k3.py
|
| 12 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 13 |
+
20:40:57 sequences 107 streams 107 tokens 219136 sets ['general_wiki', 'train_chips', 'train_physics', 'train_space']
|
| 14 |
+
20:40:57 no checkpoint in STAR-future/LittleBoy-k3ckpt-train ValueError
|
| 15 |
+
20:40:57 fingerprint c0c65040911b2eda start at layer 0 ram_free 48.4 GiB disk_free 236 GiB
|
| 16 |
+
20:41:26 GPU Tesla T4 14.6 GiB, sub-chunk 8192 expert group 131072
|
| 17 |
+
20:46:57 layer 0 wait 0s attn 179s mlp 152s new-share(LB) 0.0000 ram_free 44.8 GiB disk_free 197 GiB
|
| 18 |
+
20:53:49 layer 1 wait 0s attn 208s mlp 205s new-share(LB) 0.0129 ram_free 44.0 GiB disk_free 177 GiB
|
| 19 |
+
21:00:40 layer 2 wait 0s attn 206s mlp 204s new-share(LB) 0.0019 ram_free 43.8 GiB disk_free 178 GiB
|
| 20 |
+
21:06:04 layer 3 wait 0s attn 118s mlp 204s new-share(LB) 0.0022 ram_free 44.2 GiB disk_free 178 GiB
|
| 21 |
+
21:12:59 layer 4 wait 0s attn 207s mlp 207s new-share(LB) 0.0065 ram_free 43.7 GiB disk_free 177 GiB
|
| 22 |
+
21:19:57 layer 5 wait 0s attn 210s mlp 207s new-share(LB) 0.0049 ram_free 44.0 GiB disk_free 177 GiB
|
| 23 |
+
21:21:42 checkpoint after layer 5 in 104s
|
| 24 |
+
21:28:11 layer 6 wait 0s attn 182s mlp 207s new-share(LB) 0.0088 ram_free 44.3 GiB disk_free 178 GiB
|
| 25 |
+
21:33:21 layer 7 wait 0s attn 102s mlp 206s new-share(LB) 0.0131 ram_free 43.7 GiB disk_free 178 GiB
|
| 26 |
+
21:40:04 layer 8 wait 0s attn 193s mlp 208s new-share(LB) 0.0074 ram_free 44.0 GiB disk_free 177 GiB
|
| 27 |
+
21:46:58 layer 9 wait 0s attn 205s mlp 207s new-share(LB) 0.0112 ram_free 44.0 GiB disk_free 177 GiB
|
| 28 |
+
21:53:43 layer 10 wait 0s attn 194s mlp 210s new-share(LB) 0.0083 ram_free 44.0 GiB disk_free 178 GiB
|
| 29 |
+
21:59:06 layer 11 wait 0s attn 113s mlp 208s new-share(LB) 0.0174 ram_free 44.0 GiB disk_free 178 GiB
|
| 30 |
+
22:00:27 checkpoint after layer 11 in 79s
|
| 31 |
+
22:07:16 layer 12 wait 0s attn 204s mlp 204s new-share(LB) 0.0001 ram_free 44.5 GiB disk_free 174 GiB
|
| 32 |
+
22:14:16 layer 13 wait 0s attn 216s mlp 204s new-share(LB) 0.0054 ram_free 44.5 GiB disk_free 174 GiB
|
| 33 |
+
22:21:23 layer 14 wait 0s attn 220s mlp 204s new-share(LB) 0.0024 ram_free 44.5 GiB disk_free 175 GiB
|
| 34 |
+
22:26:56 layer 15 wait 0s attn 132s mlp 199s new-share(LB) 0.0044 ram_free 44.4 GiB disk_free 175 GiB
|
| 35 |
+
22:34:13 layer 16 wait 0s attn 230s mlp 205s new-share(LB) 0.0035 ram_free 44.4 GiB disk_free 174 GiB
|
| 36 |
+
22:41:22 layer 17 wait 0s attn 223s mlp 206s new-share(LB) 0.0013 ram_free 44.4 GiB disk_free 174 GiB
|
| 37 |
+
22:43:16 checkpoint after layer 17 in 112s
|
| 38 |
+
22:50:08 layer 18 wait 0s attn 208s mlp 204s new-share(LB) 0.0015 ram_free 44.4 GiB disk_free 175 GiB
|
| 39 |
+
22:55:42 layer 19 wait 0s attn 130s mlp 204s new-share(LB) 0.0049 ram_free 44.4 GiB disk_free 175 GiB
|
| 40 |
+
23:02:54 layer 20 wait 0s attn 223s mlp 208s new-share(LB) 0.0023 ram_free 44.6 GiB disk_free 174 GiB
|
| 41 |
+
23:23:09 layer 21 wait 0s attn 1009s mlp 204s new-share(LB) 0.0058 ram_free 44.6 GiB disk_free 174 GiB
|
| 42 |
+
23:41:56 layer 22 wait 0s attn 925s mlp 200s new-share(LB) 0.0013 ram_free 44.6 GiB disk_free 175 GiB
|
| 43 |
+
00:01:03 layer 23 wait 0s attn 951s mlp 194s new-share(LB) 0.0017 ram_free 44.1 GiB disk_free 175 GiB
|
| 44 |
+
00:02:19 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6aff8e0b-610da15367270a88174f7e1c;e6c7c6f2-3d5f-4e8a-826f-a7db5e005d1d)
|
| 45 |
+
|
| 46 |
+
Bad request for commit endpoint:
|
| 47 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 48 |
+
00:22:55 layer 24 wait 0s attn 1031s mlp 205s new-share(LB) 0.0013 ram_free 44.1 GiB disk_free 171 GiB
|
| 49 |
+
00:41:17 layer 25 wait 0s attn 898s mlp 202s new-share(LB) 0.0059 ram_free 43.7 GiB disk_free 171 GiB
|
| 50 |
+
01:02:43 layer 26 wait 0s attn 1077s mlp 208s new-share(LB) 0.0012 ram_free 43.7 GiB disk_free 172 GiB
|
| 51 |
+
01:26:11 layer 27 wait 0s attn 1203s mlp 204s new-share(LB) 0.0011 ram_free 43.8 GiB disk_free 172 GiB
|
| 52 |
+
01:48:59 layer 28 wait 0s attn 1165s mlp 202s new-share(LB) 0.0057 ram_free 43.9 GiB disk_free 171 GiB
|
| 53 |
+
02:10:08 layer 29 wait 0s attn 1059s mlp 208s new-share(LB) 0.0047 ram_free 43.6 GiB disk_free 171 GiB
|
| 54 |
+
02:11:53 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6affac68-47c533f32c14782074382b8c;f0baefbb-d8b5-44da-be9c-cfd371a9147a)
|
| 55 |
+
|
| 56 |
+
Bad request for commit endpoint:
|
| 57 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 58 |
+
02:30:05 layer 30 wait 0s attn 885s mlp 207s new-share(LB) 0.0034 ram_free 44.6 GiB disk_free 172 GiB
|
| 59 |
+
02:52:22 layer 31 wait 0s attn 1111s mlp 225s new-share(LB) 0.0068 ram_free 44.6 GiB disk_free 172 GiB
|
| 60 |
+
03:13:31 layer 32 wait 0s attn 1059s mlp 209s new-share(LB) 0.0085 ram_free 44.6 GiB disk_free 171 GiB
|
| 61 |
+
03:34:12 layer 33 wait 0s attn 1030s mlp 210s new-share(LB) 0.0077 ram_free 44.1 GiB disk_free 171 GiB
|
| 62 |
+
03:52:27 layer 34 wait 0s attn 882s mlp 211s new-share(LB) 0.0069 ram_free 44.5 GiB disk_free 172 GiB
|
| 63 |
+
04:16:08 layer 35 wait 0s attn 1215s mlp 205s new-share(LB) 0.0086 ram_free 44.4 GiB disk_free 172 GiB
|
| 64 |
+
04:21:36 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6affcad0-3f64f70c2c734ffa65b8322d;3144fc12-9d6c-4112-8495-e786c8b2f276)
|
| 65 |
+
|
| 66 |
+
Bad request for commit endpoint:
|
| 67 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 68 |
+
04:29:06 layer 36 wait 0s attn 238s mlp 211s new-share(LB) 0.0058 ram_free 44.4 GiB disk_free 168 GiB
|
| 69 |
+
04:37:02 layer 37 wait 0s attn 258s mlp 217s new-share(LB) 0.0082 ram_free 43.4 GiB disk_free 168 GiB
|
| 70 |
+
04:44:49 layer 38 wait 0s attn 253s mlp 213s new-share(LB) 0.0025 ram_free 43.7 GiB disk_free 169 GiB
|
| 71 |
+
04:50:53 layer 39 wait 0s attn 159s mlp 203s new-share(LB) 0.0019 ram_free 44.3 GiB disk_free 169 GiB
|
| 72 |
+
04:58:38 layer 40 wait 0s attn 252s mlp 211s new-share(LB) 0.0025 ram_free 44.4 GiB disk_free 168 GiB
|
| 73 |
+
05:06:44 layer 41 wait 0s attn 265s mlp 220s new-share(LB) 0.0046 ram_free 44.5 GiB disk_free 168 GiB
|
| 74 |
+
05:08:24 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6affd5c8-3105b89c43553f0826b1446e;45d1a423-773d-491a-9124-6e3c8cfe900a)
|
| 75 |
+
|
| 76 |
+
Bad request for commit endpoint:
|
| 77 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 78 |
+
05:16:13 layer 42 wait 0s attn 249s mlp 220s new-share(LB) 0.0094 ram_free 43.4 GiB disk_free 169 GiB
|
| 79 |
+
05:22:41 layer 43 wait 0s attn 165s mlp 222s new-share(LB) 0.0026 ram_free 43.5 GiB disk_free 169 GiB
|
| 80 |
+
05:30:43 layer 44 wait 0s attn 257s mlp 223s new-share(LB) 0.0080 ram_free 43.6 GiB disk_free 168 GiB
|
| 81 |
+
05:38:44 layer 45 wait 0s attn 266s mlp 214s new-share(LB) 0.0116 ram_free 43.8 GiB disk_free 168 GiB
|
| 82 |
+
05:46:48 layer 46 wait 0s attn 262s mlp 221s new-share(LB) 0.0202 ram_free 43.8 GiB disk_free 169 GiB
|
| 83 |
+
05:53:35 layer 47 wait 0s attn 181s mlp 224s new-share(LB) 0.0283 ram_free 44.3 GiB disk_free 169 GiB
|
| 84 |
+
05:54:48 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6affe0a8-75b54df7008788e6501affd3;363bda01-c8fa-434a-a8cb-db14b3a98a51)
|
| 85 |
+
|
| 86 |
+
Bad request for commit endpoint:
|
| 87 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 88 |
+
06:03:06 layer 48 wait 0s attn 256s mlp 242s new-share(LB) 0.0032 ram_free 44.4 GiB disk_free 165 GiB
|
| 89 |
+
06:11:52 layer 49 wait 0s attn 294s mlp 231s new-share(LB) 0.0011 ram_free 44.5 GiB disk_free 165 GiB
|
| 90 |
+
06:20:17 layer 50 wait 0s attn 278s mlp 226s new-share(LB) 0.0029 ram_free 44.4 GiB disk_free 166 GiB
|
| 91 |
+
06:27:23 layer 51 wait 0s attn 196s mlp 228s new-share(LB) 0.0069 ram_free 44.3 GiB disk_free 166 GiB
|
| 92 |
+
06:35:46 layer 52 wait 0s attn 283s mlp 219s new-share(LB) 0.0147 ram_free 44.4 GiB disk_free 165 GiB
|
| 93 |
+
06:44:11 layer 53 wait 0s attn 283s mlp 220s new-share(LB) 0.0347 ram_free 43.3 GiB disk_free 165 GiB
|
| 94 |
+
06:45:50 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6affec9d-3e5af5d4330e4bc511b6b108;f6a22afa-0f45-4507-b6cc-c944548b53ab)
|
| 95 |
+
|
| 96 |
+
Bad request for commit endpoint:
|
| 97 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 98 |
+
06:54:07 layer 54 wait 0s attn 273s mlp 225s new-share(LB) 0.0185 ram_free 43.4 GiB disk_free 166 GiB
|
| 99 |
+
07:01:10 layer 55 wait 0s attn 187s mlp 234s new-share(LB) 0.0446 ram_free 43.8 GiB disk_free 166 GiB
|
| 100 |
+
07:09:50 layer 56 wait 0s attn 284s mlp 234s new-share(LB) 0.0190 ram_free 43.8 GiB disk_free 165 GiB
|
| 101 |
+
07:18:22 layer 57 wait 0s attn 282s mlp 229s new-share(LB) 0.0392 ram_free 43.8 GiB disk_free 165 GiB
|
| 102 |
+
07:26:36 layer 58 wait 0s attn 270s mlp 222s new-share(LB) 0.0425 ram_free 43.9 GiB disk_free 166 GiB
|
| 103 |
+
07:33:31 layer 59 wait 0s attn 185s mlp 228s new-share(LB) 0.0551 ram_free 43.9 GiB disk_free 166 GiB
|
| 104 |
+
07:34:37 checkpoint FAILED (the pass continues): BadRequestError (Request ID: Root=1-6afff80d-173852c57b66cbb00ece75df;26e924b2-cc36-46b7-9582-97352ab47ecc)
|
| 105 |
+
|
| 106 |
+
Bad request for commit endpoint:
|
| 107 |
+
Private storage limit reached for user STAR-future, please upgrade your plan to increase your private storage limit
|
| 108 |
+
07:43:27 layer 60 wait 0s attn 265s mlp 264s new-share(LB) 0.0184 ram_free 44.2 GiB disk_free 162 GiB
|
| 109 |
+
07:52:20 layer 61 wait 0s attn 295s mlp 236s new-share(LB) 0.0101 ram_free 44.2 GiB disk_free 162 GiB
|
| 110 |
+
08:00:48 layer 62 wait 0s attn 277s mlp 230s new-share(LB) 0.0208 ram_free 44.5 GiB disk_free 163 GiB
|
| 111 |
+
08:08:03 layer 63 wait 0s attn 202s mlp 231s new-share(LB) 0.0143 ram_free 44.5 GiB disk_free 163 GiB
|
| 112 |
+
08:16:21 layer 64 wait 0s attn 273s mlp 223s new-share(LB) 0.0089 ram_free 44.5 GiB disk_free 162 GiB
|
| 113 |
+
08:24:44 layer 65 wait 0s attn 285s mlp 217s new-share(LB) 0.0112 ram_free 44.7 GiB disk_free 162 GiB
|
| 114 |
+
08:26:40 checkpoint after layer 65 in 114s
|
| 115 |
+
08:34:33 layer 66 wait 0s attn 258s mlp 214s new-share(LB) 0.0090 ram_free 44.7 GiB disk_free 163 GiB
|
| 116 |
+
08:41:10 layer 67 wait 0s attn 177s mlp 219s new-share(LB) 0.0216 ram_free 44.7 GiB disk_free 163 GiB
|
| 117 |
+
08:49:32 layer 68 wait 0s attn 275s mlp 225s new-share(LB) 0.0312 ram_free 44.7 GiB disk_free 162 GiB
|
| 118 |
+
08:57:39 layer 69 wait 0s attn 271s mlp 215s new-share(LB) 0.0147 ram_free 44.7 GiB disk_free 162 GiB
|
| 119 |
+
09:05:41 layer 70 wait 0s attn 271s mlp 209s new-share(LB) 0.0174 ram_free 44.7 GiB disk_free 163 GiB
|
| 120 |
+
09:12:23 layer 71 wait 0s attn 192s mlp 208s new-share(LB) 0.0125 ram_free 44.7 GiB disk_free 163 GiB
|
| 121 |
+
09:13:30 checkpoint after layer 71 in 66s
|
| 122 |
+
09:21:47 layer 72 wait 0s attn 279s mlp 218s new-share(LB) 0.0115 ram_free 44.7 GiB disk_free 159 GiB
|
| 123 |
+
09:30:22 layer 73 wait 0s attn 290s mlp 224s new-share(LB) 0.0170 ram_free 44.7 GiB disk_free 159 GiB
|
| 124 |
+
09:39:05 layer 74 wait 0s attn 298s mlp 223s new-share(LB) 0.0111 ram_free 44.6 GiB disk_free 160 GiB
|
| 125 |
+
09:46:43 layer 75 wait 0s attn 227s mlp 230s new-share(LB) 0.0113 ram_free 44.7 GiB disk_free 160 GiB
|
| 126 |
+
09:55:54 layer 76 wait 0s attn 314s mlp 235s new-share(LB) 0.0261 ram_free 44.7 GiB disk_free 159 GiB
|
| 127 |
+
10:04:55 layer 77 wait 0s attn 308s mlp 231s new-share(LB) 0.0248 ram_free 44.7 GiB disk_free 159 GiB
|
| 128 |
+
10:06:34 checkpoint after layer 77 in 97s
|
| 129 |
+
10:15:25 layer 78 wait 0s attn 291s mlp 239s new-share(LB) 0.0247 ram_free 44.6 GiB disk_free 160 GiB
|
| 130 |
+
10:23:08 layer 79 wait 0s attn 219s mlp 243s new-share(LB) 0.0197 ram_free 44.7 GiB disk_free 160 GiB
|
| 131 |
+
10:32:03 layer 80 wait 0s attn 299s mlp 233s new-share(LB) 0.0280 ram_free 44.8 GiB disk_free 159 GiB
|
| 132 |
+
10:40:58 layer 81 wait 0s attn 301s mlp 232s new-share(LB) 0.0548 ram_free 44.8 GiB disk_free 159 GiB
|
| 133 |
+
10:49:53 layer 82 wait 0s attn 306s mlp 228s new-share(LB) 0.0442 ram_free 44.8 GiB disk_free 160 GiB
|
| 134 |
+
10:57:04 layer 83 wait 0s attn 203s mlp 226s new-share(LB) 0.0529 ram_free 44.7 GiB disk_free 160 GiB
|
| 135 |
+
10:58:27 checkpoint after layer 83 in 81s
|
| 136 |
+
11:07:41 layer 84 wait 0s attn 315s mlp 239s new-share(LB) 0.0212 ram_free 44.7 GiB disk_free 156 GiB
|
| 137 |
+
11:17:05 layer 85 wait 0s attn 328s mlp 234s new-share(LB) 0.0259 ram_free 44.6 GiB disk_free 156 GiB
|
| 138 |
+
11:26:12 layer 86 wait 0s attn 305s mlp 241s new-share(LB) 0.0233 ram_free 44.7 GiB disk_free 157 GiB
|
| 139 |
+
11:34:01 layer 87 wait 0s attn 230s mlp 238s new-share(LB) 0.0387 ram_free 44.7 GiB disk_free 157 GiB
|
| 140 |
+
11:43:11 layer 88 wait 0s attn 320s mlp 228s new-share(LB) 0.0429 ram_free 44.7 GiB disk_free 156 GiB
|
| 141 |
+
11:52:22 layer 89 wait 0s attn 319s mlp 230s new-share(LB) 0.0471 ram_free 44.6 GiB disk_free 156 GiB
|
| 142 |
+
11:54:07 checkpoint after layer 89 in 103s
|
| 143 |
+
12:02:55 layer 90 wait 0s attn 308s mlp 221s new-share(LB) 0.0417 ram_free 44.5 GiB disk_free 157 GiB
|
| 144 |
+
12:10:31 layer 91 wait 0s attn 219s mlp 235s new-share(LB) 0.0829 ram_free 44.6 GiB disk_free 157 GiB
|
| 145 |
+
12:17:41 layer 92 wait 0s attn 182s mlp 246s new-share(LB) 0.0745 ram_free 44.6 GiB disk_free 171 GiB
|
| 146 |
+
12:24:04 DONE {"littleboy": {"general_wiki": {"mean_nll": 0.08179357647895813, "ppl": 1.0852317693437572, "n_seqs": 32}, "train_chips": {"mean_nll": 1.7169617414474487, "ppl": 5.567586972256274, "n_seqs": 26}, "train_physics": {"mean_nll": 1.9439582824707031, "ppl": 6.986350259477482, "n_seqs": 15}, "train_space": {"mean_nll": 1.806699514389038, "ppl": 6.0903132329985805, "n_seqs": 34}}}
|
eval/k3pass_train2.log
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 2 |
+
- configuration_kimi_k3.py
|
| 3 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 4 |
+
/usr/local/lib/python3.13/dist-packages/transformers/configuration_utils.py:723: FutureWarning: `rope_scaling` is deprecated and will be removed in a future version. Set `rope_parameters` instead, with `rope_type` and `rope_theta` included.
|
| 5 |
+
warnings.warn(
|
| 6 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 7 |
+
- encoding_k3.py
|
| 8 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 9 |
+
[transformers] A new version of the following files was downloaded from https://huggingface.co/moonshotai/Kimi-K3.1-Pro:
|
| 10 |
+
- tokenization_kimi.py
|
| 11 |
+
- encoding_k3.py
|
| 12 |
+
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 13 |
+
19:01:46 sequences 663 streams 663 tokens 1357824 sets ['general_wiki', 'train_chemistry', 'train_chips', 'train_physics', 'train_space']
|
| 14 |
+
19:11:03 resumed from the checkpoint after layer 89 ram_free 161.5 GiB disk_free 168 GiB
|
| 15 |
+
19:11:03 fingerprint a5859af858d3178b start at layer 90 ram_free 161.5 GiB disk_free 168 GiB
|
| 16 |
+
19:11:26 GPU NVIDIA A100-SXM4-80GB 79.3 GiB, sub-chunk 65536 expert group 524288
|
| 17 |
+
19:22:15 layer 90 wait 83s attn 448s mlp 117s new-share(LB) 0.0491 ram_free 157.6 GiB disk_free 106 GiB
|
| 18 |
+
19:31:14 layer 91 wait 0s attn 424s mlp 114s new-share(LB) 0.1190 ram_free 157.4 GiB disk_free 106 GiB
|
| 19 |
+
19:40:59 layer 92 wait 0s attn 374s mlp 209s new-share(LB) 0.0819 ram_free 157.2 GiB disk_free 90 GiB
|
| 20 |
+
19:48:39 DONE {"littleboy": {"general_wiki": {"mean_nll": 0.09477635473012924, "ppl": 1.0994129491235647, "n_seqs": 64}, "train_chemistry": {"mean_nll": 1.856353759765625, "ppl": 6.4003569341129, "n_seqs": 151}, "train_chips": {"mean_nll": 1.905556559562683, "ppl": 6.723148419095742, "n_seqs": 150}, "train_physics": {"mean_nll": 1.844360113143921, "ppl": 6.324051817782593, "n_seqs": 149}, "train_space": {"mean_nll": 1.6743470430374146, "ppl": 5.335310283466217, "n_seqs": 149}}}
|
eval/k3pass_train2_nll.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a68538e76c89f5639ebcd492f6431481c29048d16cdb871f277059b8f706acb0
|
| 3 |
+
size 5428772
|
eval/k3pass_train2_streams.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"meta": [{"id": "train2_chemistry_000", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_001", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_002", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_003", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_004", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_005", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_006", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_007", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_008", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_009", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_010", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_011", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_012", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_013", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_014", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_015", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_016", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_017", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_018", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_019", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_020", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_021", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_022", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_023", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_024", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_025", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_026", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_027", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_028", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_029", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_030", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_031", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_032", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_033", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_034", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_035", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_036", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_037", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_038", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_039", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_040", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_041", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_042", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_043", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_044", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_045", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_046", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_047", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_048", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_049", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_050", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_051", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_052", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_053", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_054", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_055", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_056", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_057", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_058", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_059", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_060", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_061", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_062", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_063", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_064", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_065", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_066", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_067", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_068", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_069", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_070", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_071", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_072", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_073", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_074", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_075", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_076", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_077", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_078", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_079", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_080", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_081", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_082", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_083", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_084", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_085", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_086", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_087", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_088", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_089", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_090", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_091", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_092", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_093", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_094", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_095", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_096", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_097", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_098", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_099", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_100", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_101", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_102", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_103", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_104", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_105", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_106", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_107", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_108", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_109", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_110", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_111", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_112", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_113", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_114", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_115", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_116", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_117", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_118", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_119", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_120", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_121", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_122", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_123", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_124", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_125", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_126", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_127", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_128", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_129", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_130", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_131", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_132", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_133", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_134", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_135", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_136", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_137", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_138", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_139", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_140", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_141", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_142", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_143", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_144", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_145", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_146", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_147", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_148", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_149", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chemistry_150", "set": "train_chemistry", "role": "train", "base": false}, {"id": "train2_chips_000", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_001", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_002", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_003", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_004", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_005", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_006", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_007", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_008", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_009", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_010", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_011", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_012", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_013", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_014", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_015", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_016", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_017", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_018", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_019", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_020", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_021", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_022", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_023", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_024", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_025", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_026", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_027", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_028", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_029", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_030", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_031", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_032", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_033", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_034", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_035", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_036", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_037", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_038", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_039", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_040", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_041", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_042", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_043", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_044", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_045", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_046", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_047", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_048", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_049", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_050", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_051", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_052", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_053", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_054", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_055", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_056", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_057", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_058", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_059", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_060", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_061", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_062", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_063", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_064", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_065", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_066", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_067", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_068", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_069", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_070", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_071", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_072", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_073", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_074", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_075", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_076", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_077", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_078", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_079", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_080", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_081", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_082", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_083", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_084", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_085", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_086", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_087", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_088", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_089", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_090", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_091", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_092", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_093", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_094", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_095", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_096", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_097", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_098", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_099", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_100", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_101", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_102", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_103", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_104", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_105", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_106", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_107", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_108", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_109", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_110", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_111", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_112", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_113", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_114", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_115", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_116", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_117", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_118", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_119", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_120", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_121", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_122", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_123", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_124", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_125", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_126", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_127", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_128", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_129", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_130", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_131", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_132", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_133", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_134", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_135", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_136", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_137", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_138", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_139", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_140", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_141", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_142", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_143", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_144", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_145", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_146", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_147", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_148", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_chips_149", "set": "train_chips", "role": "train", "base": false}, {"id": "train2_physics_000", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_001", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_002", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_003", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_004", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_005", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_006", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_007", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_008", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_009", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_010", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_011", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_012", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_013", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_014", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_015", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_016", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_017", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_018", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_019", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_020", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_021", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_022", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_023", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_024", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_025", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_026", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_027", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_028", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_029", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_030", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_031", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_032", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_033", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_034", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_035", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_036", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_037", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_038", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_039", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_040", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_041", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_042", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_043", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_044", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_045", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_046", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_047", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_048", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_049", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_050", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_051", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_052", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_053", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_054", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_055", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_056", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_057", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_058", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_059", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_060", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_061", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_062", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_063", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_064", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_065", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_066", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_067", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_068", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_069", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_070", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_071", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_072", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_073", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_074", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_075", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_076", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_077", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_078", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_079", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_080", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_081", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_082", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_083", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_084", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_085", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_086", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_087", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_088", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_089", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_090", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_091", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_092", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_093", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_094", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_095", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_096", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_097", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_098", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_099", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_100", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_101", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_102", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_103", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_104", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_105", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_106", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_107", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_108", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_109", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_110", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_111", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_112", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_113", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_114", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_115", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_116", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_117", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_118", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_119", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_120", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_121", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_122", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_123", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_124", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_125", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_126", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_127", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_128", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_129", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_130", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_131", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_132", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_133", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_134", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_135", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_136", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_137", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_138", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_139", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_140", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_141", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_142", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_143", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_144", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_145", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_146", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_147", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_physics_148", "set": "train_physics", "role": "train", "base": false}, {"id": "train2_space_000", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_001", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_002", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_003", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_004", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_005", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_006", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_007", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_008", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_009", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_010", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_011", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_012", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_013", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_014", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_015", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_016", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_017", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_018", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_019", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_020", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_021", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_022", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_023", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_024", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_025", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_026", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_027", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_028", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_029", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_030", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_031", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_032", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_033", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_034", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_035", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_036", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_037", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_038", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_039", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_040", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_041", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_042", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_043", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_044", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_045", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_046", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_047", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_048", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_049", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_050", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_051", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_052", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_053", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_054", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_055", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_056", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_057", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_058", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_059", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_060", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_061", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_062", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_063", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_064", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_065", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_066", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_067", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_068", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_069", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_070", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_071", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_072", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_073", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_074", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_075", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_076", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_077", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_078", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_079", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_080", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_081", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_082", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_083", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_084", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_085", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_086", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_087", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_088", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_089", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_090", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_091", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_092", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_093", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_094", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_095", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_096", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_097", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_098", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_099", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_100", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_101", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_102", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_103", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_104", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_105", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_106", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_107", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_108", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_109", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_110", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_111", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_112", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_113", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_114", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_115", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_116", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_117", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_118", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_119", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_120", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_121", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_122", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_123", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_124", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_125", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_126", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_127", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_128", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_129", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_130", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_131", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_132", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_133", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_134", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_135", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_136", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_137", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_138", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_139", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_140", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_141", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_142", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_143", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_144", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_145", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_146", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_147", "set": "train_space", "role": "train", "base": false}, {"id": "train2_space_148", "set": "train_space", "role": "train", "base": false}, {"id": "Economy of Angola", "set": "general_wiki", "role": "train", "base": false}, {"id": "Albert Sidney Johnston", "set": "general_wiki", "role": "train", "base": false}, {"id": "Android (robot)", "set": "general_wiki", "role": "train", "base": false}, {"id": "Alberta", "set": "general_wiki", "role": "train", "base": false}, {"id": "Albert Einstein", "set": "general_wiki", "role": "train", "base": false}, {"id": "Afghanistan", "set": "general_wiki", "role": "train", "base": false}, {"id": "Albania", "set": "general_wiki", "role": "train", "base": false}, {"id": "Allah", "set": "general_wiki", "role": "train", "base": false}, {"id": "Azerbaijan", "set": "general_wiki", "role": "train", "base": false}, {"id": "Amateur astronomy", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aikido", "set": "general_wiki", "role": "train", "base": false}, {"id": "Art", "set": "general_wiki", "role": "train", "base": false}, {"id": "Abortion", "set": "general_wiki", "role": "train", "base": false}, {"id": "American Revolutionary War", "set": "general_wiki", "role": "train", "base": false}, {"id": "Algorithm", "set": "general_wiki", "role": "train", "base": false}, {"id": "Mouthwash", "set": "general_wiki", "role": "train", "base": false}, {"id": "Alexander the Great", "set": "general_wiki", "role": "train", "base": false}, {"id": "Asteroids (video game)", "set": "general_wiki", "role": "train", "base": false}, {"id": "Asparagales", "set": "general_wiki", "role": "train", "base": false}, {"id": "Asteroid", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aries (constellation)", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aquarius (constellation)", "set": "general_wiki", "role": "train", "base": false}, {"id": "Anime", "set": "general_wiki", "role": "train", "base": false}, {"id": "Ankara", "set": "general_wiki", "role": "train", "base": false}, {"id": "Arabic", "set": "general_wiki", "role": "train", "base": false}, {"id": "Alfred Hitchcock", "set": "general_wiki", "role": "train", "base": false}, {"id": "Altaic languages", "set": "general_wiki", "role": "train", "base": false}, {"id": "Axiom of choice", "set": "general_wiki", "role": "train", "base": false}, {"id": "Attila", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aegean Sea", "set": "general_wiki", "role": "train", "base": false}, {"id": "A Clockwork Orange (novel)", "set": "general_wiki", "role": "train", "base": false}, {"id": "Amsterdam", "set": "general_wiki", "role": "train", "base": false}, {"id": "Audi", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aircraft", "set": "general_wiki", "role": "train", "base": false}, {"id": "Alfred Nobel", "set": "general_wiki", "role": "train", "base": false}, {"id": "Alexander Graham Bell", "set": "general_wiki", "role": "train", "base": false}, {"id": "Anatolia", "set": "general_wiki", "role": "train", "base": false}, {"id": "Apple Inc.", "set": "general_wiki", "role": "train", "base": false}, {"id": "American Civil War", "set": "general_wiki", "role": "train", "base": false}, {"id": "Andy Warhol", "set": "general_wiki", "role": "train", "base": false}, {"id": "Akira Kurosawa", "set": "general_wiki", "role": "train", "base": false}, {"id": "Ancient Egypt", "set": "general_wiki", "role": "train", "base": false}, {"id": "Abugida", "set": "general_wiki", "role": "train", "base": false}, {"id": "ABBA", "set": "general_wiki", "role": "train", "base": false}, {"id": "MessagePad", "set": "general_wiki", "role": "train", "base": false}, {"id": "A. E. van Vogt", "set": "general_wiki", "role": "train", "base": false}, {"id": "Anna Kournikova", "set": "general_wiki", "role": "train", "base": false}, {"id": "Agnosticism", "set": "general_wiki", "role": "train", "base": false}, {"id": "Argon", "set": "general_wiki", "role": "train", "base": false}, {"id": "Arsenic", "set": "general_wiki", "role": "train", "base": false}, {"id": "Antimony", "set": "general_wiki", "role": "train", "base": false}, {"id": "Actinium", "set": "general_wiki", "role": "train", "base": false}, {"id": "Americium", "set": "general_wiki", "role": "train", "base": false}, {"id": "Astatine", "set": "general_wiki", "role": "train", "base": false}, {"id": "Atom", "set": "general_wiki", "role": "train", "base": false}, {"id": "Aluminium", "set": "general_wiki", "role": "train", "base": false}, {"id": "Anglican Communion", "set": "general_wiki", "role": "train", "base": false}, {"id": "Anxiety", "set": "general_wiki", "role": "train", "base": false}, {"id": "A. A. Milne", "set": "general_wiki", "role": "train", "base": false}, {"id": "Axiom", "set": "general_wiki", "role": "train", "base": false}, {"id": "The Amazing Spider-Man", "set": "general_wiki", "role": "train", "base": false}, {"id": "Antigua and Barbuda", "set": "general_wiki", "role": "train", "base": false}, {"id": "Albert Speer", "set": "general_wiki", "role": "train", "base": false}, {"id": "Asteraceae", "set": "general_wiki", "role": "train", "base": false}], "streams": [[0, "littleboy"], [1, "littleboy"], [2, "littleboy"], [3, "littleboy"], [4, "littleboy"], [5, "littleboy"], [6, "littleboy"], [7, "littleboy"], [8, "littleboy"], [9, "littleboy"], [10, "littleboy"], [11, "littleboy"], [12, "littleboy"], [13, "littleboy"], [14, "littleboy"], [15, "littleboy"], [16, "littleboy"], [17, "littleboy"], [18, "littleboy"], [19, "littleboy"], [20, "littleboy"], [21, "littleboy"], [22, "littleboy"], [23, "littleboy"], [24, "littleboy"], [25, "littleboy"], [26, "littleboy"], [27, "littleboy"], [28, "littleboy"], [29, "littleboy"], [30, "littleboy"], [31, "littleboy"], [32, "littleboy"], [33, "littleboy"], [34, "littleboy"], [35, "littleboy"], [36, "littleboy"], [37, "littleboy"], [38, "littleboy"], [39, "littleboy"], [40, "littleboy"], [41, "littleboy"], [42, "littleboy"], [43, "littleboy"], [44, "littleboy"], [45, "littleboy"], [46, "littleboy"], [47, "littleboy"], [48, "littleboy"], [49, "littleboy"], [50, "littleboy"], [51, "littleboy"], [52, "littleboy"], [53, "littleboy"], [54, "littleboy"], [55, "littleboy"], [56, "littleboy"], [57, "littleboy"], [58, "littleboy"], [59, "littleboy"], [60, "littleboy"], [61, "littleboy"], [62, "littleboy"], [63, "littleboy"], [64, "littleboy"], [65, "littleboy"], [66, "littleboy"], [67, "littleboy"], [68, "littleboy"], [69, "littleboy"], [70, "littleboy"], [71, "littleboy"], [72, "littleboy"], [73, "littleboy"], [74, "littleboy"], [75, "littleboy"], [76, "littleboy"], [77, "littleboy"], [78, "littleboy"], [79, "littleboy"], [80, "littleboy"], [81, "littleboy"], [82, "littleboy"], [83, "littleboy"], [84, "littleboy"], [85, "littleboy"], [86, "littleboy"], [87, "littleboy"], [88, "littleboy"], [89, "littleboy"], [90, "littleboy"], [91, "littleboy"], [92, "littleboy"], [93, "littleboy"], [94, "littleboy"], [95, "littleboy"], [96, "littleboy"], [97, "littleboy"], [98, "littleboy"], [99, "littleboy"], [100, "littleboy"], [101, "littleboy"], [102, "littleboy"], [103, "littleboy"], [104, "littleboy"], [105, "littleboy"], [106, "littleboy"], [107, "littleboy"], [108, "littleboy"], [109, "littleboy"], [110, "littleboy"], [111, "littleboy"], [112, "littleboy"], [113, "littleboy"], [114, "littleboy"], [115, "littleboy"], [116, "littleboy"], [117, "littleboy"], [118, "littleboy"], [119, "littleboy"], [120, "littleboy"], [121, "littleboy"], [122, "littleboy"], [123, "littleboy"], [124, "littleboy"], [125, "littleboy"], [126, "littleboy"], [127, "littleboy"], [128, "littleboy"], [129, "littleboy"], [130, "littleboy"], [131, "littleboy"], [132, "littleboy"], [133, "littleboy"], [134, "littleboy"], [135, "littleboy"], [136, "littleboy"], [137, "littleboy"], [138, "littleboy"], [139, "littleboy"], [140, "littleboy"], [141, "littleboy"], [142, "littleboy"], [143, "littleboy"], [144, "littleboy"], [145, "littleboy"], [146, "littleboy"], [147, "littleboy"], [148, "littleboy"], [149, "littleboy"], [150, "littleboy"], [151, "littleboy"], [152, "littleboy"], [153, "littleboy"], [154, "littleboy"], [155, "littleboy"], [156, "littleboy"], [157, "littleboy"], [158, "littleboy"], [159, "littleboy"], [160, "littleboy"], [161, "littleboy"], [162, "littleboy"], [163, "littleboy"], [164, "littleboy"], [165, "littleboy"], [166, "littleboy"], [167, "littleboy"], [168, "littleboy"], [169, "littleboy"], [170, "littleboy"], [171, "littleboy"], [172, "littleboy"], [173, "littleboy"], [174, "littleboy"], [175, "littleboy"], [176, "littleboy"], [177, "littleboy"], [178, "littleboy"], [179, "littleboy"], [180, "littleboy"], [181, "littleboy"], [182, "littleboy"], [183, "littleboy"], [184, "littleboy"], [185, "littleboy"], [186, "littleboy"], [187, "littleboy"], [188, "littleboy"], [189, "littleboy"], [190, "littleboy"], [191, "littleboy"], [192, "littleboy"], [193, "littleboy"], [194, "littleboy"], [195, "littleboy"], [196, "littleboy"], [197, "littleboy"], [198, "littleboy"], [199, "littleboy"], [200, "littleboy"], [201, "littleboy"], [202, "littleboy"], [203, "littleboy"], [204, "littleboy"], [205, "littleboy"], [206, "littleboy"], [207, "littleboy"], [208, "littleboy"], [209, "littleboy"], [210, "littleboy"], [211, "littleboy"], [212, "littleboy"], [213, "littleboy"], [214, "littleboy"], [215, "littleboy"], [216, "littleboy"], [217, "littleboy"], [218, "littleboy"], [219, "littleboy"], [220, "littleboy"], [221, "littleboy"], [222, "littleboy"], [223, "littleboy"], [224, "littleboy"], [225, "littleboy"], [226, "littleboy"], [227, "littleboy"], [228, "littleboy"], [229, "littleboy"], [230, "littleboy"], [231, "littleboy"], [232, "littleboy"], [233, "littleboy"], [234, "littleboy"], [235, "littleboy"], [236, "littleboy"], [237, "littleboy"], [238, "littleboy"], [239, "littleboy"], [240, "littleboy"], [241, "littleboy"], [242, "littleboy"], [243, "littleboy"], [244, "littleboy"], [245, "littleboy"], [246, "littleboy"], [247, "littleboy"], [248, "littleboy"], [249, "littleboy"], [250, "littleboy"], [251, "littleboy"], [252, "littleboy"], [253, "littleboy"], [254, "littleboy"], [255, "littleboy"], [256, "littleboy"], [257, "littleboy"], [258, "littleboy"], [259, "littleboy"], [260, "littleboy"], [261, "littleboy"], [262, "littleboy"], [263, "littleboy"], [264, "littleboy"], [265, "littleboy"], [266, "littleboy"], [267, "littleboy"], [268, "littleboy"], [269, "littleboy"], [270, "littleboy"], [271, "littleboy"], [272, "littleboy"], [273, "littleboy"], [274, "littleboy"], [275, "littleboy"], [276, "littleboy"], [277, "littleboy"], [278, "littleboy"], [279, "littleboy"], [280, "littleboy"], [281, "littleboy"], [282, "littleboy"], [283, "littleboy"], [284, "littleboy"], [285, "littleboy"], [286, "littleboy"], [287, "littleboy"], [288, "littleboy"], [289, "littleboy"], [290, "littleboy"], [291, "littleboy"], [292, "littleboy"], [293, "littleboy"], [294, "littleboy"], [295, "littleboy"], [296, "littleboy"], [297, "littleboy"], [298, "littleboy"], [299, "littleboy"], [300, "littleboy"], [301, "littleboy"], [302, "littleboy"], [303, "littleboy"], [304, "littleboy"], [305, "littleboy"], [306, "littleboy"], [307, "littleboy"], [308, "littleboy"], [309, "littleboy"], [310, "littleboy"], [311, "littleboy"], [312, "littleboy"], [313, "littleboy"], [314, "littleboy"], [315, "littleboy"], [316, "littleboy"], [317, "littleboy"], [318, "littleboy"], [319, "littleboy"], [320, "littleboy"], [321, "littleboy"], [322, "littleboy"], [323, "littleboy"], [324, "littleboy"], [325, "littleboy"], [326, "littleboy"], [327, "littleboy"], [328, "littleboy"], [329, "littleboy"], [330, "littleboy"], [331, "littleboy"], [332, "littleboy"], [333, "littleboy"], [334, "littleboy"], [335, "littleboy"], [336, "littleboy"], [337, "littleboy"], [338, "littleboy"], [339, "littleboy"], [340, "littleboy"], [341, "littleboy"], [342, "littleboy"], [343, "littleboy"], [344, "littleboy"], [345, "littleboy"], [346, "littleboy"], [347, "littleboy"], [348, "littleboy"], [349, "littleboy"], [350, "littleboy"], [351, "littleboy"], [352, "littleboy"], [353, "littleboy"], [354, "littleboy"], [355, "littleboy"], [356, "littleboy"], [357, "littleboy"], [358, "littleboy"], [359, "littleboy"], [360, "littleboy"], [361, "littleboy"], [362, "littleboy"], [363, "littleboy"], [364, "littleboy"], [365, "littleboy"], [366, "littleboy"], [367, "littleboy"], [368, "littleboy"], [369, "littleboy"], [370, "littleboy"], [371, "littleboy"], [372, "littleboy"], [373, "littleboy"], [374, "littleboy"], [375, "littleboy"], [376, "littleboy"], [377, "littleboy"], [378, "littleboy"], [379, "littleboy"], [380, "littleboy"], [381, "littleboy"], [382, "littleboy"], [383, "littleboy"], [384, "littleboy"], [385, "littleboy"], [386, "littleboy"], [387, "littleboy"], [388, "littleboy"], [389, "littleboy"], [390, "littleboy"], [391, "littleboy"], [392, "littleboy"], [393, "littleboy"], [394, "littleboy"], [395, "littleboy"], [396, "littleboy"], [397, "littleboy"], [398, "littleboy"], [399, "littleboy"], [400, "littleboy"], [401, "littleboy"], [402, "littleboy"], [403, "littleboy"], [404, "littleboy"], [405, "littleboy"], [406, "littleboy"], [407, "littleboy"], [408, "littleboy"], [409, "littleboy"], [410, "littleboy"], [411, "littleboy"], [412, "littleboy"], [413, "littleboy"], [414, "littleboy"], [415, "littleboy"], [416, "littleboy"], [417, "littleboy"], [418, "littleboy"], [419, "littleboy"], [420, "littleboy"], [421, "littleboy"], [422, "littleboy"], [423, "littleboy"], [424, "littleboy"], [425, "littleboy"], [426, "littleboy"], [427, "littleboy"], [428, "littleboy"], [429, "littleboy"], [430, "littleboy"], [431, "littleboy"], [432, "littleboy"], [433, "littleboy"], [434, "littleboy"], [435, "littleboy"], [436, "littleboy"], [437, "littleboy"], [438, "littleboy"], [439, "littleboy"], [440, "littleboy"], [441, "littleboy"], [442, "littleboy"], [443, "littleboy"], [444, "littleboy"], [445, "littleboy"], [446, "littleboy"], [447, "littleboy"], [448, "littleboy"], [449, "littleboy"], [450, "littleboy"], [451, "littleboy"], [452, "littleboy"], [453, "littleboy"], [454, "littleboy"], [455, "littleboy"], [456, "littleboy"], [457, "littleboy"], [458, "littleboy"], [459, "littleboy"], [460, "littleboy"], [461, "littleboy"], [462, "littleboy"], [463, "littleboy"], [464, "littleboy"], [465, "littleboy"], [466, "littleboy"], [467, "littleboy"], [468, "littleboy"], [469, "littleboy"], [470, "littleboy"], [471, "littleboy"], [472, "littleboy"], [473, "littleboy"], [474, "littleboy"], [475, "littleboy"], [476, "littleboy"], [477, "littleboy"], [478, "littleboy"], [479, "littleboy"], [480, "littleboy"], [481, "littleboy"], [482, "littleboy"], [483, "littleboy"], [484, "littleboy"], [485, "littleboy"], [486, "littleboy"], [487, "littleboy"], [488, "littleboy"], [489, "littleboy"], [490, "littleboy"], [491, "littleboy"], [492, "littleboy"], [493, "littleboy"], [494, "littleboy"], [495, "littleboy"], [496, "littleboy"], [497, "littleboy"], [498, "littleboy"], [499, "littleboy"], [500, "littleboy"], [501, "littleboy"], [502, "littleboy"], [503, "littleboy"], [504, "littleboy"], [505, "littleboy"], [506, "littleboy"], [507, "littleboy"], [508, "littleboy"], [509, "littleboy"], [510, "littleboy"], [511, "littleboy"], [512, "littleboy"], [513, "littleboy"], [514, "littleboy"], [515, "littleboy"], [516, "littleboy"], [517, "littleboy"], [518, "littleboy"], [519, "littleboy"], [520, "littleboy"], [521, "littleboy"], [522, "littleboy"], [523, "littleboy"], [524, "littleboy"], [525, "littleboy"], [526, "littleboy"], [527, "littleboy"], [528, "littleboy"], [529, "littleboy"], [530, "littleboy"], [531, "littleboy"], [532, "littleboy"], [533, "littleboy"], [534, "littleboy"], [535, "littleboy"], [536, "littleboy"], [537, "littleboy"], [538, "littleboy"], [539, "littleboy"], [540, "littleboy"], [541, "littleboy"], [542, "littleboy"], [543, "littleboy"], [544, "littleboy"], [545, "littleboy"], [546, "littleboy"], [547, "littleboy"], [548, "littleboy"], [549, "littleboy"], [550, "littleboy"], [551, "littleboy"], [552, "littleboy"], [553, "littleboy"], [554, "littleboy"], [555, "littleboy"], [556, "littleboy"], [557, "littleboy"], [558, "littleboy"], [559, "littleboy"], [560, "littleboy"], [561, "littleboy"], [562, "littleboy"], [563, "littleboy"], [564, "littleboy"], [565, "littleboy"], [566, "littleboy"], [567, "littleboy"], [568, "littleboy"], [569, "littleboy"], [570, "littleboy"], [571, "littleboy"], [572, "littleboy"], [573, "littleboy"], [574, "littleboy"], [575, "littleboy"], [576, "littleboy"], [577, "littleboy"], [578, "littleboy"], [579, "littleboy"], [580, "littleboy"], [581, "littleboy"], [582, "littleboy"], [583, "littleboy"], [584, "littleboy"], [585, "littleboy"], [586, "littleboy"], [587, "littleboy"], [588, "littleboy"], [589, "littleboy"], [590, "littleboy"], [591, "littleboy"], [592, "littleboy"], [593, "littleboy"], [594, "littleboy"], [595, "littleboy"], [596, "littleboy"], [597, "littleboy"], [598, "littleboy"], [599, "littleboy"], [600, "littleboy"], [601, "littleboy"], [602, "littleboy"], [603, "littleboy"], [604, "littleboy"], [605, "littleboy"], [606, "littleboy"], [607, "littleboy"], [608, "littleboy"], [609, "littleboy"], [610, "littleboy"], [611, "littleboy"], [612, "littleboy"], [613, "littleboy"], [614, "littleboy"], [615, "littleboy"], [616, "littleboy"], [617, "littleboy"], [618, "littleboy"], [619, "littleboy"], [620, "littleboy"], [621, "littleboy"], [622, "littleboy"], [623, "littleboy"], [624, "littleboy"], [625, "littleboy"], [626, "littleboy"], [627, "littleboy"], [628, "littleboy"], [629, "littleboy"], [630, "littleboy"], [631, "littleboy"], [632, "littleboy"], [633, "littleboy"], [634, "littleboy"], [635, "littleboy"], [636, "littleboy"], [637, "littleboy"], [638, "littleboy"], [639, "littleboy"], [640, "littleboy"], [641, "littleboy"], [642, "littleboy"], [643, "littleboy"], [644, "littleboy"], [645, "littleboy"], [646, "littleboy"], [647, "littleboy"], [648, "littleboy"], [649, "littleboy"], [650, "littleboy"], [651, "littleboy"], [652, "littleboy"], [653, "littleboy"], [654, "littleboy"], [655, "littleboy"], [656, "littleboy"], [657, "littleboy"], [658, "littleboy"], [659, "littleboy"], [660, "littleboy"], [661, "littleboy"], [662, "littleboy"]], "seq": 2048}
|
eval/k3pass_train2_summary.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"seq": 2048,
|
| 3 |
+
"n_seqs": 663,
|
| 4 |
+
"streams": 663,
|
| 5 |
+
"layers_run": 93,
|
| 6 |
+
"new_share_lb_by_layer": {
|
| 7 |
+
"0": 0.0,
|
| 8 |
+
"1": 0.012315706930054439,
|
| 9 |
+
"2": 0.0016871203415918965,
|
| 10 |
+
"3": 0.001639157600720521,
|
| 11 |
+
"4": 0.004333311971417469,
|
| 12 |
+
"5": 0.0050598880933488116,
|
| 13 |
+
"6": 0.008834263436260266,
|
| 14 |
+
"7": 0.012104799636663536,
|
| 15 |
+
"8": 0.006255321069810186,
|
| 16 |
+
"9": 0.009440518445075458,
|
| 17 |
+
"10": 0.007357728140791078,
|
| 18 |
+
"11": 0.017234422687896236,
|
| 19 |
+
"12": 3.3187290811638184e-05,
|
| 20 |
+
"13": 0.005170266934126885,
|
| 21 |
+
"14": 0.0022180249179161375,
|
| 22 |
+
"15": 0.00330528846996672,
|
| 23 |
+
"16": 0.0030718727358989137,
|
| 24 |
+
"17": 0.0014979850160531127,
|
| 25 |
+
"18": 0.0012422909710463558,
|
| 26 |
+
"19": 0.003182527705392102,
|
| 27 |
+
"20": 0.0018348291004989662,
|
| 28 |
+
"21": 0.005451737449337275,
|
| 29 |
+
"22": 0.0009009820174883775,
|
| 30 |
+
"23": 0.0014214379243063845,
|
| 31 |
+
"24": 0.001063834476182139,
|
| 32 |
+
"25": 0.00512833397506791,
|
| 33 |
+
"26": 0.000897483773589932,
|
| 34 |
+
"27": 0.0007144703538905756,
|
| 35 |
+
"28": 0.006009431242616917,
|
| 36 |
+
"29": 0.0044121145127484435,
|
| 37 |
+
"30": 0.003028098620940702,
|
| 38 |
+
"31": 0.005195813287937308,
|
| 39 |
+
"32": 0.006473132785617586,
|
| 40 |
+
"33": 0.007435932402888125,
|
| 41 |
+
"34": 0.006628666501520356,
|
| 42 |
+
"35": 0.008071139853779188,
|
| 43 |
+
"36": 0.005485937436888076,
|
| 44 |
+
"37": 0.0060540798849245,
|
| 45 |
+
"38": 0.001628432689420036,
|
| 46 |
+
"39": 0.0017109636198392147,
|
| 47 |
+
"40": 0.0021161155667729103,
|
| 48 |
+
"41": 0.004348271549573986,
|
| 49 |
+
"42": 0.014699161937671009,
|
| 50 |
+
"43": 0.0022594054948768916,
|
| 51 |
+
"44": 0.0071100433038190835,
|
| 52 |
+
"45": 0.010731278452319887,
|
| 53 |
+
"46": 0.01203142876314002,
|
| 54 |
+
"47": 0.024971434116071344,
|
| 55 |
+
"48": 0.0028160866388565052,
|
| 56 |
+
"49": 0.001517455503562266,
|
| 57 |
+
"50": 0.003087108482102418,
|
| 58 |
+
"51": 0.007430408823515989,
|
| 59 |
+
"52": 0.014030030703798588,
|
| 60 |
+
"53": 0.030995963099180842,
|
| 61 |
+
"54": 0.01823556475723401,
|
| 62 |
+
"55": 0.059812703772502786,
|
| 63 |
+
"56": 0.02237219238712777,
|
| 64 |
+
"57": 0.04506769658910563,
|
| 65 |
+
"58": 0.03768188999137008,
|
| 66 |
+
"59": 0.06036777429136576,
|
| 67 |
+
"60": 0.020052672643354936,
|
| 68 |
+
"61": 0.012297847447284746,
|
| 69 |
+
"62": 0.021437240857209557,
|
| 70 |
+
"63": 0.01597155628762409,
|
| 71 |
+
"64": 0.011464160649305376,
|
| 72 |
+
"65": 0.013174387761202064,
|
| 73 |
+
"66": 0.009807281819808536,
|
| 74 |
+
"67": 0.02831957611180898,
|
| 75 |
+
"68": 0.036475824717527784,
|
| 76 |
+
"69": 0.01813618705480122,
|
| 77 |
+
"70": 0.019286648933614182,
|
| 78 |
+
"71": 0.013995692700001538,
|
| 79 |
+
"72": 0.012835656579297323,
|
| 80 |
+
"73": 0.017720770470090044,
|
| 81 |
+
"74": 0.01232647795938124,
|
| 82 |
+
"75": 0.009601207586289082,
|
| 83 |
+
"76": 0.024109991393747372,
|
| 84 |
+
"77": 0.025557436085506983,
|
| 85 |
+
"78": 0.027104074208467614,
|
| 86 |
+
"79": 0.02801679361044102,
|
| 87 |
+
"80": 0.03161202228963825,
|
| 88 |
+
"81": 0.06684334662098151,
|
| 89 |
+
"82": 0.04877150885277564,
|
| 90 |
+
"83": 0.055513039742614706,
|
| 91 |
+
"84": 0.02212634876364811,
|
| 92 |
+
"85": 0.0344655769982489,
|
| 93 |
+
"86": 0.022351340996171733,
|
| 94 |
+
"87": 0.04702275494172562,
|
| 95 |
+
"88": 0.06936125407841051,
|
| 96 |
+
"89": 0.05028265778138267,
|
| 97 |
+
"90": 0.04907198932701736,
|
| 98 |
+
"91": 0.11900511382886547,
|
| 99 |
+
"92": 0.08189026160702266
|
| 100 |
+
},
|
| 101 |
+
"per_set": {
|
| 102 |
+
"littleboy": {
|
| 103 |
+
"general_wiki": {
|
| 104 |
+
"mean_nll": 0.09477635473012924,
|
| 105 |
+
"ppl": 1.0994129491235647,
|
| 106 |
+
"n_seqs": 64
|
| 107 |
+
},
|
| 108 |
+
"train_chemistry": {
|
| 109 |
+
"mean_nll": 1.856353759765625,
|
| 110 |
+
"ppl": 6.4003569341129,
|
| 111 |
+
"n_seqs": 151
|
| 112 |
+
},
|
| 113 |
+
"train_chips": {
|
| 114 |
+
"mean_nll": 1.905556559562683,
|
| 115 |
+
"ppl": 6.723148419095742,
|
| 116 |
+
"n_seqs": 150
|
| 117 |
+
},
|
| 118 |
+
"train_physics": {
|
| 119 |
+
"mean_nll": 1.844360113143921,
|
| 120 |
+
"ppl": 6.324051817782593,
|
| 121 |
+
"n_seqs": 149
|
| 122 |
+
},
|
| 123 |
+
"train_space": {
|
| 124 |
+
"mean_nll": 1.6743470430374146,
|
| 125 |
+
"ppl": 5.335310283466217,
|
| 126 |
+
"n_seqs": 149
|
| 127 |
+
}
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
}
|
eval/k3pass_train_nll.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f231f89eb095e6660cbe704e97dd48a4d7d31d9dcd34048c8f450ef64f111d9c
|
| 3 |
+
size 876244
|