diff --git a/results/funding/README.in.md b/results/funding/README.in.md new file mode 100644 index 0000000000000000000000000000000000000000..72944320cfb48309adabfa40c2c95b81d644f747 --- /dev/null +++ b/results/funding/README.in.md @@ -0,0 +1,118 @@ +# Same-size comparisons, the three memory circuits and a combined 0.1B model (15 and 16 November 2026) + +One session on one AMD MI300X (PyTorch 2.14, ROCm), about three hours. This file is written by +`python experiments/funding_report.py` from the result files in this folder, `results/weight_alter*/` and +`results/combined/`. Edit `README.in.md`, not this file. + +How to read the numbers. Bits per byte on held-out English, Japanese Wikipedia, Japanese web text and code; "Mean" is +the mean of those four; lower is better. Every model in a table has the same width, depth, 32k tokenizer, data (50% +English, 30% Japanese, 20% code), batch (32 x 512 tokens), schedule and steps (3,000, about 49M tokens), in 32-bit +precision. A seed fixes the starting weights and, for ExeaLM, the starting circuits. The Qwen3.5-style model is our +own build of that layout (Gated DeltaNet and gated attention layers, about 3 to 1, DeltaNet in plain PyTorch), not +the released Qwen3.5 weights. Runs shared the GPU, so their wall-clock seconds are not comparable; speed is in +section 6. Commands: `experiments/tokenizer_lm.py` (the `args` field of each file holds the exact arguments). + +## 1. 13M parameters, five seeds (0 to 4), then five more (5 to 9) for some rows + +{{TABLE_13M}} + +{{PAIRS_13M}} + +- With the original starting menu, ExeaLM's median (1.511) is ahead of every baseline's, and seeds 0 to 2 beat every + baseline run. Seed 4 drew a poor set of starting circuits (four rotary-attention circuits, no state-space or + oscillating memory) and scored 1.567, mostly on code. That one seed pulls the mean level with the Qwen3.5-style + model and the gated Llama, and makes ExeaLM's spread several times theirs. +- The circuit search did not repair it: seed 4 with the search on scored 1.565 (seed 3: 1.520). The search as tuned + (every 250 steps, first half of training) replaced one circuit. Seeds 0 to 2 with the search were not run. +- Leaving the rotary-attention circuit out of the starting menu did (`"init_weights": {..., "RP": 0}`): all five + seeds land between 1.503 and 1.515, each ahead of every Qwen3.5-style run and every gated-Llama run. Rotary + attention duplicates what the attention layers of the hybrid already do. This menu was chosen after seeing seed 4, + so it was then run on seeds 5 to 9, which it had not seen: 1.505, 1.504, 1.507, 1.527, 1.512 (mean 1.511), against + 1.523 for the Qwen3.5-style model and 1.521 for the gated Llama on the same seeds. It is ahead of the gated Llama on + 4 of those 5 and level with the Qwen3.5-style model on seed 8 (1.5269 against 1.5270). The original menu on seeds + 5 to 9 (leak fix on) averages 1.520, with another weak seed (1.544). +- Seeds 0 and 1 reproduce the Mac Studio runs of 12 November (1.511 and 1.512 against 1.520 and 1.521 for the + Qwen3.5-style model). + +## 2. The normalization look-ahead (#47) costs nothing to fix + +A circuit with no measured output scale was scaled by the batch it was reading, so its output depended on later tokens +and on other rows until its first training step. The fix uses a constant scale until the first measurement. + +{{PAIRS_FIX}} + +The fix is merged. The "leak fix on" rows in this file were run with it. + +## 3. About 0.1B parameters (width 640, 14 layers, TONN at layers 0, 3, 6, 9, 12) + +{{TABLE_100M}} + +{{PAIRS_100M}} + +- Equal steps, learning rate 1e-3 for every model. On this GPU in 32-bit precision ExeaLM takes about 1.2 times as + long per step as Llama (1.6 times in bf16, section 6), so at equal training time the gap is smaller than at equal + steps. The earlier equal-time result on the Mac Studio (1.455 against 1.479, 2 seeds, no gated attention) is in + `results/README.md`, section 8. +- ExeaLM has 4% more parameters than the plain Llama (93.4M against 89.7M): the gate and QK-norm of its attention + layers. The gated Llama row is the same-parameter control. + +## 4. The relay task: the board and the weight-alter circuit (`experiments/swarm_relay.py --memory AG|WA`) + +One copy of the model reads four facts, another must answer questions about them, and only the path under test +connects them. Chance is 1.6%. 0.8M parameters, 3,000 steps. + +{{RELAY}} + +- The board passes the facts almost every time. With a learned key (the first version: both vectors of an edit are + learned maps of the writing slot's input), weight-alter passes about half, on every seed and in every variant tried: + 1, 2 or 4 slots per layer, writes corrected so they do not disturb each other (`exact_writes`, 49 to 51% when + stopped at 1,750 to 2,250 steps), learned positions for the key and the value (41 to 45% at 750 to 1,000 steps), + and edits to the MLP's input matrix. Logs of the stopped runs are in `results/weight_alter/logs/`. +- 52% is what an asker scores if it knows which four answers exist, not which question each belongs to, and rules + out the answers it has already seen: 25%, 33%, 50% and 100% on the four questions in turn. The reruns scored by + question show that pattern (25 to 30%, 34 to 36%, 49 to 50%, 90 to 93%). The edits carried the values across; the + model did not learn to bind them to keys. +- With the key taken from the edited layer (`wa_key="hidden"`: the key of an edit is what the edited matrix itself + receives at the picked positions of the writer's chunk, the key ROME uses), all six runs pass 99% at step 250 and + end at 99.7 to 100%, 1.4 to 2.1% with the path cut. With eight facts: 100% (one seed). +- On text, one self-editing weight-alter slot per TONN layer costs about 0.008 bits per byte at 13M with the + learned key (section 1, 2 seeds), 0.005 with the key from the edited layer and 0.003 with that key and edits to + the input matrix (3 seeds each, against the same seeds of the hybrid with the leak fix). + +## 5. One 0.1B model with the board, the library and weight-alter (`experiments/full_small.py --preset 100m --wa 1`) + +The "together" recipe of `results/README.md` section 10 (relay and lookup taught with the text from the first step), +with one weight-alter slot added to every TONN layer, and a same-size Llama on the same stream of batches. Rows without a step number are at step 3,000. + +{{COMBINED}} + +- Seed 0 at 2e-3: both skills form. Relay 99.4% (0.8% with the board cut), lookup 77.6% on 1,024 unseen facts (1.6% + without the library). The relay is carried by the board alone: with the weight-alter slots off it stays at 99.4%, + with the board off it is 0.7%. On Wikipedia the library's gain shrinks from 0.14 to 0.007 bits per token as the + model learns the text, and its search finds the right article 26% of the time, as in earlier runs. +- With the weight-alter key taken from the edited layer (seed 0, 2e-3) the relay is 100% and it is carried by the + weight changes alone: 100% with the board off, 0.0% with the weight-alter slots off. Lookup 75.0%, English 1.726 + (1.706 with the learned key). So given both paths, the model uses weight edits and leaves the board unused. +- **The recipe is not stable at this size.** Seed 1 at 2e-3 never trained (English 4.11 bits per byte, both tasks at + chance). At 1e-3, seed 0 learned the relay (98.9%) but not the lookup (0.0%) and its text is poor (English 3.25); + seed 1 learned neither (English 3.48). Two of five ExeaLM runs trained. A guess, not checked: the runs that never + learn the lookup keep getting lookup batches with a loss near 10, which swamp the text gradient. +- The Llama's learning rate does not explain the text gap to the good ExeaLM runs: English 2.046 and 2.065 at 2e-3, + 2.013 and 2.000 at 1e-3, against 1.706 and 1.726. The Llama stays at chance on both tasks in all four runs. + Section 3 is still the fair text comparison: no tasks, three seeds, every run trained. + +## 6. Training speed on the MI300X (other jobs paused) + +{{THROUGHPUT}} + +Effective TFLOP/s is 6 x parameters x tokens per second. No compiled or fused kernels for the TONN circuits. + +## What this does not show + +- Short runs: 49M tokens, far from convergence. +- The Qwen3.5-style baseline is a small build of the layout, not the released models. +- The memory circuits are shown on tasks built for them. None has lowered the loss on ordinary text. +- The no-rotary-attention menu was chosen after the fact; it then held on five new seeds at 13M and on three at 0.1B. +- The combined 0.1B recipe trained in two of five ExeaLM runs. +- On text a self-editing weight-alter slot costs 0.003 to 0.005 bits per byte at 13M with the new key (3 seeds each). +- Nothing above 0.1B. diff --git a/results/funding/README.md b/results/funding/README.md new file mode 100644 index 0000000000000000000000000000000000000000..915d9445311f632f205e1cfcf59a0a5b11433c51 --- /dev/null +++ b/results/funding/README.md @@ -0,0 +1,190 @@ +# Same-size comparisons, the three memory circuits and a combined 0.1B model (15 and 16 November 2026) + +One session on one AMD MI300X (PyTorch 2.14, ROCm), about three hours. This file is written by +`python experiments/funding_report.py` from the result files in this folder, `results/weight_alter*/` and +`results/combined/`. Edit `README.in.md`, not this file. + +How to read the numbers. Bits per byte on held-out English, Japanese Wikipedia, Japanese web text and code; "Mean" is +the mean of those four; lower is better. Every model in a table has the same width, depth, 32k tokenizer, data (50% +English, 30% Japanese, 20% code), batch (32 x 512 tokens), schedule and steps (3,000, about 49M tokens), in 32-bit +precision. A seed fixes the starting weights and, for ExeaLM, the starting circuits. The Qwen3.5-style model is our +own build of that layout (Gated DeltaNet and gated attention layers, about 3 to 1, DeltaNet in plain PyTorch), not +the released Qwen3.5 weights. Runs shared the GPU, so their wall-clock seconds are not comparable; speed is in +section 6. Commands: `experiments/tokenizer_lm.py` (the `args` field of each file holds the exact arguments). + +## 1. 13M parameters, five seeds (0 to 4), then five more (5 to 9) for some rows + +| Model | Parameters | Seeds | English | Japanese wiki | Japanese web | Code | Mean | Median | Min to max | Per seed | +|---|---|---|---|---|---|---|---|---|---|---| +| ExeaLM hybrid | 13.36M | 5 | 1.440 | 1.511 | 1.394 | 1.748 | **1.523** | 1.511 | 1.505 to 1.567 | 1.511, 1.511, 1.505, 1.521, 1.567 | +| ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) | 13.36M | 10 | 1.437 | 1.503 | 1.390 | 1.713 | **1.511** | 1.511 | 1.503 to 1.527 | 1.503, 1.509, 1.514, 1.515, 1.514, 1.505, 1.504, 1.507, 1.527, 1.512 | +| ExeaLM hybrid with the leak fix (#47) | 13.36M | 8 | 1.437 | 1.507 | 1.393 | 1.725 | **1.516** | 1.511 | 1.501 to 1.544 | 1.517, 1.509, 1.501, 1.524, 1.544, 1.508, 1.512, 1.510 | +| ExeaLM hybrid, circuit search on (leak fix on) | 13.36M | 2 | 1.443 | 1.520 | 1.395 | 1.812 | **1.542** | 1.542 | 1.520 to 1.565 | 1.520, 1.565 | +| ExeaLM hybrid + one weight-alter slot per TONN layer | 13.42M | 2 | 1.439 | 1.510 | 1.394 | 1.735 | **1.520** | 1.520 | 1.519 to 1.520 | 1.520, 1.519 | +| ExeaLM hybrid + one weight-alter slot per TONN layer, key from the edited layer (leak fix on) | 13.42M | 3 | 1.437 | 1.509 | 1.394 | 1.718 | **1.514** | 1.517 | 1.504 to 1.521 | 1.521, 1.517, 1.504 | +| ExeaLM hybrid + one weight-alter slot, key from the edited layer, input matrix (leak fix on) | 13.47M | 3 | 1.436 | 1.506 | 1.393 | 1.712 | **1.512** | 1.511 | 1.505 to 1.519 | 1.519, 1.511, 1.505 | +| Qwen3.5-style | 13.51M | 10 | 1.445 | 1.513 | 1.400 | 1.731 | **1.522** | 1.522 | 1.517 to 1.529 | 1.519, 1.521, 1.529, 1.517, 1.522, 1.520, 1.522, 1.524, 1.527, 1.522 | +| Llama + gated attention + QK-norm | 13.49M | 10 | 1.440 | 1.514 | 1.400 | 1.733 | **1.522** | 1.521 | 1.515 to 1.528 | 1.525, 1.521, 1.528, 1.518, 1.520, 1.523, 1.515, 1.521, 1.521, 1.523 | +| Llama | 13.1M | 5 | 1.466 | 1.538 | 1.418 | 1.776 | **1.550** | 1.548 | 1.544 to 1.559 | 1.544, 1.559, 1.551, 1.546, 1.548 | + +- ExeaLM hybrid against Qwen3.5-style: -0.001 bits per byte on average (positive: ExeaLM is better), better on 3 of 5 seeds (per seed +0.008, +0.010, +0.024, -0.004, -0.045) +- ExeaLM hybrid against Llama + gated attention + QK-norm: -0.000 bits per byte on average (positive: ExeaLM is better), better on 3 of 5 seeds (per seed +0.014, +0.010, +0.023, -0.003, -0.047) +- ExeaLM hybrid against Llama: +0.027 bits per byte on average (positive: ExeaLM is better), better on 4 of 5 seeds (per seed +0.034, +0.048, +0.046, +0.025, -0.019) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Qwen3.5-style: +0.011 bits per byte on average (positive: ExeaLM is better), better on 10 of 10 seeds (per seed +0.016, +0.011, +0.015, +0.002, +0.008, +0.014, +0.018, +0.016, +0.000, +0.010) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Llama + gated attention + QK-norm: +0.011 bits per byte on average (positive: ExeaLM is better), better on 9 of 10 seeds (per seed +0.022, +0.012, +0.014, +0.003, +0.006, +0.017, +0.011, +0.014, -0.006, +0.011) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Llama: +0.039 bits per byte on average (positive: ExeaLM is better), better on 5 of 5 seeds (per seed +0.042, +0.050, +0.037, +0.031, +0.034) + +- With the original starting menu, ExeaLM's median (1.511) is ahead of every baseline's, and seeds 0 to 2 beat every + baseline run. Seed 4 drew a poor set of starting circuits (four rotary-attention circuits, no state-space or + oscillating memory) and scored 1.567, mostly on code. That one seed pulls the mean level with the Qwen3.5-style + model and the gated Llama, and makes ExeaLM's spread several times theirs. +- The circuit search did not repair it: seed 4 with the search on scored 1.565 (seed 3: 1.520). The search as tuned + (every 250 steps, first half of training) replaced one circuit. Seeds 0 to 2 with the search were not run. +- Leaving the rotary-attention circuit out of the starting menu did (`"init_weights": {..., "RP": 0}`): all five + seeds land between 1.503 and 1.515, each ahead of every Qwen3.5-style run and every gated-Llama run. Rotary + attention duplicates what the attention layers of the hybrid already do. This menu was chosen after seeing seed 4, + so it was then run on seeds 5 to 9, which it had not seen: 1.505, 1.504, 1.507, 1.527, 1.512 (mean 1.511), against + 1.523 for the Qwen3.5-style model and 1.521 for the gated Llama on the same seeds. It is ahead of the gated Llama on + 4 of those 5 and level with the Qwen3.5-style model on seed 8 (1.5269 against 1.5270). The original menu on seeds + 5 to 9 (leak fix on) averages 1.520, with another weak seed (1.544). +- Seeds 0 and 1 reproduce the Mac Studio runs of 12 November (1.511 and 1.512 against 1.520 and 1.521 for the + Qwen3.5-style model). + +## 2. The normalization look-ahead (#47) costs nothing to fix + +A circuit with no measured output scale was scaled by the batch it was reading, so its output depended on later tokens +and on other rows until its first training step. The fix uses a constant scale until the first measurement. + +- ExeaLM hybrid with the leak fix (#47) against ExeaLM hybrid: +0.000 bits per byte on average (positive: the fix is better), better on 2 of 3 seeds (per seed -0.006, +0.002, +0.004) + +The fix is merged. The "leak fix on" rows in this file were run with it. + +## 3. About 0.1B parameters (width 640, 14 layers, TONN at layers 0, 3, 6, 9, 12) + +| Model | Parameters | Seeds | English | Japanese wiki | Japanese web | Code | Mean | Median | Min to max | Per seed | +|---|---|---|---|---|---|---|---|---|---|---| +| ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) | 93.43M | 3 | 1.347 | 1.413 | 1.311 | 1.583 | **1.413** | 1.415 | 1.410 to 1.415 | 1.415, 1.415, 1.410 | +| ExeaLM hybrid (leak fix on) | 93.43M | 3 | 1.353 | 1.423 | 1.319 | 1.611 | **1.427** | 1.419 | 1.419 to 1.441 | 1.441, 1.419, 1.419 | +| Qwen3.5-style | 95.67M | 3 | 1.369 | 1.449 | 1.342 | 1.669 | **1.457** | 1.457 | 1.453 to 1.461 | 1.461, 1.453, 1.457 | +| Llama + gated attention + QK-norm | 95.47M | 3 | 1.364 | 1.440 | 1.333 | 1.646 | **1.446** | 1.447 | 1.444 to 1.447 | 1.444, 1.447, 1.447 | +| Llama | 89.73M | 3 | 1.418 | 1.496 | 1.378 | 1.743 | **1.509** | 1.509 | 1.507 to 1.510 | 1.507, 1.510, 1.509 | + +- ExeaLM hybrid (leak fix on) against Qwen3.5-style: +0.031 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.019, +0.034, +0.038) +- ExeaLM hybrid (leak fix on) against Llama + gated attention + QK-norm: +0.019 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.003, +0.027, +0.028) +- ExeaLM hybrid (leak fix on) against Llama: +0.082 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.065, +0.091, +0.090) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Qwen3.5-style: +0.044 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.045, +0.039, +0.048) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Llama + gated attention + QK-norm: +0.033 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.029, +0.032, +0.037) +- ExeaLM hybrid, no rotary attention in the starting menu (leak fix on) against Llama: +0.095 bits per byte on average (positive: ExeaLM is better), better on 3 of 3 seeds (per seed +0.091, +0.096, +0.099) + +- Equal steps, learning rate 1e-3 for every model. On this GPU in 32-bit precision ExeaLM takes about 1.2 times as + long per step as Llama (1.6 times in bf16, section 6), so at equal training time the gap is smaller than at equal + steps. The earlier equal-time result on the Mac Studio (1.455 against 1.479, 2 seeds, no gated attention) is in + `results/README.md`, section 8. +- ExeaLM has 4% more parameters than the plain Llama (93.4M against 89.7M): the gate and QK-norm of its attention + layers. The gated Llama row is the same-parameter control. + +## 4. The relay task: the board and the weight-alter circuit (`experiments/swarm_relay.py --memory AG|WA`) + +One copy of the model reads four facts, another must answer questions about them, and only the path under test +connects them. Chance is 1.6%. 0.8M parameters, 3,000 steps. + +| Path | Run | Facts passed | With the path cut | By question, in the order asked | +|---|---|---|---|---| +| Board | seed 0 (from its log) | 99.9% | 2.1% | | +| Board | seed 1 | 99.8% | 1.3% | | +| Board | seed 2 | 99.8% | 1.5% | | +| Weight-alter | seed 0 (from its log) | 51.1% | 1.7% | | +| Weight-alter | seed 1 | 53.9% | 1.5% | | +| Weight-alter | seed 2 | 53.1% | 1.6% | | +| Weight-alter, 2 slots per layer | seed 0 | 53.1% | 1.5% | | +| Weight-alter, 4 slots per layer | seed 0 | 53.0% | 1.5% | | +| Weight-alter, edits to the MLP's input matrix | seed 0 | 49.5% | 1.9% | | +| Weight-alter, edits to the MLP's input matrix | seed 1 | 45.4% | 1.6% | | +| Weight-alter, edits to the MLP's input matrix | seed 2 | 48.4% | 1.3% | | +| Weight-alter, key from the edited layer | seed 0 | 99.7% | 1.4% | 99%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer | seed 1 | 100.0% | 1.6% | 100%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer | seed 2 | 100.0% | 2.1% | 100%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer, 8 facts | seed 0 | 100.0% | 1.4% | 100%, 100%, 100%, 100%, 100%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer, edits to the MLP's input matrix | seed 0 | 100.0% | 1.6% | 100%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer, edits to the MLP's input matrix | seed 1 | 100.0% | 1.7% | 100%, 100%, 100%, 100% | +| Weight-alter, key from the edited layer, edits to the MLP's input matrix | seed 2 | 100.0% | 1.9% | 100%, 100%, 100%, 100% | +| Weight-alter, rerun scored by question | seed 0 | 49.5% | 1.8% | 25%, 34%, 49%, 90% | +| Weight-alter, rerun scored by question | seed 1 | 51.2% | 1.4% | 27%, 35%, 49%, 93% | +| Weight-alter, rerun scored by question | seed 2 | 52.1% | 1.7% | 30%, 36%, 50%, 93% | + +- The board passes the facts almost every time. With a learned key (the first version: both vectors of an edit are + learned maps of the writing slot's input), weight-alter passes about half, on every seed and in every variant tried: + 1, 2 or 4 slots per layer, writes corrected so they do not disturb each other (`exact_writes`, 49 to 51% when + stopped at 1,750 to 2,250 steps), learned positions for the key and the value (41 to 45% at 750 to 1,000 steps), + and edits to the MLP's input matrix. Logs of the stopped runs are in `results/weight_alter/logs/`. +- 52% is what an asker scores if it knows which four answers exist, not which question each belongs to, and rules + out the answers it has already seen: 25%, 33%, 50% and 100% on the four questions in turn. The reruns scored by + question show that pattern (25 to 30%, 34 to 36%, 49 to 50%, 90 to 93%). The edits carried the values across; the + model did not learn to bind them to keys. +- With the key taken from the edited layer (`wa_key="hidden"`: the key of an edit is what the edited matrix itself + receives at the picked positions of the writer's chunk, the key ROME uses), all six runs pass 99% at step 250 and + end at 99.7 to 100%, 1.4 to 2.1% with the path cut. With eight facts: 100% (one seed). +- On text, one self-editing weight-alter slot per TONN layer costs about 0.008 bits per byte at 13M with the + learned key (section 1, 2 seeds), 0.005 with the key from the edited layer and 0.003 with that key and edits to + the input matrix (3 seeds each, against the same seeds of the hybrid with the leak fix). + +## 5. One 0.1B model with the board, the library and weight-alter (`experiments/full_small.py --preset 100m --wa 1`) + +The "together" recipe of `results/README.md` section 10 (relay and lookup taught with the text from the first step), +with one weight-alter slot added to every TONN layer, and a same-size Llama on the same stream of batches. Rows without a step number are at step 3,000. + +| Model | Step | English | Mean of 4 sets | Relay (shared / cut) | Relay, board only | Relay, weight-alter only | Lookup (attached / removed) | Wikipedia gain from the library | Search hits | +|---|---|---|---|---|---|---|---|---|---| +| ExeaLM, all three circuits (94.7M), seed 0, lr 2e-3 | 1,000 | 2.202 | 2.664 | 98.8% / 1.1% | 98.8% | 0.7% | 41.1% / 1.0% | 0.1395 | 26.1% | +| ExeaLM, all three circuits (94.7M), seed 0, lr 2e-3 | 2,000 | 1.932 | 2.406 | 99.1% / 0.8% | 99.1% | 0.7% | 70.5% / 1.7% | 0.016 | 25.8% | +| ExeaLM, all three circuits (94.7M), seed 0, lr 2e-3 | 3,000 | 1.706 | 2.063 | 99.4% / 0.8% | 99.4% | 0.7% | 77.6% / 1.6% | 0.0066 | 25.9% | +| ExeaLM, weight-alter key from the edited layer, seed 0, lr 2e-3 | 3,000 | 1.726 | 2.092 | 100.0% / 0.1% | 0.0% | 100.0% | 75.0% / 1.5% | 0.0174 | 25.9% | +| ExeaLM, all three circuits, seed 1, lr 2e-3 (did not train) | 3,000 | 4.106 | 4.846 | 1.3% / 1.3% | 1.3% | 1.3% | 0.0% / 0.0% | 0.2722 | 25.9% | +| ExeaLM, all three circuits, seed 0, lr 1e-3 | 3,000 | 3.251 | 3.740 | 98.9% / 1.0% | 98.9% | 1.4% | 0.0% / 0.0% | -0.0717 | 25.9% | +| ExeaLM, all three circuits, seed 1, lr 1e-3 | 3,000 | 3.484 | 3.952 | 6.7% / 1.4% | 1.4% | 6.5% | 0.0% / 0.0% | 0.163 | 25.9% | +| Llama (89.7M), seed 0, lr 2e-3 | 1,000 | 2.440 | 2.914 | 1.3% / 1.3% | | | 1.2% | | | +| Llama (89.7M), seed 0, lr 2e-3 | 2,000 | 2.211 | 2.734 | 1.3% / 1.3% | | | 1.6% | | | +| Llama (89.7M), seed 0, lr 2e-3 | 3,000 | 2.046 | 2.501 | 1.4% / 1.4% | | | 1.5% | | | +| Llama, seed 1, lr 2e-3 | 3,000 | 2.065 | 2.504 | 1.9% / 1.9% | | | 1.2% | | | +| Llama, seed 0, lr 1e-3 | 3,000 | 2.013 | 2.453 | 1.8% / 1.8% | | | 1.5% | | | +| Llama, seed 1, lr 1e-3 | 3,000 | 2.000 | 2.450 | 1.9% / 1.9% | | | 1.5% | | | + +- Seed 0 at 2e-3: both skills form. Relay 99.4% (0.8% with the board cut), lookup 77.6% on 1,024 unseen facts (1.6% + without the library). The relay is carried by the board alone: with the weight-alter slots off it stays at 99.4%, + with the board off it is 0.7%. On Wikipedia the library's gain shrinks from 0.14 to 0.007 bits per token as the + model learns the text, and its search finds the right article 26% of the time, as in earlier runs. +- With the weight-alter key taken from the edited layer (seed 0, 2e-3) the relay is 100% and it is carried by the + weight changes alone: 100% with the board off, 0.0% with the weight-alter slots off. Lookup 75.0%, English 1.726 + (1.706 with the learned key). So given both paths, the model uses weight edits and leaves the board unused. +- **The recipe is not stable at this size.** Seed 1 at 2e-3 never trained (English 4.11 bits per byte, both tasks at + chance). At 1e-3, seed 0 learned the relay (98.9%) but not the lookup (0.0%) and its text is poor (English 3.25); + seed 1 learned neither (English 3.48). Two of five ExeaLM runs trained. A guess, not checked: the runs that never + learn the lookup keep getting lookup batches with a loss near 10, which swamp the text gradient. +- The Llama's learning rate does not explain the text gap to the good ExeaLM runs: English 2.046 and 2.065 at 2e-3, + 2.013 and 2.000 at 1e-3, against 1.706 and 1.726. The Llama stays at chance on both tasks in all four runs. + Section 3 is still the fair text comparison: no tasks, three seeds, every run trained. + +## 6. Training speed on the MI300X (other jobs paused) + +| Size | Model | Parameters | Precision | Seconds per step | Tokens per second | Effective TFLOP/s | +|---|---|---|---|---|---|---| +| 0.1B | ExeaLM hybrid | 93.4M | bf16 | 0.1633 | 100,310 | 56.2 | +| 0.1B | ExeaLM hybrid | 93.4M | fp32 | 0.3061 | 53,525 | 30.0 | +| 0.1B | Llama | 89.7M | bf16 | 0.1037 | 157,982 | 85.1 | +| 0.1B | Llama | 89.7M | fp32 | 0.2576 | 63,614 | 34.2 | +| 0.5B | ExeaLM hybrid | 497.1M | bf16 | 0.3016 | 27,158 | 81.0 | +| 0.5B | ExeaLM hybrid | 497.1M | fp32 | 0.6403 | 12,794 | 38.2 | +| 0.5B | Llama | 474.1M | bf16 | 0.1867 | 43,883 | 124.8 | +| 0.5B | Llama | 474.1M | fp32 | 0.5364 | 15,273 | 43.4 | + +Effective TFLOP/s is 6 x parameters x tokens per second. No compiled or fused kernels for the TONN circuits. + +## What this does not show + +- Short runs: 49M tokens, far from convergence. +- The Qwen3.5-style baseline is a small build of the layout, not the released models. +- The memory circuits are shown on tasks built for them. None has lowered the loss on ordinary text. +- The no-rotary-attention menu was chosen after the fact; it then held on five new seeds at 13M and on three at 0.1B. +- The combined 0.1B recipe trained in two of five ExeaLM runs. +- On text a self-editing weight-alter slot costs 0.003 to 0.005 bits per byte at 13M with the new key (3 seeds each). +- Nothing above 0.1B. diff --git a/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s0.json b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..24f3cf0c5f94aff2c85639b9e9c3307f73192aaf --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s0.json @@ -0,0 +1,118 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_fix_lr1e3_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_fix_lr1e3_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 4971.8, + "bits_per_byte": { + "en": 1.3594, + "ja_wiki": 1.4352, + "ja_web": 1.3277, + "code": 1.6433 + }, + "architecture": [ + { + "RP": 2, + "MI": 3, + "EP": 2, + "MIM": 1, + "OS": 2, + "SM": 2, + "G": 1, + "GI": 2, + "C": 2, + "M": 2, + "I": 1 + }, + { + "C": 7, + "RP": 3, + "OS": 1, + "EP": 1, + "MIM": 2, + "M": 1, + "G": 1, + "SM": 3, + "I": 1 + }, + { + "EP": 2, + "RP": 3, + "I": 3, + "C": 5, + "OS": 2, + "G": 1, + "M": 1, + "MIM": 2, + "MI": 1 + }, + { + "C": 9, + "D": 1, + "SM": 2, + "GI": 4, + "EP": 1, + "RP": 1, + "MIM": 1, + "I": 1 + }, + { + "SM": 3, + "MI": 1, + "RP": 4, + "C": 3, + "EP": 1, + "MIM": 2, + "M": 2, + "GI": 2, + "I": 1, + "OS": 1 + } + ], + "train_loss_every_250": [ + 7.1436, + 5.5594, + 5.0443, + 4.6972, + 4.457, + 4.3415, + 4.2179, + 4.1278, + 4.0721, + 3.9894, + 3.8643, + 3.7158 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s1.json b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..89efb253eb07aa26145f0c1ceca8af17d88efc8b --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s1.json @@ -0,0 +1,117 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_fix_lr1e3_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_fix_lr1e3_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 4930.5, + "bits_per_byte": { + "en": 1.3494, + "ja_wiki": 1.4145, + "ja_web": 1.3143, + "code": 1.5993 + }, + "architecture": [ + { + "GI": 3, + "C": 8, + "MI": 2, + "SM": 1, + "I": 1, + "OS": 3, + "M": 1, + "RP": 1 + }, + { + "MI": 1, + "C": 4, + "I": 1, + "RP": 2, + "MIM": 2, + "G": 1, + "OS": 2, + "EP": 4, + "SM": 2, + "D": 1 + }, + { + "I": 3, + "D": 1, + "MI": 2, + "MIM": 2, + "GI": 1, + "C": 5, + "EP": 2, + "G": 1, + "OS": 1, + "M": 2 + }, + { + "SM": 3, + "C": 7, + "GI": 2, + "M": 2, + "MIM": 2, + "OS": 1, + "D": 1, + "RP": 1, + "I": 1 + }, + { + "MI": 3, + "MIM": 4, + "GI": 2, + "I": 1, + "C": 4, + "SM": 1, + "EP": 3, + "RP": 1, + "M": 1 + } + ], + "train_loss_every_250": [ + 7.1411, + 5.6411, + 5.0509, + 4.5951, + 4.378, + 4.2234, + 4.1133, + 4.0411, + 3.9595, + 3.9312, + 3.8005, + 3.6805 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s2.json b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..6d530ed63857f49e6220ff502ae40e4c5b27dad0 --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_fix_lr1e3_s2.json @@ -0,0 +1,114 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_fix_lr1e3_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_fix_lr1e3_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2330.6, + "bits_per_byte": { + "en": 1.3514, + "ja_wiki": 1.4184, + "ja_web": 1.316, + "code": 1.5899 + }, + "architecture": [ + { + "OS": 4, + "I": 2, + "MI": 2, + "C": 7, + "SM": 1, + "G": 1, + "EP": 1, + "GI": 1, + "MIM": 1 + }, + { + "MIM": 1, + "C": 5, + "RP": 2, + "MI": 6, + "SM": 1, + "I": 3, + "EP": 1, + "GI": 1 + }, + { + "C": 6, + "OS": 3, + "MI": 5, + "SM": 2, + "G": 1, + "I": 2, + "M": 1 + }, + { + "C": 3, + "I": 1, + "GI": 2, + "MI": 2, + "M": 3, + "EP": 2, + "SM": 3, + "MIM": 1, + "RP": 2, + "D": 1 + }, + { + "MI": 2, + "M": 1, + "GI": 2, + "C": 7, + "EP": 2, + "I": 2, + "RP": 2, + "OS": 1, + "SM": 1 + } + ], + "train_loss_every_250": [ + 7.1029, + 5.5558, + 5.0339, + 4.6701, + 4.4402, + 4.2528, + 4.1329, + 4.072, + 3.9924, + 3.9126, + 3.8367, + 3.6847 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s0.json b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..08c66b3be79528bd8fd82689323242dc23bb13ea --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s0.json @@ -0,0 +1,111 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2129.6, + "bits_per_byte": { + "en": 1.3469, + "ja_wiki": 1.4163, + "ja_web": 1.3116, + "code": 1.5872 + }, + "architecture": [ + { + "SM": 3, + "M": 3, + "MIM": 2, + "MI": 2, + "OS": 2, + "EP": 2, + "C": 3, + "I": 2, + "GI": 1 + }, + { + "C": 8, + "OS": 1, + "EP": 3, + "MI": 1, + "M": 1, + "SM": 4, + "I": 1, + "MIM": 1 + }, + { + "EP": 2, + "C": 7, + "I": 3, + "MIM": 3, + "OS": 2, + "M": 1, + "G": 1, + "MI": 1 + }, + { + "C": 10, + "D": 1, + "SM": 2, + "GI": 4, + "EP": 1, + "MIM": 1, + "I": 1 + }, + { + "SM": 5, + "MI": 2, + "C": 5, + "MIM": 2, + "M": 2, + "GI": 2, + "I": 1, + "OS": 1 + } + ], + "train_loss_every_250": [ + 7.1663, + 5.6022, + 4.9729, + 4.5678, + 4.3501, + 4.2478, + 4.1351, + 4.054, + 4.0012, + 3.9245, + 3.8053, + 3.6597 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s1.json b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..796fab53cb1d264e04d313f92f07f11db9625587 --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s1.json @@ -0,0 +1,116 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2484.7, + "bits_per_byte": { + "en": 1.3466, + "ja_wiki": 1.4101, + "ja_web": 1.31, + "code": 1.5922 + }, + "architecture": [ + { + "GI": 3, + "C": 6, + "EP": 1, + "MI": 2, + "SM": 2, + "I": 1, + "OS": 3, + "M": 1, + "G": 1 + }, + { + "M": 1, + "C": 5, + "I": 1, + "MIM": 3, + "EP": 4, + "OS": 2, + "G": 1, + "SM": 2, + "D": 1 + }, + { + "I": 3, + "D": 1, + "MI": 1, + "MIM": 3, + "GI": 1, + "C": 5, + "EP": 2, + "M": 3, + "OS": 1 + }, + { + "SM": 3, + "C": 7, + "GI": 3, + "MIM": 1, + "M": 1, + "OS": 1, + "G": 1, + "D": 1, + "MI": 1, + "I": 1 + }, + { + "MI": 4, + "MIM": 4, + "GI": 2, + "I": 1, + "C": 5, + "SM": 1, + "EP": 2, + "M": 1 + } + ], + "train_loss_every_250": [ + 7.131, + 5.5918, + 4.963, + 4.5407, + 4.3452, + 4.1977, + 4.094, + 4.0227, + 3.9449, + 3.9181, + 3.7863, + 3.6665 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s2.json b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..139446269868dbf8c2c4751ef1d8f940f2f92c61 --- /dev/null +++ b/results/funding/lm_compare_f100_hybrid_gate_norp_fix_lr1e3_s2.json @@ -0,0 +1,116 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f100_hybrid_gate_norp_fix_lr1e3_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5, 7, 8, 10, 11, 13], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.001, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 93.43, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1034.7, + "bits_per_byte": { + "en": 1.3464, + "ja_wiki": 1.4116, + "ja_web": 1.3122, + "code": 1.5693 + }, + "architecture": [ + { + "OS": 4, + "I": 2, + "M": 1, + "C": 7, + "SM": 1, + "EP": 2, + "GI": 1, + "MIM": 1, + "MI": 1 + }, + { + "MIM": 1, + "EP": 2, + "C": 5, + "MI": 3, + "G": 1, + "SM": 1, + "I": 3, + "M": 3, + "GI": 1 + }, + { + "C": 4, + "OS": 3, + "MI": 3, + "SM": 2, + "EP": 2, + "I": 2, + "M": 2, + "GI": 1, + "G": 1 + }, + { + "C": 4, + "I": 1, + "GI": 2, + "M": 4, + "EP": 2, + "SM": 3, + "OS": 1, + "MIM": 1, + "MI": 1, + "D": 1 + }, + { + "MI": 2, + "M": 1, + "GI": 2, + "C": 9, + "MIM": 2, + "I": 2, + "OS": 1, + "SM": 1 + } + ], + "train_loss_every_250": [ + 7.1222, + 5.6119, + 5.0069, + 4.5691, + 4.3662, + 4.1974, + 4.0878, + 4.0364, + 3.9634, + 3.8865, + 3.8134, + 3.6653 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_gate_lr1e3_s0.json b/results/funding/lm_compare_f100_llama_gate_lr1e3_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..56075fa73d646209a9ead59de3477408f58ccebe --- /dev/null +++ b/results/funding/lm_compare_f100_llama_gate_lr1e3_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_gate_lr1e3_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_gate_lr1e3_s0", + "cfg": "{}", + "lr": 0.001, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2175.3, + "bits_per_byte": { + "en": 1.3627, + "ja_wiki": 1.4395, + "ja_web": 1.3317, + "code": 1.644 + }, + "architecture": null, + "train_loss_every_250": [ + 7.3328, + 5.8491, + 5.338, + 4.9012, + 4.572, + 4.4121, + 4.2697, + 4.1676, + 4.0991, + 4.0093, + 3.8812, + 3.7303 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_gate_lr1e3_s1.json b/results/funding/lm_compare_f100_llama_gate_lr1e3_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..1d95f58fb908d00191e44b4f5e304a4b7abf55fa --- /dev/null +++ b/results/funding/lm_compare_f100_llama_gate_lr1e3_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_gate_lr1e3_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_gate_lr1e3_s1", + "cfg": "{}", + "lr": 0.001, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1589.4, + "bits_per_byte": { + "en": 1.3653, + "ja_wiki": 1.4391, + "ja_web": 1.3339, + "code": 1.6481 + }, + "architecture": null, + "train_loss_every_250": [ + 7.3247, + 5.8662, + 5.3369, + 4.91, + 4.589, + 4.3776, + 4.2404, + 4.1468, + 4.0546, + 4.0177, + 3.8757, + 3.7483 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_gate_lr1e3_s2.json b/results/funding/lm_compare_f100_llama_gate_lr1e3_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..cab56322bde35a91f69f5dd5a078c7efe67699e1 --- /dev/null +++ b/results/funding/lm_compare_f100_llama_gate_lr1e3_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_gate_lr1e3_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_gate_lr1e3_s2", + "cfg": "{}", + "lr": 0.001, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1943.5, + "bits_per_byte": { + "en": 1.365, + "ja_wiki": 1.4423, + "ja_web": 1.3344, + "code": 1.645 + }, + "architecture": null, + "train_loss_every_250": [ + 7.3113, + 5.8449, + 5.3219, + 4.8925, + 4.5865, + 4.3635, + 4.2255, + 4.1543, + 4.0708, + 3.9834, + 3.9027, + 3.7469 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_lr1e3_s0.json b/results/funding/lm_compare_f100_llama_lr1e3_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..43e62b15816d80d170c79fee2293f3be65c0a67f --- /dev/null +++ b/results/funding/lm_compare_f100_llama_lr1e3_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_lr1e3_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_lr1e3_s0", + "cfg": "{}", + "lr": 0.001, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 89.73, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2111.3, + "bits_per_byte": { + "en": 1.4157, + "ja_wiki": 1.495, + "ja_web": 1.3774, + "code": 1.7395 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4528, + 6.0124, + 5.5362, + 5.1658, + 4.8268, + 4.6285, + 4.4664, + 4.3587, + 4.2861, + 4.1911, + 4.0571, + 3.9038 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_lr1e3_s1.json b/results/funding/lm_compare_f100_llama_lr1e3_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..a93cb6618a91c8e4bcd523f18c23022bab195e4d --- /dev/null +++ b/results/funding/lm_compare_f100_llama_lr1e3_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_lr1e3_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_lr1e3_s1", + "cfg": "{}", + "lr": 0.001, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 89.73, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1764.0, + "bits_per_byte": { + "en": 1.4177, + "ja_wiki": 1.4929, + "ja_web": 1.3768, + "code": 1.754 + }, + "architecture": null, + "train_loss_every_250": [ + 7.436, + 6.0285, + 5.5468, + 5.1864, + 4.877, + 4.6212, + 4.454, + 4.3445, + 4.2405, + 4.1964, + 4.0477, + 3.9174 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_llama_lr1e3_s2.json b/results/funding/lm_compare_f100_llama_lr1e3_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..8307805461f4b19138c4eae7eea338fb4ec6c00a --- /dev/null +++ b/results/funding/lm_compare_f100_llama_lr1e3_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_llama_lr1e3_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_llama_lr1e3_s2", + "cfg": "{}", + "lr": 0.001, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 89.73, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1938.7, + "bits_per_byte": { + "en": 1.4196, + "ja_wiki": 1.4988, + "ja_web": 1.381, + "code": 1.7361 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4163, + 6.0123, + 5.5126, + 5.1505, + 4.8503, + 4.6006, + 4.4435, + 4.3639, + 4.2686, + 4.1731, + 4.0861, + 3.9259 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_qwen35_lr1e3_s0.json b/results/funding/lm_compare_f100_qwen35_lr1e3_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..27c4f91ddb1d18c15e0addc941790c78c64504b1 --- /dev/null +++ b/results/funding/lm_compare_f100_qwen35_lr1e3_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4, 5, 6, 8, 9, 10, 12], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_qwen35_lr1e3_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_qwen35_lr1e3_s0", + "cfg": "{}", + "lr": 0.001, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.67, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1168.5, + "bits_per_byte": { + "en": 1.3703, + "ja_wiki": 1.454, + "ja_web": 1.3434, + "code": 1.6749 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9264, + 5.9992, + 5.4254, + 5.0706, + 4.79, + 4.5753, + 4.364, + 4.2278, + 4.1439, + 4.0423, + 3.9086, + 3.7571 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_qwen35_lr1e3_s1.json b/results/funding/lm_compare_f100_qwen35_lr1e3_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..e35556e836ac391967a0049ba3c2a4843df0e6de --- /dev/null +++ b/results/funding/lm_compare_f100_qwen35_lr1e3_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4, 5, 6, 8, 9, 10, 12], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_qwen35_lr1e3_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_qwen35_lr1e3_s1", + "cfg": "{}", + "lr": 0.001, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.67, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 4989.0, + "bits_per_byte": { + "en": 1.3658, + "ja_wiki": 1.4433, + "ja_web": 1.3386, + "code": 1.6657 + }, + "architecture": null, + "train_loss_every_250": [ + 7.8728, + 5.9892, + 5.405, + 5.0476, + 4.7736, + 4.4899, + 4.2895, + 4.1718, + 4.0667, + 4.0216, + 3.8756, + 3.7519 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f100_qwen35_lr1e3_s2.json b/results/funding/lm_compare_f100_qwen35_lr1e3_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..fcb7b5dc3efbe75189a99a9f50dd2ee1a83cf98b --- /dev/null +++ b/results/funding/lm_compare_f100_qwen35_lr1e3_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.001, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4, 5, 6, 8, 9, 10, 12], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{\"d\": 640, \"n_layers\": 14, \"slots\": 20, \"h\": 32}", + "tag": "f100_qwen35_lr1e3_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f100_qwen35_lr1e3_s2", + "cfg": "{}", + "lr": 0.001, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 95.67, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 4650.5, + "bits_per_byte": { + "en": 1.3707, + "ja_wiki": 1.4498, + "ja_web": 1.3436, + "code": 1.6656 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9827, + 6.0571, + 5.4322, + 5.0938, + 4.8625, + 4.5915, + 4.3586, + 4.2313, + 4.1195, + 4.0175, + 3.9284, + 3.7709 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s0.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..6f07d97964f0ac787ed6f796cbe67a2283bbbc7b --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s0.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1422.9, + "bits_per_byte": { + "en": 1.4371, + "ja_wiki": 1.5099, + "ja_web": 1.3978, + "code": 1.7233 + }, + "architecture": [ + { + "RP": 1, + "MI": 3, + "EP": 1, + "MIM": 1, + "OS": 1, + "SM": 1 + }, + { + "G": 1, + "EP": 1, + "OS": 1, + "SM": 1, + "RP": 1, + "GI": 1, + "C": 2 + } + ], + "train_loss_every_250": [ + 7.4264, + 5.7361, + 5.2793, + 4.9749, + 4.699, + 4.5441, + 4.4203, + 4.3395, + 4.2926, + 4.2198, + 4.1094, + 3.978 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s1.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..d49de5c36e9576102f29999675b9ca8f49e1ce97 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s1.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1688.0, + "bits_per_byte": { + "en": 1.437, + "ja_wiki": 1.5, + "ja_web": 1.3904, + "code": 1.7082 + }, + "architecture": [ + { + "GI": 2, + "C": 3, + "MI": 1, + "SM": 1, + "I": 1 + }, + { + "OS": 3, + "C": 3, + "M": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.3985, + 5.5712, + 4.9525, + 4.653, + 4.5129, + 4.402, + 4.3231, + 4.2724, + 4.2073, + 4.199, + 4.0823, + 3.9775 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s2.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..cfa43b29b43797b088596cb7a73c56aa8c139752 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s2.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1167.8, + "bits_per_byte": { + "en": 1.433, + "ja_wiki": 1.498, + "ja_web": 1.3895, + "code": 1.684 + }, + "architecture": [ + { + "OS": 1, + "I": 1, + "MI": 1, + "C": 3, + "SM": 1, + "G": 1 + }, + { + "EP": 1, + "C": 2, + "I": 1, + "GI": 1, + "OS": 2, + "MIM": 1 + } + ], + "train_loss_every_250": [ + 7.3726, + 5.6985, + 5.183, + 4.7762, + 4.5774, + 4.4218, + 4.3274, + 4.2889, + 4.2259, + 4.1562, + 4.1007, + 3.9632 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s5.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s5.json new file mode 100644 index 0000000000000000000000000000000000000000..62db9cb74ce96f356183b9f6c3608ac6e0ef9cd9 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s5.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "5", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s5", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s5", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 5, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 692.7, + "bits_per_byte": { + "en": 1.4431, + "ja_wiki": 1.5137, + "ja_web": 1.4013, + "code": 1.7393 + }, + "architecture": [ + { + "C": 2, + "RP": 2, + "SM": 1, + "G": 1, + "D": 1, + "MI": 1 + }, + { + "C": 3, + "GI": 1, + "MI": 1, + "M": 1, + "OS": 1, + "I": 1 + } + ], + "train_loss_every_250": [ + 7.4018, + 5.7401, + 5.2489, + 4.8343, + 4.6165, + 4.4604, + 4.3833, + 4.3132, + 4.2862, + 4.2278, + 4.117, + 3.999 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s6.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s6.json new file mode 100644 index 0000000000000000000000000000000000000000..bbfc7e7d8c72bf5b4df24d4bbc9ee2b58de9c281 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s6.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "6", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s6", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s6", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 6, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1618.7, + "bits_per_byte": { + "en": 1.4438, + "ja_wiki": 1.5224, + "ja_web": 1.4001, + "code": 1.8094 + }, + "architecture": [ + { + "RP": 1, + "C": 2, + "GI": 1, + "OS": 1, + "MIM": 1, + "SM": 1, + "M": 1 + }, + { + "C": 2, + "RP": 2, + "MIM": 1, + "EP": 1, + "OS": 2 + } + ], + "train_loss_every_250": [ + 7.3263, + 5.4091, + 4.9193, + 4.6995, + 4.5643, + 4.4927, + 4.3909, + 4.3391, + 4.2851, + 4.2573, + 4.1514, + 4.0039 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s7.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s7.json new file mode 100644 index 0000000000000000000000000000000000000000..32bd478a872ec9f3eddf32339bea72e3cb080db7 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s7.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "7", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s7", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s7", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 7, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 893.2, + "bits_per_byte": { + "en": 1.4324, + "ja_wiki": 1.5022, + "ja_web": 1.3877, + "code": 1.7085 + }, + "architecture": [ + { + "MIM": 2, + "C": 2, + "I": 3, + "OS": 1 + }, + { + "OS": 1, + "MI": 1, + "C": 4, + "GI": 1, + "MIM": 1 + } + ], + "train_loss_every_250": [ + 7.3975, + 5.51, + 4.8617, + 4.6414, + 4.4888, + 4.4128, + 4.3174, + 4.2539, + 4.2302, + 4.2103, + 4.0804, + 3.9569 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s8.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s8.json new file mode 100644 index 0000000000000000000000000000000000000000..8937992006451529efaccedd57c84ef9ceecc96e --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s8.json @@ -0,0 +1,71 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "8", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s8", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s8", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 8, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 327.9, + "bits_per_byte": { + "en": 1.4382, + "ja_wiki": 1.5027, + "ja_web": 1.3883, + "code": 1.7172 + }, + "architecture": [ + { + "M": 2, + "GI": 1, + "EP": 1, + "C": 4 + }, + { + "C": 7, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.3661, + 5.5874, + 4.9816, + 4.6537, + 4.5464, + 4.4064, + 4.3566, + 4.2651, + 4.2041, + 4.1825, + 4.0877, + 3.966 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_fix_s9.json b/results/funding/lm_compare_f13_hybrid_gate_fix_s9.json new file mode 100644 index 0000000000000000000000000000000000000000..672b021e27ca0e841805b03a03e3c8c7f89d0849 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_fix_s9.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "9", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_fix_s9", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_fix_s9", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 9, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1133.5, + "bits_per_byte": { + "en": 1.4348, + "ja_wiki": 1.5037, + "ja_web": 1.3888, + "code": 1.7132 + }, + "architecture": [ + { + "G": 1, + "GI": 2, + "MIM": 2, + "C": 1, + "OS": 1, + "M": 1 + }, + { + "C": 4, + "SM": 1, + "MI": 1, + "I": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.3634, + 5.6823, + 5.1771, + 4.8817, + 4.6289, + 4.4698, + 4.3768, + 4.2987, + 4.2285, + 4.2004, + 4.1137, + 3.9852 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s0.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..09519b5ac40e007a1bf3e3e248991e114479ed26 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s0.json @@ -0,0 +1,75 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s0", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 480.1, + "bits_per_byte": { + "en": 1.4345, + "ja_wiki": 1.5, + "ja_web": 1.3912, + "code": 1.6848 + }, + "architecture": [ + { + "SM": 2, + "M": 1, + "MIM": 2, + "MI": 2, + "OS": 1 + }, + { + "EP": 2, + "OS": 1, + "SM": 1, + "C": 3, + "I": 1 + } + ], + "train_loss_every_250": [ + 7.5022, + 5.7568, + 5.254, + 4.853, + 4.6046, + 4.4914, + 4.3797, + 4.3068, + 4.265, + 4.1963, + 4.09, + 3.9599 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s1.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..3609c2b87a6abf1c4dc2963717703bfa2740f6ce --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s1.json @@ -0,0 +1,75 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s1", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 514.3, + "bits_per_byte": { + "en": 1.4344, + "ja_wiki": 1.5016, + "ja_web": 1.3857, + "code": 1.7162 + }, + "architecture": [ + { + "GI": 2, + "C": 2, + "EP": 1, + "MI": 1, + "SM": 1, + "I": 1 + }, + { + "OS": 3, + "C": 3, + "M": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.3863, + 5.5394, + 4.9262, + 4.6318, + 4.4963, + 4.388, + 4.3095, + 4.2589, + 4.1957, + 4.189, + 4.072, + 3.9683 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s2.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..3501ef9075e36e47f32d40a1db45854a09677ba5 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s2.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s2", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 617.3, + "bits_per_byte": { + "en": 1.4404, + "ja_wiki": 1.5059, + "ja_web": 1.3941, + "code": 1.7154 + }, + "architecture": [ + { + "OS": 1, + "I": 1, + "M": 1, + "C": 3, + "SM": 1, + "EP": 1 + }, + { + "EP": 1, + "C": 2, + "I": 1, + "GI": 1, + "OS": 2, + "MIM": 1 + } + ], + "train_loss_every_250": [ + 7.3713, + 5.6813, + 5.1677, + 4.8134, + 4.6151, + 4.4518, + 4.3567, + 4.3199, + 4.2582, + 4.1904, + 4.1309, + 3.9901 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s3.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..52c8f14b079c6203014b33ca4dd79fd15d5f3a87 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s3.json @@ -0,0 +1,75 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s3", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 739.2, + "bits_per_byte": { + "en": 1.445, + "ja_wiki": 1.5068, + "ja_web": 1.3967, + "code": 1.7125 + }, + "architecture": [ + { + "M": 1, + "MIM": 2, + "C": 4, + "SM": 1 + }, + { + "C": 3, + "GI": 1, + "MI": 1, + "EP": 1, + "OS": 1, + "I": 1 + } + ], + "train_loss_every_250": [ + 7.4658, + 5.7451, + 5.1845, + 4.8331, + 4.59, + 4.4529, + 4.3833, + 4.3159, + 4.2725, + 4.2192, + 4.0992, + 4.001 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s4.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..4375ad5b1632431bfc8a3180d9d05de1d3ba2587 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s4.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s4", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1302.5, + "bits_per_byte": { + "en": 1.4381, + "ja_wiki": 1.5054, + "ja_web": 1.3907, + "code": 1.7216 + }, + "architecture": [ + { + "M": 2, + "EP": 1, + "D": 1, + "C": 4 + }, + { + "MI": 1, + "I": 2, + "C": 1, + "GI": 1, + "D": 1, + "SM": 1, + "MIM": 1 + } + ], + "train_loss_every_250": [ + 7.3895, + 5.5841, + 4.9829, + 4.6739, + 4.5235, + 4.4449, + 4.3207, + 4.2907, + 4.2237, + 4.2196, + 4.0686, + 3.9905 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s5.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s5.json new file mode 100644 index 0000000000000000000000000000000000000000..43cfb7838f7706dce6bff6a6ba95821bed720396 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s5.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "5", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s5", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s5", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 5, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 852.4, + "bits_per_byte": { + "en": 1.4354, + "ja_wiki": 1.4977, + "ja_web": 1.3936, + "code": 1.6947 + }, + "architecture": [ + { + "C": 3, + "SM": 2, + "EP": 1, + "D": 1, + "MI": 1 + }, + { + "C": 3, + "GI": 1, + "MI": 1, + "M": 1, + "OS": 1, + "I": 1 + } + ], + "train_loss_every_250": [ + 7.4057, + 5.6886, + 5.1829, + 4.7857, + 4.5866, + 4.4274, + 4.3462, + 4.2756, + 4.2497, + 4.1928, + 4.0843, + 3.968 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s6.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s6.json new file mode 100644 index 0000000000000000000000000000000000000000..5e7ac0dd1c98601fdd2301a1e9d8c43f1a8a0e1b --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s6.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "6", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s6", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s6", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 6, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 417.8, + "bits_per_byte": { + "en": 1.4322, + "ja_wiki": 1.499, + "ja_web": 1.3853, + "code": 1.699 + }, + "architecture": [ + { + "C": 2, + "GI": 1, + "OS": 1, + "MI": 1, + "EP": 1, + "SM": 1, + "M": 1 + }, + { + "C": 3, + "SM": 1, + "MIM": 1, + "EP": 1, + "OS": 2 + } + ], + "train_loss_every_250": [ + 7.3773, + 5.5467, + 4.9411, + 4.6518, + 4.4901, + 4.4154, + 4.3095, + 4.2593, + 4.2115, + 4.191, + 4.0955, + 3.9535 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s7.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s7.json new file mode 100644 index 0000000000000000000000000000000000000000..f6ee7c58388e673be0eac37f0813f81c024d14c2 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s7.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "7", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s7", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s7", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 7, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1205.4, + "bits_per_byte": { + "en": 1.4322, + "ja_wiki": 1.5001, + "ja_web": 1.3844, + "code": 1.7122 + }, + "architecture": [ + { + "MI": 1, + "C": 2, + "MIM": 1, + "I": 3, + "OS": 1 + }, + { + "OS": 1, + "MI": 1, + "C": 3, + "GI": 1, + "MIM": 1, + "EP": 1 + } + ], + "train_loss_every_250": [ + 7.3882, + 5.4945, + 4.8481, + 4.6311, + 4.4813, + 4.4042, + 4.3086, + 4.2442, + 4.2228, + 4.2009, + 4.0717, + 3.9497 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s8.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s8.json new file mode 100644 index 0000000000000000000000000000000000000000..ef0221875aad42369a517164f517664a2b1ae125 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s8.json @@ -0,0 +1,72 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "8", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s8", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s8", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 8, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1391.9, + "bits_per_byte": { + "en": 1.4456, + "ja_wiki": 1.5119, + "ja_web": 1.397, + "code": 1.7532 + }, + "architecture": [ + { + "M": 2, + "GI": 1, + "MIM": 1, + "EP": 2, + "C": 2 + }, + { + "C": 7, + "I": 1 + } + ], + "train_loss_every_250": [ + 7.3616, + 5.6795, + 5.1671, + 4.8048, + 4.6433, + 4.477, + 4.416, + 4.3166, + 4.2474, + 4.2205, + 4.1183, + 3.9922 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s9.json b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s9.json new file mode 100644 index 0000000000000000000000000000000000000000..101c4a4d50d08826af98be5fcefea2b4d497a467 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_norp_fix_s9.json @@ -0,0 +1,75 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "9", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_norp_fix_s9", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_norp_fix_s9", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25, \"RP\": 0}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 9, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 805.7, + "bits_per_byte": { + "en": 1.4367, + "ja_wiki": 1.503, + "ja_web": 1.3853, + "code": 1.7235 + }, + "architecture": [ + { + "EP": 1, + "GI": 3, + "MI": 2, + "C": 1, + "OS": 1 + }, + { + "C": 4, + "SM": 1, + "MI": 1, + "I": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.3982, + 5.6868, + 5.1093, + 4.7501, + 4.5516, + 4.4276, + 4.3531, + 4.2828, + 4.2179, + 4.1923, + 4.1103, + 3.9845 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_s0.json b/results/funding/lm_compare_f13_hybrid_gate_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..f22624dc6e9aa7a0bc40525ad7ae2dacc4cf3758 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_s0.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 301.0, + "bits_per_byte": { + "en": 1.4342, + "ja_wiki": 1.5072, + "ja_web": 1.3951, + "code": 1.7072 + }, + "architecture": [ + { + "RP": 1, + "MI": 3, + "EP": 1, + "MIM": 1, + "OS": 1, + "SM": 1 + }, + { + "G": 1, + "EP": 1, + "OS": 1, + "SM": 1, + "RP": 1, + "GI": 1, + "C": 2 + } + ], + "train_loss_every_250": [ + 7.418, + 5.7319, + 5.2796, + 4.9801, + 4.7125, + 4.5484, + 4.4163, + 4.334, + 4.2852, + 4.2103, + 4.1002, + 3.968 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_s1.json b/results/funding/lm_compare_f13_hybrid_gate_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..3d90c8836befea429414ec1f1daaa416102e30c6 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_s1.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 956.6, + "bits_per_byte": { + "en": 1.4373, + "ja_wiki": 1.5016, + "ja_web": 1.3896, + "code": 1.7169 + }, + "architecture": [ + { + "GI": 2, + "C": 3, + "MI": 1, + "SM": 1, + "I": 1 + }, + { + "OS": 3, + "C": 3, + "M": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.394, + 5.5668, + 4.9486, + 4.6487, + 4.5107, + 4.4002, + 4.3208, + 4.2697, + 4.2061, + 4.1988, + 4.0819, + 3.9772 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_s2.json b/results/funding/lm_compare_f13_hybrid_gate_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..9d826c528d4bd05b2ac67a21df37d655e67e9d96 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_s2.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 426.8, + "bits_per_byte": { + "en": 1.4364, + "ja_wiki": 1.5017, + "ja_web": 1.392, + "code": 1.6901 + }, + "architecture": [ + { + "OS": 1, + "I": 1, + "MI": 1, + "C": 3, + "SM": 1, + "G": 1 + }, + { + "EP": 1, + "C": 2, + "I": 1, + "GI": 1, + "OS": 2, + "MIM": 1 + } + ], + "train_loss_every_250": [ + 7.365, + 5.7052, + 5.219, + 4.8274, + 4.5913, + 4.4265, + 4.3294, + 4.2942, + 4.2363, + 4.1683, + 4.1112, + 3.9751 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_s3.json b/results/funding/lm_compare_f13_hybrid_gate_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..e1f0c07c1fe47d8eb6434ee00ccb0dc60519cff9 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_s3.json @@ -0,0 +1,75 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_s3", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_s3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1564.5, + "bits_per_byte": { + "en": 1.4447, + "ja_wiki": 1.5119, + "ja_web": 1.3958, + "code": 1.7315 + }, + "architecture": [ + { + "M": 1, + "MIM": 1, + "C": 4, + "SM": 1, + "EP": 1 + }, + { + "C": 3, + "GI": 2, + "MI": 1, + "G": 1, + "OS": 1 + } + ], + "train_loss_every_250": [ + 7.3983, + 5.6475, + 5.0215, + 4.7358, + 4.5396, + 4.4237, + 4.3636, + 4.304, + 4.2679, + 4.2153, + 4.0997, + 4.0029 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_s4.json b/results/funding/lm_compare_f13_hybrid_gate_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..1b6b982a32ab837b3f156a81cfba72c98532799c --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_s4.json @@ -0,0 +1,77 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_s4", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_s4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1232.9, + "bits_per_byte": { + "en": 1.446, + "ja_wiki": 1.5306, + "ja_web": 1.3976, + "code": 1.8934 + }, + "architecture": [ + { + "M": 2, + "G": 1, + "I": 1, + "RP": 3, + "C": 1 + }, + { + "MI": 1, + "I": 2, + "C": 1, + "M": 1, + "D": 1, + "RP": 1, + "EP": 1 + } + ], + "train_loss_every_250": [ + 7.3132, + 5.4103, + 4.9252, + 4.6947, + 4.5646, + 4.4974, + 4.3779, + 4.348, + 4.2827, + 4.276, + 4.1188, + 4.0362 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_search_fix_s3.json b/results/funding/lm_compare_f13_hybrid_gate_search_fix_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..f136c0f9d90fe894a07dfd006c91fc3c6b07e7ce --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_search_fix_s3.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core_search", + "seeds": "3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_search_fix_s3", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core_search", + "tag": "f13_hybrid_gate_search_fix_s3", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 745.7, + "bits_per_byte": { + "en": 1.4411, + "ja_wiki": 1.5107, + "ja_web": 1.3938, + "code": 1.7327 + }, + "architecture": [ + { + "M": 1, + "GI": 1, + "C": 4, + "SM": 1, + "EP": 1 + }, + { + "C": 2, + "GI": 2, + "MI": 1, + "G": 1, + "SM": 1, + "OS": 1 + } + ], + "train_loss_every_250": [ + 7.4078, + 5.6489, + 5.0255, + 4.7378, + 4.5395, + 4.422, + 4.3594, + 4.2997, + 4.2591, + 4.2083, + 4.0904, + 3.9939 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_search_fix_s4.json b/results/funding/lm_compare_f13_hybrid_gate_search_fix_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..b6e270ea3dcff7ea52f545f48dcb4fe6870d8a52 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_search_fix_s4.json @@ -0,0 +1,76 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core_search", + "seeds": "4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_search_fix_s4", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core_search", + "tag": "f13_hybrid_gate_search_fix_s4", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.36, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 484.8, + "bits_per_byte": { + "en": 1.4449, + "ja_wiki": 1.5291, + "ja_web": 1.3966, + "code": 1.8911 + }, + "architecture": [ + { + "M": 2, + "G": 1, + "I": 1, + "RP": 3, + "C": 1 + }, + { + "C": 2, + "I": 2, + "M": 1, + "D": 1, + "RP": 1, + "EP": 1 + } + ], + "train_loss_every_250": [ + 7.3188, + 5.4134, + 4.9309, + 4.6977, + 4.5659, + 4.4967, + 4.378, + 4.3481, + 4.2816, + 4.2758, + 4.1165, + 4.0333 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wa_s0.json b/results/funding/lm_compare_f13_hybrid_gate_wa_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..05c25bb695346f8cad7126d75ccf8c80eb571810 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wa_s0.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wa_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wa_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\"}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.42, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1101.1, + "bits_per_byte": { + "en": 1.4385, + "ja_wiki": 1.5125, + "ja_web": 1.3954, + "code": 1.7356 + }, + "architecture": [ + { + "WA": 1, + "RP": 1, + "MI": 3, + "EP": 1, + "MIM": 1, + "OS": 1 + }, + { + "WA": 1, + "SM": 2, + "G": 1, + "EP": 1, + "OS": 1, + "RP": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.4397, + 5.7514, + 5.29, + 4.9619, + 4.6741, + 4.5336, + 4.4165, + 4.3402, + 4.2938, + 4.2223, + 4.1149, + 3.983 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wa_s1.json b/results/funding/lm_compare_f13_hybrid_gate_wa_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..466b52fbd51b5251b94c893c41b129bf11e0f38f --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wa_s1.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wa_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wa_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\"}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.42, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2246.0, + "bits_per_byte": { + "en": 1.4401, + "ja_wiki": 1.5078, + "ja_web": 1.393, + "code": 1.7337 + }, + "architecture": [ + { + "WA": 1, + "GI": 2, + "C": 3, + "MI": 1, + "SM": 1 + }, + { + "WA": 1, + "I": 1, + "OS": 3, + "C": 3 + } + ], + "train_loss_every_250": [ + 7.4299, + 5.6539, + 5.0538, + 4.7083, + 4.5548, + 4.4337, + 4.3496, + 4.2954, + 4.2298, + 4.2185, + 4.1, + 3.9936 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s0.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..d30b5dd849dd4fa8c834ebc6312ae6c0abed16c8 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s0.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_fix_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_fix_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.42, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 614.0, + "bits_per_byte": { + "en": 1.4399, + "ja_wiki": 1.5142, + "ja_web": 1.3981, + "code": 1.7327 + }, + "architecture": [ + { + "WA": 1, + "RP": 1, + "MI": 3, + "EP": 1, + "MIM": 1, + "OS": 1 + }, + { + "WA": 1, + "SM": 2, + "G": 1, + "EP": 1, + "OS": 1, + "RP": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.4373, + 5.7404, + 5.2913, + 4.9895, + 4.7107, + 4.5522, + 4.4262, + 4.3485, + 4.301, + 4.2285, + 4.1185, + 3.9879 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s1.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..4d08c68da8e919f3f8c981d2f148ca632fd4c9db --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s1.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_fix_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_fix_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.42, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 913.0, + "bits_per_byte": { + "en": 1.4378, + "ja_wiki": 1.5086, + "ja_web": 1.3945, + "code": 1.7288 + }, + "architecture": [ + { + "WA": 1, + "GI": 2, + "C": 3, + "MI": 1, + "SM": 1 + }, + { + "WA": 1, + "I": 1, + "OS": 3, + "C": 3 + } + ], + "train_loss_every_250": [ + 7.4252, + 5.6488, + 5.0342, + 4.6934, + 4.5436, + 4.4216, + 4.3401, + 4.2866, + 4.2229, + 4.2133, + 4.0944, + 3.9866 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s2.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..56caab7a5d56ce4332853a620656e692232efb9f --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_fix_s2.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_fix_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_fix_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"out\"}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.42, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1481.1, + "bits_per_byte": { + "en": 1.4322, + "ja_wiki": 1.5034, + "ja_web": 1.3905, + "code": 1.6919 + }, + "architecture": [ + { + "WA": 1, + "OS": 1, + "I": 1, + "MI": 1, + "C": 3, + "SM": 1 + }, + { + "WA": 1, + "G": 1, + "EP": 1, + "C": 1, + "I": 1, + "GI": 1, + "OS": 2 + } + ], + "train_loss_every_250": [ + 7.3697, + 5.711, + 5.1972, + 4.7808, + 4.5796, + 4.4233, + 4.33, + 4.2953, + 4.2353, + 4.1678, + 4.1091, + 3.9689 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s0.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..829eff10cd13331e321e35d18cccbe83f4196a49 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s0.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_in_fix_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_in_fix_s0", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 813.8, + "bits_per_byte": { + "en": 1.4388, + "ja_wiki": 1.5125, + "ja_web": 1.3968, + "code": 1.7289 + }, + "architecture": [ + { + "WA": 1, + "RP": 1, + "MI": 3, + "EP": 1, + "MIM": 1, + "OS": 1 + }, + { + "WA": 1, + "SM": 2, + "G": 1, + "EP": 1, + "OS": 1, + "RP": 1, + "GI": 1 + } + ], + "train_loss_every_250": [ + 7.4364, + 5.745, + 5.2887, + 4.9741, + 4.6936, + 4.5438, + 4.4214, + 4.3447, + 4.2989, + 4.2257, + 4.1162, + 3.9836 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s1.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..3ee9642aa1dd3e5894703c4cacee91d896b70cb7 --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s1.json @@ -0,0 +1,74 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_in_fix_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_in_fix_s1", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 840.2, + "bits_per_byte": { + "en": 1.437, + "ja_wiki": 1.5038, + "ja_web": 1.3895, + "code": 1.7142 + }, + "architecture": [ + { + "WA": 1, + "GI": 2, + "C": 3, + "MI": 1, + "SM": 1 + }, + { + "WA": 1, + "I": 1, + "OS": 3, + "C": 3 + } + ], + "train_loss_every_250": [ + 7.4075, + 5.6493, + 5.0305, + 4.6892, + 4.5349, + 4.4152, + 4.3329, + 4.2804, + 4.2131, + 4.2044, + 4.0869, + 3.9799 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s2.json b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..0ca95dc643bdf40888ee9bea342051e6ff46bd7e --- /dev/null +++ b/results/funding/lm_compare_f13_hybrid_gate_wahkey_in_fix_s2.json @@ -0,0 +1,78 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "tonn_core", + "seeds": "2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_hybrid_gate_wahkey_in_fix_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "tonn_core", + "tag": "f13_hybrid_gate_wahkey_in_fix_s2", + "cfg": "{\"attn_layers\": [1, 2, 4, 5], \"init_weights\": {\"C\": 4, \"G\": 0.25, \"D\": 0.25}, \"attn_gate\": true, \"qk_norm\": true, \"pinned\": {\"WA\": 1}, \"menu\": [\"D\", \"I\", \"GI\", \"M\", \"MI\", \"MIM\", \"EP\", \"G\", \"C\", \"RP\", \"SM\", \"OS\", \"WA\"], \"wa_scope\": \"self\", \"wa_key\": \"hidden\", \"wa_matrix\": \"in\"}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.47, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 508.2, + "bits_per_byte": { + "en": 1.4329, + "ja_wiki": 1.5008, + "ja_web": 1.3914, + "code": 1.6943 + }, + "architecture": [ + { + "WA": 1, + "OS": 1, + "I": 1, + "MI": 1, + "C": 3, + "SM": 1 + }, + { + "WA": 1, + "G": 1, + "EP": 1, + "C": 1, + "I": 1, + "GI": 1, + "OS": 2 + } + ], + "train_loss_every_250": [ + 7.3675, + 5.7163, + 5.2332, + 4.835, + 4.6034, + 4.4377, + 4.3411, + 4.3016, + 4.2359, + 4.1659, + 4.107, + 3.9684 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s0.json b/results/funding/lm_compare_f13_llama_gate_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..199d52e2f6288c79a830b4745c7873be5cce6d94 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s0", + "cfg": "{}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 540.5, + "bits_per_byte": { + "en": 1.4379, + "ja_wiki": 1.518, + "ja_web": 1.4005, + "code": 1.7438 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4748, + 5.8552, + 5.3602, + 4.9441, + 4.6638, + 4.5405, + 4.4279, + 4.3526, + 4.3057, + 4.2334, + 4.1231, + 3.9888 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s1.json b/results/funding/lm_compare_f13_llama_gate_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..7e35f3b9eaedda6c7fdb1dd2482ca132e3bcb412 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s1", + "cfg": "{}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 527.9, + "bits_per_byte": { + "en": 1.4393, + "ja_wiki": 1.5102, + "ja_web": 1.3998, + "code": 1.7364 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4938, + 5.8687, + 5.3109, + 4.8941, + 4.6655, + 4.5107, + 4.405, + 4.3357, + 4.2576, + 4.24, + 4.1116, + 4.0014 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s2.json b/results/funding/lm_compare_f13_llama_gate_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..d53b874489d6558cadb767ad5d3de5596ae83a16 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s2", + "cfg": "{}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 618.6, + "bits_per_byte": { + "en": 1.4441, + "ja_wiki": 1.5231, + "ja_web": 1.4065, + "code": 1.738 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4537, + 5.8593, + 5.3743, + 5.0109, + 4.7543, + 4.5526, + 4.431, + 4.3784, + 4.3067, + 4.2308, + 4.1643, + 4.0168 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s3.json b/results/funding/lm_compare_f13_llama_gate_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..8f13eab8f29855adc52810ddb59688a22538fb31 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s3.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "3", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s3", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s3", + "cfg": "{}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1327.1, + "bits_per_byte": { + "en": 1.4397, + "ja_wiki": 1.5121, + "ja_web": 1.3968, + "code": 1.7243 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4692, + 5.8674, + 5.3264, + 4.9214, + 4.6307, + 4.4741, + 4.3944, + 4.3224, + 4.2752, + 4.2157, + 4.0964, + 3.9962 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s4.json b/results/funding/lm_compare_f13_llama_gate_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..3dac4e2e695ec9d0d89562a0d35555171d5f419f --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s4.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "4", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s4", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s4", + "cfg": "{}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1013.7, + "bits_per_byte": { + "en": 1.4401, + "ja_wiki": 1.5122, + "ja_web": 1.3982, + "code": 1.7309 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4862, + 5.8455, + 5.2826, + 4.8761, + 4.6448, + 4.5282, + 4.3839, + 4.3378, + 4.2609, + 4.2502, + 4.0898, + 4.0068 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s5.json b/results/funding/lm_compare_f13_llama_gate_s5.json new file mode 100644 index 0000000000000000000000000000000000000000..1ef172582cce23ab83a63ce0c433c50fb64042ea --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s5.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "5", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s5", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s5", + "cfg": "{}", + "lr": 0.002, + "seed": 5, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 757.2, + "bits_per_byte": { + "en": 1.4401, + "ja_wiki": 1.5109, + "ja_web": 1.4011, + "code": 1.738 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4572, + 5.8489, + 5.4011, + 5.0096, + 4.7094, + 4.5109, + 4.4154, + 4.3303, + 4.2947, + 4.2319, + 4.1172, + 3.995 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s6.json b/results/funding/lm_compare_f13_llama_gate_s6.json new file mode 100644 index 0000000000000000000000000000000000000000..8ea42830774d8134bd268d7cdf1db9768324d5fe --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s6.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "6", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s6", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s6", + "cfg": "{}", + "lr": 0.002, + "seed": 6, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 797.4, + "bits_per_byte": { + "en": 1.4368, + "ja_wiki": 1.5103, + "ja_web": 1.3981, + "code": 1.7159 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4704, + 5.8471, + 5.3513, + 4.9324, + 4.6413, + 4.5153, + 4.3836, + 4.3185, + 4.2606, + 4.232, + 4.1287, + 3.9822 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s7.json b/results/funding/lm_compare_f13_llama_gate_s7.json new file mode 100644 index 0000000000000000000000000000000000000000..9628248204f0fa75d4ee93164a2bf896fe18601b --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s7.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "7", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s7", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s7", + "cfg": "{}", + "lr": 0.002, + "seed": 7, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 550.7, + "bits_per_byte": { + "en": 1.4411, + "ja_wiki": 1.5156, + "ja_web": 1.4012, + "code": 1.7275 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4877, + 5.8705, + 5.3948, + 5.0744, + 4.7512, + 4.5876, + 4.4461, + 4.3493, + 4.3047, + 4.266, + 4.1233, + 3.9905 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s8.json b/results/funding/lm_compare_f13_llama_gate_s8.json new file mode 100644 index 0000000000000000000000000000000000000000..81d1592c1838384a284d499449b326e8b5d41fd8 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s8.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "8", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s8", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s8", + "cfg": "{}", + "lr": 0.002, + "seed": 8, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 654.7, + "bits_per_byte": { + "en": 1.439, + "ja_wiki": 1.5127, + "ja_web": 1.4004, + "code": 1.7305 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4487, + 5.8765, + 5.3532, + 4.8963, + 4.6857, + 4.503, + 4.4309, + 4.3251, + 4.2506, + 4.2199, + 4.1167, + 3.99 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_gate_s9.json b/results/funding/lm_compare_f13_llama_gate_s9.json new file mode 100644 index 0000000000000000000000000000000000000000..071be2a282f48d05d0bbe9bba57224f5ba16e64b --- /dev/null +++ b/results/funding/lm_compare_f13_llama_gate_s9.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "9", + "cfg": "{}", + "llama_cfg": "{\"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_llama_gate_s9", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_gate_s9", + "cfg": "{}", + "lr": 0.002, + "seed": 9, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.49, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 798.1, + "bits_per_byte": { + "en": 1.4388, + "ja_wiki": 1.5112, + "ja_web": 1.3971, + "code": 1.7449 + }, + "architecture": null, + "train_loss_every_250": [ + 7.4708, + 5.8786, + 5.3398, + 4.9392, + 4.6787, + 4.5196, + 4.4225, + 4.3362, + 4.2623, + 4.2275, + 4.139, + 4.0085 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_s0.json b/results/funding/lm_compare_f13_llama_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..db31398c49abe13a2e0958ce9740b0f15f824922 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_llama_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_s0", + "cfg": "{}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.1, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 481.1, + "bits_per_byte": { + "en": 1.4612, + "ja_wiki": 1.5354, + "ja_web": 1.4152, + "code": 1.7662 + }, + "architecture": null, + "train_loss_every_250": [ + 7.5619, + 6.004, + 5.4288, + 4.9941, + 4.7274, + 4.6092, + 4.4966, + 4.4198, + 4.3727, + 4.2984, + 4.1872, + 4.0517 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_s1.json b/results/funding/lm_compare_f13_llama_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..76bb797f9e82686bf791a6a2849319e4a92d9207 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_llama_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_s1", + "cfg": "{}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.1, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 423.8, + "bits_per_byte": { + "en": 1.4694, + "ja_wiki": 1.5447, + "ja_web": 1.4228, + "code": 1.7996 + }, + "architecture": null, + "train_loss_every_250": [ + 7.5948, + 6.0762, + 5.6035, + 5.2062, + 4.874, + 4.6593, + 4.5316, + 4.4465, + 4.3639, + 4.3402, + 4.2085, + 4.0947 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_s2.json b/results/funding/lm_compare_f13_llama_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..476b8645ef5d943318a760cb5eeee03f08f9bc55 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_llama_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_s2", + "cfg": "{}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.1, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 669.5, + "bits_per_byte": { + "en": 1.4684, + "ja_wiki": 1.5409, + "ja_web": 1.4215, + "code": 1.7721 + }, + "architecture": null, + "train_loss_every_250": [ + 7.5433, + 6.0007, + 5.46, + 5.0554, + 4.8072, + 4.6168, + 4.4973, + 4.447, + 4.3743, + 4.2966, + 4.2306, + 4.084 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_s3.json b/results/funding/lm_compare_f13_llama_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..a275db53cae02b8125eceb865066e67839350686 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_s3.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "3", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_llama_s3", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_s3", + "cfg": "{}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.1, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1246.3, + "bits_per_byte": { + "en": 1.4648, + "ja_wiki": 1.5344, + "ja_web": 1.4121, + "code": 1.7723 + }, + "architecture": null, + "train_loss_every_250": [ + 7.5445, + 5.9718, + 5.4106, + 5.0311, + 4.7401, + 4.5749, + 4.4844, + 4.4075, + 4.3541, + 4.2922, + 4.1685, + 4.0664 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_llama_s4.json b/results/funding/lm_compare_f13_llama_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..a9ccf541744a3eff2695ddc3fe5201d389dc9256 --- /dev/null +++ b/results/funding/lm_compare_f13_llama_s4.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "4", + "cfg": "{}", + "llama_cfg": "{}", + "size": "{}", + "tag": "f13_llama_s4", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_llama_s4", + "cfg": "{}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.1, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 715.4, + "bits_per_byte": { + "en": 1.467, + "ja_wiki": 1.5362, + "ja_web": 1.4164, + "code": 1.7722 + }, + "architecture": null, + "train_loss_every_250": [ + 7.5678, + 5.9894, + 5.47, + 5.0421, + 4.7673, + 4.6362, + 4.4834, + 4.4328, + 4.3485, + 4.3343, + 4.1698, + 4.0847 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s0.json b/results/funding/lm_compare_f13_qwen35_s0.json new file mode 100644 index 0000000000000000000000000000000000000000..a01200ae4f44de832fca7577624b376ef4d9e8c9 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s0.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "0", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s0", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s0", + "cfg": "{}", + "lr": 0.002, + "seed": 0, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1825.5, + "bits_per_byte": { + "en": 1.4409, + "ja_wiki": 1.5122, + "ja_web": 1.3986, + "code": 1.7246 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9431, + 5.9487, + 5.4062, + 5.0713, + 4.768, + 4.587, + 4.4486, + 4.361, + 4.3105, + 4.2329, + 4.1219, + 3.988 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s1.json b/results/funding/lm_compare_f13_qwen35_s1.json new file mode 100644 index 0000000000000000000000000000000000000000..e337586277b502d636e27712d51496c24041b95a --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s1.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "1", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s1", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s1", + "cfg": "{}", + "lr": 0.002, + "seed": 1, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1542.1, + "bits_per_byte": { + "en": 1.444, + "ja_wiki": 1.5098, + "ja_web": 1.3995, + "code": 1.7305 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9038, + 5.9439, + 5.4048, + 5.0232, + 4.7149, + 4.5237, + 4.4059, + 4.3322, + 4.2529, + 4.2345, + 4.1087, + 4.0006 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s2.json b/results/funding/lm_compare_f13_qwen35_s2.json new file mode 100644 index 0000000000000000000000000000000000000000..2d1d0a3b56c2616b56cef98cb535c4f0df46ab10 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s2.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "2", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s2", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s2", + "cfg": "{}", + "lr": 0.002, + "seed": 2, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1463.7, + "bits_per_byte": { + "en": 1.4479, + "ja_wiki": 1.5218, + "ja_web": 1.4066, + "code": 1.7406 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9186, + 5.9516, + 5.3976, + 5.0761, + 4.8411, + 4.6033, + 4.4514, + 4.3855, + 4.3068, + 4.229, + 4.164, + 4.0195 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s3.json b/results/funding/lm_compare_f13_qwen35_s3.json new file mode 100644 index 0000000000000000000000000000000000000000..f67184e55a731056d38dc0db90ddff1d871eea67 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s3.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "3", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s3", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s3", + "cfg": "{}", + "lr": 0.002, + "seed": 3, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 3243.8, + "bits_per_byte": { + "en": 1.4445, + "ja_wiki": 1.5072, + "ja_web": 1.3956, + "code": 1.7217 + }, + "architecture": null, + "train_loss_every_250": [ + 7.8728, + 5.911, + 5.3319, + 4.9589, + 4.6455, + 4.4751, + 4.3902, + 4.3177, + 4.2693, + 4.2106, + 4.0928, + 3.9952 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s4.json b/results/funding/lm_compare_f13_qwen35_s4.json new file mode 100644 index 0000000000000000000000000000000000000000..0913ea80d40c1bd7e1dadbdf944a9fef6ca7f8d5 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s4.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "4", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s4", + "device": "auto", + "out": "results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s4", + "cfg": "{}", + "lr": 0.002, + "seed": 4, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2238.8, + "bits_per_byte": { + "en": 1.444, + "ja_wiki": 1.5131, + "ja_web": 1.3992, + "code": 1.7297 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9075, + 5.9286, + 5.3923, + 5.0706, + 4.8146, + 4.6055, + 4.4189, + 4.3572, + 4.2687, + 4.2551, + 4.0935, + 4.0128 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s5.json b/results/funding/lm_compare_f13_qwen35_s5.json new file mode 100644 index 0000000000000000000000000000000000000000..ac1b66a2bc3ad2695194de7c9bc5aa62ed82d7c2 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s5.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "5", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s5", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s5", + "cfg": "{}", + "lr": 0.002, + "seed": 5, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1895.8, + "bits_per_byte": { + "en": 1.4427, + "ja_wiki": 1.5078, + "ja_web": 1.3987, + "code": 1.7299 + }, + "architecture": null, + "train_loss_every_250": [ + 7.8994, + 5.9235, + 5.4091, + 5.0556, + 4.7336, + 4.5121, + 4.4097, + 4.3241, + 4.2853, + 4.2217, + 4.1095, + 3.9921 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s6.json b/results/funding/lm_compare_f13_qwen35_s6.json new file mode 100644 index 0000000000000000000000000000000000000000..2f99c134ac01fc3584d0c1d5d36075f5a21ec7fe --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s6.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "6", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s6", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s6", + "cfg": "{}", + "lr": 0.002, + "seed": 6, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2678.7, + "bits_per_byte": { + "en": 1.447, + "ja_wiki": 1.5138, + "ja_web": 1.4002, + "code": 1.7281 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9231, + 5.9263, + 5.397, + 5.0791, + 4.7966, + 4.608, + 4.4494, + 4.3683, + 4.2985, + 4.2617, + 4.1519, + 4.0039 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s7.json b/results/funding/lm_compare_f13_qwen35_s7.json new file mode 100644 index 0000000000000000000000000000000000000000..5f3b7effd12f4f0b5d34feaeea02a09e894c9c49 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s7.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "7", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s7", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s7", + "cfg": "{}", + "lr": 0.002, + "seed": 7, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2496.3, + "bits_per_byte": { + "en": 1.4496, + "ja_wiki": 1.514, + "ja_web": 1.3996, + "code": 1.7309 + }, + "architecture": null, + "train_loss_every_250": [ + 7.961, + 5.9547, + 5.3899, + 5.1094, + 4.8413, + 4.6408, + 4.4721, + 4.3643, + 4.3167, + 4.2761, + 4.1343, + 4.0037 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s8.json b/results/funding/lm_compare_f13_qwen35_s8.json new file mode 100644 index 0000000000000000000000000000000000000000..b80ce27c854570fbd3fa907dfa7558801bee385e --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s8.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "8", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s8", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s8", + "cfg": "{}", + "lr": 0.002, + "seed": 8, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 2209.1, + "bits_per_byte": { + "en": 1.4469, + "ja_wiki": 1.5165, + "ja_web": 1.4017, + "code": 1.7429 + }, + "architecture": null, + "train_loss_every_250": [ + 7.929, + 5.9607, + 5.4161, + 5.0259, + 4.7682, + 4.5469, + 4.4568, + 4.3432, + 4.2634, + 4.2303, + 4.1276, + 4.0025 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/lm_compare_f13_qwen35_s9.json b/results/funding/lm_compare_f13_qwen35_s9.json new file mode 100644 index 0000000000000000000000000000000000000000..2d6a45ba752b1a2115c74da43739db78e0af43c1 --- /dev/null +++ b/results/funding/lm_compare_f13_qwen35_s9.json @@ -0,0 +1,60 @@ +{ + "args": { + "root": "/shared-docker/ExeaLM/data/tokpack", + "toks": "bpe32k", + "mix": "0.5,0.3,0.2", + "steps": 3000, + "seconds": 0, + "batch": 32, + "seq": 512, + "lr": 0.002, + "eval_batches": 16, + "models": "llama", + "seeds": "9", + "cfg": "{}", + "llama_cfg": "{\"delta_layers\": [0, 1, 2, 4], \"attn_gate\": true, \"qk_norm\": true}", + "size": "{}", + "tag": "f13_qwen35_s9", + "device": "auto", + "out": "/shared-docker/ExeaLM/results/funding" + }, + "device": "cuda", + "rows": [ + { + "model": "llama", + "tag": "f13_qwen35_s9", + "cfg": "{}", + "lr": 0.002, + "seed": 9, + "tokenizer": "bpe32k", + "vocab": 32768, + "params_M": 13.51, + "steps": 3000, + "seconds_budget": 0, + "tokens_seen": 49152000, + "bytes_seen": 202084646, + "secs": 1505.8, + "bits_per_byte": { + "en": 1.4446, + "ja_wiki": 1.5137, + "ja_web": 1.3962, + "code": 1.7331 + }, + "architecture": null, + "train_loss_every_250": [ + 7.9486, + 5.9414, + 5.3948, + 5.1173, + 4.8751, + 4.6185, + 4.4701, + 4.366, + 4.2762, + 4.239, + 4.1455, + 4.0158 + ] + } + ] +} \ No newline at end of file diff --git a/results/funding/summary.json b/results/funding/summary.json new file mode 100644 index 0000000000000000000000000000000000000000..366c02b44a4140536e7084b75c0c3cbf17cd238e --- /dev/null +++ b/results/funding/summary.json @@ -0,0 +1,300 @@ +{ + "f13/hybrid_gate_fix": { + "seeds": [ + 0, + 1, + 2 + ], + "mean": 1.5090166666666667, + "std": 0.00795064200762011, + "per_seed": { + "0": 1.517025, + "1": 1.5089000000000001, + "2": 1.501125 + } + }, + "f13/hybrid_gate_wa": { + "seeds": [ + 0, + 1 + ], + "mean": 1.5195750000000001, + "std": 0.0013081475451950473, + "per_seed": { + "0": 1.5205, + "1": 1.51865 + } + }, + "f13/llama_gate": { + "seeds": [ + 0, + 1, + 2, + 3, + 4 + ], + "mean": 1.522595, + "std": 0.0038711028790255606, + "per_seed": { + "0": 1.52505, + "1": 1.521425, + "2": 1.527925, + "3": 1.518225, + "4": 1.52035 + } + }, + "f13/hybrid_gate": { + "seeds": [ + 0, + 1, + 2, + 3, + 4 + ], + "mean": 1.52304, + "std": 0.025174556848135358, + "per_seed": { + "0": 1.510925, + "1": 1.51135, + "2": 1.50505, + "3": 1.520975, + "4": 1.5669 + } + }, + "f13/qwen35": { + "seeds": [ + 0, + 1, + 2 + ], + "mean": 1.5230833333333333, + "std": 0.005400829411612055, + "per_seed": { + "0": 1.519075, + "1": 1.52095, + "2": 1.529225 + } + }, + "f13/llama": { + "seeds": [ + 0, + 1, + 2, + 3, + 4 + ], + "mean": 1.5496400000000001, + "std": 0.005796674693304792, + "per_seed": { + "0": 1.5445, + "1": 1.559125, + "2": 1.550725, + "3": 1.5459, + "4": 1.5479500000000002 + } + }, + "f13/hybrid_gate_fix_vs_hybrid_gate": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + -0.006099999999999994, + 0.002449999999999841, + 0.003924999999999956 + ], + "mean": 9.166666666660106e-05, + "wins": 2 + }, + "f13/hybrid_gate_fix_vs_hybrid_gate_wa": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + 0.003474999999999895, + 0.009749999999999925 + ], + "mean": 0.00661249999999991, + "wins": 2 + }, + "f13/hybrid_gate_fix_vs_llama": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + 0.027474999999999916, + 0.050224999999999964, + 0.049599999999999866 + ], + "mean": 0.04243333333333325, + "wins": 3 + }, + "f13/hybrid_gate_fix_vs_llama_gate": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + 0.008024999999999949, + 0.012524999999999897, + 0.026799999999999935 + ], + "mean": 0.01578333333333326, + "wins": 3 + }, + "f13/hybrid_gate_fix_vs_qwen35": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + 0.0020499999999998852, + 0.012049999999999894, + 0.028100000000000014 + ], + "mean": 0.014066666666666597, + "wins": 3 + }, + "f13/hybrid_gate_vs_hybrid_gate_fix": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + 0.006099999999999994, + -0.002449999999999841, + -0.003924999999999956 + ], + "mean": -9.166666666660106e-05, + "wins": 1 + }, + "f13/hybrid_gate_vs_hybrid_gate_wa": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + 0.00957499999999989, + 0.007300000000000084 + ], + "mean": 0.008437499999999987, + "wins": 2 + }, + "f13/hybrid_gate_vs_llama": { + "seeds": [ + 0, + 1, + 2, + 3, + 4 + ], + "diffs": [ + 0.03357499999999991, + 0.04777500000000012, + 0.04567499999999991, + 0.024925000000000086, + -0.0189499999999998 + ], + "mean": 0.026600000000000047, + "wins": 4 + }, + "f13/hybrid_gate_vs_llama_gate": { + "seeds": [ + 0, + 1, + 2, + 3, + 4 + ], + "diffs": [ + 0.014124999999999943, + 0.010075000000000056, + 0.02287499999999998, + -0.00275000000000003, + -0.04654999999999987 + ], + "mean": -0.0004449999999999843, + "wins": 3 + }, + "f13/hybrid_gate_vs_qwen35": { + "seeds": [ + 0, + 1, + 2 + ], + "diffs": [ + 0.00814999999999988, + 0.009600000000000053, + 0.024175000000000058 + ], + "mean": 0.013974999999999996, + "wins": 3 + }, + "f13/hybrid_gate_wa_vs_hybrid_gate": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + -0.00957499999999989, + -0.007300000000000084 + ], + "mean": -0.008437499999999987, + "wins": 0 + }, + "f13/hybrid_gate_wa_vs_hybrid_gate_fix": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + -0.003474999999999895, + -0.009749999999999925 + ], + "mean": -0.00661249999999991, + "wins": 0 + }, + "f13/hybrid_gate_wa_vs_llama": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + 0.02400000000000002, + 0.04047500000000004 + ], + "mean": 0.03223750000000003, + "wins": 2 + }, + "f13/hybrid_gate_wa_vs_llama_gate": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + 0.004550000000000054, + 0.002774999999999972 + ], + "mean": 0.003662500000000013, + "wins": 2 + }, + "f13/hybrid_gate_wa_vs_qwen35": { + "seeds": [ + 0, + 1 + ], + "diffs": [ + -0.0014250000000000096, + 0.0022999999999999687 + ], + "mean": 0.00043749999999997957, + "wins": 1 + } +} \ No newline at end of file diff --git a/results/funding/throughput_mi300x.json b/results/funding/throughput_mi300x.json new file mode 100644 index 0000000000000000000000000000000000000000..d370215bb28eff79e65b69ba7e176c05906a4bfe --- /dev/null +++ b/results/funding/throughput_mi300x.json @@ -0,0 +1,90 @@ +[ + { + "size": "0.1B", + "model": "hybrid", + "params_M": 93.4, + "precision": "bf16", + "batch": 32, + "seq": 512, + "s_per_step": 0.1633, + "tokens_per_s": 100310, + "effective_TFLOPs": 56.2 + }, + { + "size": "0.1B", + "model": "hybrid", + "params_M": 93.4, + "precision": "fp32", + "batch": 32, + "seq": 512, + "s_per_step": 0.3061, + "tokens_per_s": 53525, + "effective_TFLOPs": 30.0 + }, + { + "size": "0.1B", + "model": "llama", + "params_M": 89.7, + "precision": "bf16", + "batch": 32, + "seq": 512, + "s_per_step": 0.1037, + "tokens_per_s": 157982, + "effective_TFLOPs": 85.1 + }, + { + "size": "0.1B", + "model": "llama", + "params_M": 89.7, + "precision": "fp32", + "batch": 32, + "seq": 512, + "s_per_step": 0.2576, + "tokens_per_s": 63614, + "effective_TFLOPs": 34.2 + }, + { + "size": "0.5B", + "model": "hybrid", + "params_M": 497.1, + "precision": "bf16", + "batch": 16, + "seq": 512, + "s_per_step": 0.3016, + "tokens_per_s": 27158, + "effective_TFLOPs": 81.0 + }, + { + "size": "0.5B", + "model": "hybrid", + "params_M": 497.1, + "precision": "fp32", + "batch": 16, + "seq": 512, + "s_per_step": 0.6403, + "tokens_per_s": 12794, + "effective_TFLOPs": 38.2 + }, + { + "size": "0.5B", + "model": "llama", + "params_M": 474.1, + "precision": "bf16", + "batch": 16, + "seq": 512, + "s_per_step": 0.1867, + "tokens_per_s": 43883, + "effective_TFLOPs": 124.8 + }, + { + "size": "0.5B", + "model": "llama", + "params_M": 474.1, + "precision": "fp32", + "batch": 16, + "seq": 512, + "s_per_step": 0.5364, + "tokens_per_s": 15273, + "effective_TFLOPs": 43.4 + } +] \ No newline at end of file