jfrick commited on
Commit
0ebdb4f
·
verified ·
1 Parent(s): 6bbbc6f

Publish code-focused 32K tokenizer and promote it to the default

Browse files
.gitattributes CHANGED
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  research/corpus-composition.png filter=lfs diff=lfs merge=lfs -text
37
  research/resources-and-utilization.png filter=lfs diff=lfs merge=lfs -text
38
  research/source-comparisons.png filter=lfs diff=lfs merge=lfs -text
 
 
36
  research/corpus-composition.png filter=lfs diff=lfs merge=lfs -text
37
  research/resources-and-utilization.png filter=lfs diff=lfs merge=lfs -text
38
  research/source-comparisons.png filter=lfs diff=lfs merge=lfs -text
39
+ research/structured-code-v1/structured-curves.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -6,105 +6,68 @@ tags:
6
  - tokenizer
7
  - byte-level-bpe
8
  - code
9
- - scientific-text
10
- - from-scratch
11
  ---
12
 
13
- # Scholarly/code tokenizer learning curve
14
 
15
- 18 byte-level BPE tokenizers trained from scratch on Modal: 64, 128, 256, 512,
16
- 1,024 and 2,048 MiB of text, each at 16,384, 32,768 and 50,000 vocabulary entries.
17
- This is a tokenizer resource, with no language-model weights.
18
-
19
- The default is **32,768 entries trained on 2 GiB**, a practical starting point
20
- balancing compression and embedding/output size. This is not a demonstrated
21
- model-quality optimum. All 18 variants are included for reproducible comparisons.
22
- The existing scholarly-code-v1 tokenizer in GitHub has not been replaced.
23
-
24
- ## Usage
25
 
26
  ```python
27
  from transformers import AutoTokenizer
28
 
29
  tokenizer = AutoTokenizer.from_pretrained("jfrick/scholarly-code-tokenizer")
30
- text = "def square(x):\n return x ** 2\n"
31
  ids = tokenizer.encode(text, add_special_tokens=False)
32
  assert tokenizer.decode(ids, clean_up_tokenization_spaces=False) == text
33
 
34
- # Choose any measured vocabulary and fitting size:
35
- tokenizer_50k = AutoTokenizer.from_pretrained(
36
- "jfrick/scholarly-code-tokenizer", subfolder="variants/2048mib-50000"
37
  )
38
  ```
39
 
40
- Tested with `transformers==4.57.6` and `tokenizers==0.22.2`. No custom remote code
41
- is required. The Rust `tokenizers.Tokenizer.from_file("tokenizer.json")` API also
42
- works. BOS/EOS are not inserted automatically; training pipelines must add document
43
- boundaries explicitly. Special IDs: PAD=0, BOS=1, EOS=2, UNK=3. Decode with
44
- `skip_special_tokens=False` when exact round trips including special literals matter.
45
- Byte coverage avoids unknown tokens for ordinary valid UTF-8 text. No maximum
46
- model context is implied by this tokenizer.
47
-
48
- ## Results
49
 
50
- ![Learning curve](research/learning-curve.png)
51
 
52
- All variants were evaluated on the same 32 MiB source-weighted held-out corpus,
53
- with parent separation and a 16 KiB evaluation parent cap. Higher bytes/token means
54
- fewer tokens for identical text. The [research report](research/REPORT.md) and
55
- [PDF](research/research-report.pdf) include per-source curves, paired bootstrap
56
- intervals, vocabulary utilization, fragmentation probes, fit time and peak memory.
 
 
57
 
58
- | Fitting MiB | Vocabulary | Bytes/token | Variant |
59
- |---:|---:|---:|---|
60
- | 64 | 16,384 | 3.7463 | [`64mib-16384`](variants/64mib-16384) |
61
- | 64 | 32,768 | 4.0110 | [`64mib-32768`](variants/64mib-32768) |
62
- | 64 | 50,000 | 4.1392 | [`64mib-50000`](variants/64mib-50000) |
63
- | 128 | 16,384 | 3.7571 | [`128mib-16384`](variants/128mib-16384) |
64
- | 128 | 32,768 | 4.0258 | [`128mib-32768`](variants/128mib-32768) |
65
- | 128 | 50,000 | 4.1549 | [`128mib-50000`](variants/128mib-50000) |
66
- | 256 | 16,384 | 3.7624 | [`256mib-16384`](variants/256mib-16384) |
67
- | 256 | 32,768 | 4.0338 | [`256mib-32768`](variants/256mib-32768) |
68
- | 256 | 50,000 | 4.1655 | [`256mib-50000`](variants/256mib-50000) |
69
- | 512 | 16,384 | 3.7646 | [`512mib-16384`](variants/512mib-16384) |
70
- | 512 | 32,768 | 4.0395 | [`512mib-32768`](variants/512mib-32768) |
71
- | 512 | 50,000 | 4.1729 | [`512mib-50000`](variants/512mib-50000) |
72
- | 1024 | 16,384 | 3.7659 | [`1024mib-16384`](variants/1024mib-16384) |
73
- | 1024 | 32,768 | 4.0431 | [`1024mib-32768`](variants/1024mib-32768) |
74
- | 1024 | 50,000 | 4.1774 | [`1024mib-50000`](variants/1024mib-50000) |
75
- | 2048 | 16,384 | 3.7660 | [`2048mib-16384`](variants/2048mib-16384) |
76
- | 2048 | 32,768 | 4.0438 | [`2048mib-32768`](variants/2048mib-32768) |
77
- | 2048 | 50,000 | 4.1786 | [`2048mib-50000`](variants/2048mib-50000) |
78
 
79
- ## Data and method
 
 
80
 
81
- All 12 pinned source inventories in [recipe.json](recipe.json) were eligible:
82
- FineWeb-Edu 10%, Python code 30%, FineMath 20%, peS2o 10%, PubMed 3%, arXiv 2%,
83
- Pressbooks 3%, LibreTexts 3%, DOAB 4%, Gutenberg 5%, pre-1929 books 7%, and
84
- Library of Congress 3%. Percentages apply to UTF-8 bytes. This uses samples from
85
- all sources, not every record in those datasets. Source revisions and full shard
86
- inventories are pinned in the manifests. Raw source text is not distributed here;
87
- source datasets retain their respective licenses and provenance.
88
 
89
- Fitting uses nested samples, a seeded shard permutation and sequential records,
90
- 64 KiB per document and 256 KiB per parent. Evaluation initially had sparse book
91
- coverage and was rebuilt with a 16 KiB parent cap before interpreting curves;
92
- all unchanged tokenizer weights were rescored. Normalized exact-chunk deduplication
93
- is applied, including fitting/evaluation overlap checks. Byte-level BPE uses the
94
- same fixed pretokenization rules, a full byte alphabet, min frequency 2 and maximum
95
- learned token length 32. No normalization or automatic prefix space is applied.
96
 
97
- ## Limitations and reproducibility
 
 
 
98
 
99
- One sampling seed; no global reservoir sampling, fuzzy deduplication guarantee,
100
- or cross-source parent reconciliation. Bootstrap intervals measure evaluation
101
- uncertainty, not training-seed variance. Compression is not language-model quality.
102
- Compare downstream bits per byte under matched parameter and compute budgets
103
- before selecting a final vocabulary. At width 768, 32K adds 12.58M tied embedding
104
- parameters over 16K; 50K adds 25.82M. Untied input/output matrices double these deltas.
105
 
106
- [Implementation and PR](https://github.com/koogle/lm-exploration/pull/8).
107
- [Publication manifest](publication-manifest.json) pins every tokenizer hash.
108
- The `research/` manifests and measurements record corpus hashes, source coverage,
109
- correctness, resource measurements and original result hashes. Candidate tokenizers
110
- and full parent-level results are also preserved on the original Modal volumes.
 
6
  - tokenizer
7
  - byte-level-bpe
8
  - code
9
+ - tool-calling
 
10
  ---
11
 
12
+ # Code and tool-calling tokenizer
13
 
14
+ The default is **structured-code-v1: 32,768 entries, fitted on approximately 64 MiB**
15
+ on Modal. It was explicitly selected for code and tool-calling workloads.
16
+ This repository contains tokenizer assets, not language-model weights.
 
 
 
 
 
 
 
17
 
18
  ```python
19
  from transformers import AutoTokenizer
20
 
21
  tokenizer = AutoTokenizer.from_pretrained("jfrick/scholarly-code-tokenizer")
22
+ text = '{"name":"read_file","arguments":{"path":"src/main.py"}}'
23
  ids = tokenizer.encode(text, add_special_tokens=False)
24
  assert tokenizer.decode(ids, clean_up_tokenization_spaces=False) == text
25
 
26
+ # The previous balanced default remains available:
27
+ previous = AutoTokenizer.from_pretrained(
28
+ "jfrick/scholarly-code-tokenizer", subfolder="variants/2048mib-32768"
29
  )
30
  ```
31
 
32
+ The default is also available in `variants/structured-code-v1-32768`. All 18 original
33
+ learning-curve variants remain available under their existing names. Pin a commit
34
+ revision when training models; changing a tokenizer requires retokenizing data.
35
+ Old tokenized shards and model checkpoints must not be relabeled with the new IDs.
 
 
 
 
 
36
 
37
+ ## Fitting and measurements
38
 
39
+ The focused fitting mixture is 40% real Python excerpts, 20% JSON, 20% Git diffs and
40
+ 20% tool-call formats by UTF-8 bytes. JSON, diffs and tool formats are generated
41
+ controlled fixtures derived from Python excerpts. Fitting and evaluation source
42
+ parents are disjoint, but generator templates are shared. They are not production
43
+ traces. Source Python comes from the pinned, license-filtered CodeParrot inventory
44
+ in the original [source recipe](recipe.json); raw source text is not distributed.
45
+ Source datasets retain their respective licenses and provenance.
46
 
47
+ Compared with the previous 2 GiB / 32K balanced default, this tokenizer uses 2.81%
48
+ fewer tokens on Python, 8.21% fewer on JSON, 11.83% fewer on Git diffs, and 13.97%
49
+ fewer on tool-format fixtures. It uses **13.99% more tokens on the broader scholarly
50
+ mixture**. This is an explicit specialization trade-off, not a claim of better
51
+ language-model quality or valid tool execution.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
+ [Structured-output report](research/structured-code-v1/REPORT.md) ·
54
+ [PDF](research/structured-code-v1/research-report.pdf) ·
55
+ [Original learning-curve report](research/REPORT.md)
56
 
57
+ The reports preserve their original experimental conclusions; this model card
58
+ records the subsequent user decision to promote the focused tokenizer.
 
 
 
 
 
59
 
60
+ ## Contract and reproducibility
 
 
 
 
 
 
61
 
62
+ Byte-level BPE; full 256-byte alphabet; no normalization, prefix insertion or
63
+ automatic BOS/EOS. PAD=0, BOS=1, EOS=2, UNK=3. Add document boundaries explicitly.
64
+ No model context length is implied. All held-out examples pass exact round-trip
65
+ and zero-UNK checks. JSON validity and tool-call success require model evaluation.
66
 
67
+ Standard loading is verified with `transformers==4.57.6`, `tokenizers==0.22.2`;
68
+ no custom remote code is required. Decode with `skip_special_tokens=False` to
69
+ preserve special literals. The Rust `tokenizers.Tokenizer.from_file` API also works.
 
 
 
70
 
71
+ [Publication manifest](publication-manifest.json) pins all tokenizer hashes.
72
+ The default variant includes its immutable freeze manifest, fitting corpus metadata
73
+ and evaluation metrics. [Implementation PR](https://github.com/koogle/lm-exploration/pull/8).
 
 
local-verification.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "location": "/workspace/scratch/tokenizer-hf-release",
3
  "revision": null,
4
  "status": "passed",
5
- "default_and_variants_checked": 19,
6
  "probes_per_variant": 6,
7
  "checks": [
8
  "artifact_hashes",
 
1
  {
2
+ "location": "/workspace/scratch/tokenizer-hf-focused-release",
3
  "revision": null,
4
  "status": "passed",
5
+ "default_and_variants_checked": 20,
6
  "probes_per_variant": 6,
7
  "checks": [
8
  "artifact_hashes",
publication-manifest.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "default_variant": "2048mib-32768",
3
- "selection": "32K is a practical starting point balancing compression and vocabulary parameter overhead; no downstream optimum has been established.",
4
  "variants": {
5
  "64mib-16384": "97fa4177ad5a038cc18df87a2acb76c3ed3da89a9b7848517442bcbd7029d83d",
6
  "64mib-32768": "cd9109d658834401ef05b4de231cdfd789385bb0d9f294e343e19b447d94b52a",
@@ -19,7 +19,9 @@
19
  "1024mib-50000": "ce5e83a52cab742ea5edc2440c8defd26c946d05ca2f1d3f64ab3dedc26b744d",
20
  "2048mib-16384": "f95ec3899180fd6aef876f92e8fa1e6ec9cd96c180e22b23ead4e88b3b002561",
21
  "2048mib-32768": "6f8742023692929139e450a3a64802e355649742e7051f9d8a6e6db47fbc8e96",
22
- "2048mib-50000": "5e3de8f77cfa5a5820a96bf0205e7cceee7f27c43e16afdc16d452df7a37f724"
 
23
  },
24
- "evaluation_manifest_sha256": "e4e66512ca51226f56844d61a4d0c065064900b6a6d0bd0243e9e64b8698024f"
 
25
  }
 
1
  {
2
+ "default_variant": "structured-code-v1-32768",
3
+ "selection": "User-selected code/tool-call-focused 32K tokenizer. Measured scholarly token-count regression accepted; model-quality improvements not established.",
4
  "variants": {
5
  "64mib-16384": "97fa4177ad5a038cc18df87a2acb76c3ed3da89a9b7848517442bcbd7029d83d",
6
  "64mib-32768": "cd9109d658834401ef05b4de231cdfd789385bb0d9f294e343e19b447d94b52a",
 
19
  "1024mib-50000": "ce5e83a52cab742ea5edc2440c8defd26c946d05ca2f1d3f64ab3dedc26b744d",
20
  "2048mib-16384": "f95ec3899180fd6aef876f92e8fa1e6ec9cd96c180e22b23ead4e88b3b002561",
21
  "2048mib-32768": "6f8742023692929139e450a3a64802e355649742e7051f9d8a6e6db47fbc8e96",
22
+ "2048mib-50000": "5e3de8f77cfa5a5820a96bf0205e7cceee7f27c43e16afdc16d452df7a37f724",
23
+ "structured-code-v1-32768": "add5b2c7542e4efded329735825ecdcb94df1432617c3d3e4b7508aa459432f9"
24
  },
25
+ "evaluation_manifest_sha256": "e4e66512ca51226f56844d61a4d0c065064900b6a6d0bd0243e9e64b8698024f",
26
+ "previous_default_variant": "2048mib-32768"
27
  }
research/structured-code-v1/REPORT.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # JSON, code, Git diff and tool-call tokenizer study
2
+
3
+ ## Overview
4
+
5
+ All 18 original tokenizers and three fresh code-focused tokenizers were scored on Modal. The new fits use approximately 64 MiB each at 16,384, 32,768 and 50,000 vocabulary entries. Existing tokenizers and the published default are unchanged.
6
+
7
+ ## Method
8
+
9
+ - 512 held-out Python parent identifiers, one source excerpt per parent, sampled with seed 20261016 from the prior frozen evaluation. Each supplies four benchmark examples (2,048 total).
10
+ - Python uses real code excerpts. JSON, Git diffs and tool calls are generated controlled fixtures derived from those excerpts. They are not a representative collection of production tool traces.
11
+ - JSON includes nested metadata, booleans/null/numbers, compact/pretty formatting, escaped code and Unicode. Tool formats include schemas, argument objects, JSON-encoded arguments, calls and results.
12
+ - Unified patches include insertions, deletions and identifier replacements. Generated fixture patches pass git apply checks in tests; binary patches, renames and multi-file edits are not covered.
13
+ - The focused fitting mixture is 40% Python, 20% JSON, 20% diffs, 20% tool formats by UTF-8 bytes. Whole examples may slightly exceed each quota. Fitting parents are disjoint from evaluation parents; generator templates are shared.
14
+ - Same byte-level BPE, pretokenization, full byte alphabet, four special tokens, min frequency 2 and maximum learned token length 32 as the original experiment. No 120K experiment.
15
+ - Paired 95% intervals use 1,000 bootstrap samples of source parents. They quantify variation within this fixture set, not production generalization or training-seed variance.
16
+ - Actual fitting bytes: 67,116,295; fitting source parents: 14,911.
17
+ - All 21 structured evaluations passed exact round-trip and zero-UNK checks. The three new fits were also evaluated on the original shared 32 MiB scholarly mixture.
18
+
19
+ ## Focused fits versus matched 64 MiB originals
20
+
21
+ | Vocabulary | Python token savings | JSON | Git diff | Tool call |
22
+ |---:|---:|---:|---:|---:|
23
+ | 16384 | 5.16% | 11.50% | 14.38% | 17.04% |
24
+ | 32768 | 3.72% | 8.84% | 12.52% | 14.70% |
25
+ | 50000 | 2.76% | 7.22% | 7.74% | 13.15% |
26
+
27
+ Positive savings mean fewer tokens; negative values mean more. Comparisons are within each workload, not an aggregate dominated by long code strings.
28
+
29
+ ![Gains](focused-gains.png)
30
+
31
+ ## All 21 candidates
32
+
33
+ ![Curves](structured-curves.png)
34
+
35
+ | Candidate | Python bytes/token | JSON | Git diff | Tool call |
36
+ |---|---:|---:|---:|---:|
37
+ | focused-64mib-16384 | 3.8580 | 3.6581 | 3.3957 | 3.6610 |
38
+ | focused-64mib-32768 | 4.0817 | 3.8494 | 3.5404 | 3.8366 |
39
+ | focused-64mib-50000 | 4.1800 | 3.9329 | 3.6137 | 3.9169 |
40
+ | original-64mib-16384 | 3.6588 | 3.2375 | 2.9073 | 3.0371 |
41
+ | original-64mib-32768 | 3.9300 | 3.5093 | 3.0970 | 3.2725 |
42
+ | original-64mib-50000 | 4.0644 | 3.6491 | 3.3339 | 3.4020 |
43
+ | original-128mib-16384 | 3.6701 | 3.2780 | 2.9325 | 3.0461 |
44
+ | original-128mib-32768 | 3.9446 | 3.5153 | 3.1085 | 3.2862 |
45
+ | original-128mib-50000 | 4.0822 | 3.6533 | 3.3384 | 3.3995 |
46
+ | original-256mib-16384 | 3.6757 | 3.2855 | 2.9116 | 3.0472 |
47
+ | original-256mib-32768 | 3.9539 | 3.5274 | 3.1219 | 3.2930 |
48
+ | original-256mib-50000 | 4.0939 | 3.6599 | 3.3433 | 3.4107 |
49
+ | original-512mib-16384 | 3.6794 | 3.2926 | 2.9111 | 3.0234 |
50
+ | original-512mib-32768 | 3.9614 | 3.5260 | 3.2274 | 3.3029 |
51
+ | original-512mib-50000 | 4.1036 | 3.6648 | 3.3536 | 3.4177 |
52
+ | original-1024mib-16384 | 3.6838 | 3.2938 | 2.9131 | 3.0432 |
53
+ | original-1024mib-32768 | 3.9681 | 3.5338 | 3.2407 | 3.3068 |
54
+ | original-1024mib-50000 | 4.1099 | 3.6733 | 3.3565 | 3.4321 |
55
+ | original-2048mib-16384 | 3.6823 | 3.2906 | 2.9141 | 3.0471 |
56
+ | original-2048mib-32768 | 3.9672 | 3.5332 | 3.1214 | 3.3007 |
57
+ | original-2048mib-50000 | 4.1117 | 3.6512 | 3.3561 | 3.4196 |
58
+
59
+ ## General-text regression check
60
+
61
+ ![General regression](general-regression.png)
62
+
63
+ | Vocabulary | New bytes/token | Extra tokens vs original 64 MiB | Extra tokens vs original 2 GiB |
64
+ |---:|---:|---:|---:|
65
+ | 16384 | 3.2895 | 13.88% | 14.48% |
66
+ | 32768 | 3.5474 | 13.07% | 13.99% |
67
+ | 50000 | 3.6963 | 11.98% | 13.05% |
68
+
69
+ ## Tool-format breakdown: focused 32K vs published 2 GiB / 32K
70
+
71
+ Long code-bearing tool results dominate aggregate bytes. This separate breakdown checks the smaller calls and schemas as well.
72
+
73
+ | Format | Examples | Original mean tokens | Focused mean tokens | Token savings |
74
+ |---|---:|---:|---:|---:|
75
+ | read_file_call | 138 | 61.18 | 51.86 | 15.23% |
76
+ | apply_patch_call | 120 | 307.64 | 257.26 | 16.38% |
77
+ | tool_result | 134 | 1748.65 | 1520.01 | 13.08% |
78
+ | schema_and_search_call | 120 | 107.39 | 83.28 | 22.45% |
79
+
80
+ ## Interpretation and limits
81
+
82
+ At 32K, the focused fit saves 14.70% of tokens on tool fixtures versus the matched 64 MiB original, but costs 13.07% extra tokens on the general mixture. Against the published 2 GiB / 32K default, tool-fixture savings are 13.97% and the general-mixture cost is 13.99%. A structured-output slice in a balanced mixture is a more promising next experiment than wholesale replacement with this code-only mixture. This is a controlled specialization experiment. Better encoding of generated tool formats does not demonstrate valid tool selection, schema adherence, applicable generated patches or functional code. Repeated shared schema/template structure can favor the focused candidates. Confirm findings with independent real tool traces before promoting a tokenizer or changing the model-training mixture.
83
+
84
+ The original 32K tokenizer remains the default. Treat the new fits as research candidates; their general-text regressions and practical model-level results must inform any replacement.
85
+
86
+ ## Evidence
87
+
88
+ `measurements.json` includes byte/token counts, mean and p95 tokens per example, exact round-trip/UNK checks and fixed-fragment token counts. `paired-comparisons.json` retains both matched-64-MiB and original-2-GiB contrasts with intervals. Corpus, source files and tokenizers are hashed. Full per-parent measurements and new tokenizer artifacts remain on Modal under `tokenizer-research/structured-code-v1/`. The local report regenerates from `runs/structured-code-v1/scores.json`.
89
+
90
+ Run: `modal run --detach modal_structured_tokenizer.py`, then `python structured_tokenizer_report.py`. A fresh corpus version is required for a rerun; existing artifact paths refuse overwrite. Resource bounds and actual test outcomes are in `execution.json`.
research/structured-code-v1/corpus-manifest.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 20261016,
3
+ "target_bytes": 67108864,
4
+ "weights_percent": {
5
+ "python": 40,
6
+ "json": 20,
7
+ "git_diff": 20,
8
+ "tool_call": 20
9
+ },
10
+ "actual_bytes": {
11
+ "python": 26847131,
12
+ "json": 13424847,
13
+ "git_diff": 13421882,
14
+ "tool_call": 13422435
15
+ },
16
+ "training_examples": {
17
+ "python": 5059,
18
+ "json": 2290,
19
+ "git_diff": 33758,
20
+ "tool_call": 6555
21
+ },
22
+ "fitting_parents": 14911,
23
+ "evaluation_parents_per_category": 512,
24
+ "train_sha256": "cdc34355495f1c21bba4742ac11e9bcc0a0d0df836ab49eed9a1e01f97ab9a09",
25
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
26
+ "source_train_sha256": "5e1c04e310375d9922e008142e7d9813f56e541918b729dd7764eaec3ffbadea",
27
+ "source_validation_sha256": "611010954c9c48ccad9b9a28f7377d56ab180373b5e7eb76fe87ab723b2b8040",
28
+ "implementation_sha256": "cd1f6e5351aad5acce1a1021af649c4dd8a099c2b0d506e7cc67cd5aee230163",
29
+ "limitations": [
30
+ "Python excerpts from the existing pinned codeparrot corpus, not necessarily complete parseable files",
31
+ "JSON, tool calls and patches are generated controlled fixtures, not independent production traces",
32
+ "Fitting/evaluation parents are disjoint; generator templates are shared",
33
+ "Each category quota includes its final whole example, so 64 MiB is approximate",
34
+ "Unified diffs cover insertions, deletions and identifier replacements, but not binary patches or renames",
35
+ "One fitting seed; no model-level tool-call or code-generation correctness measured"
36
+ ]
37
+ }
research/structured-code-v1/execution.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "execution": "modal-cpu",
3
+ "remote_tests_passed": 2,
4
+ "candidates_scored": 21,
5
+ "focused_fits": 3,
6
+ "correctness_passed": true,
7
+ "prepare": {
8
+ "cpu": 4,
9
+ "memory_mib": 8192,
10
+ "timeout_seconds": 1800
11
+ },
12
+ "fit": {
13
+ "cpu": 4,
14
+ "memory_mib": 8192,
15
+ "timeout_seconds": 1800,
16
+ "max_concurrency": 3
17
+ },
18
+ "score": {
19
+ "cpu": 2,
20
+ "memory_mib": 4096,
21
+ "timeout_seconds": 1200,
22
+ "max_concurrency": 3
23
+ },
24
+ "resource_settings": "CPU/memory requests and hard caps",
25
+ "modal_app_url": "https://modal.com/apps/radiantai/main/ap-g5niWKfDfEsYHQ1NEra6Ao",
26
+ "local_tests_passed": 4,
27
+ "tokenizers_version": "0.22.2",
28
+ "generator_implementation_sha256": "cd1f6e5351aad5acce1a1021af649c4dd8a099c2b0d506e7cc67cd5aee230163",
29
+ "tokenizer_core_sha256": "5d992fec42941a33951b22ffb7468ae58811f6de79364cd9f5bcfd714ee772aa",
30
+ "tokenizer_config_sha256": "78620acfac5a23364592a2216d4048828b5d416e43baef5762f09930ac3f98f4",
31
+ "general_evaluation_correctness_passed": true
32
+ }
research/structured-code-v1/focused-fits.json ADDED
@@ -0,0 +1,539 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "vocab": 16384,
4
+ "training_seconds": 9.156001359,
5
+ "tokenizer_sha256": "e63d7d483dde1aa536251a2342d6809ff6d327bf958304ead50fd817e72081d5",
6
+ "corpus_manifest_sha256": "a4328e99a51bee64daaee66efe25e80ce01a263d568a69a130b94f687edef407",
7
+ "execution": "modal-cpu",
8
+ "general_metrics": {
9
+ "sources": {
10
+ "fineweb_edu": {
11
+ "bytes": 3355444,
12
+ "tokens": 1020901,
13
+ "chunks": 927,
14
+ "roundtrip_failures": 0,
15
+ "unk_tokens": 0,
16
+ "bytes_per_token": 3.286747686602325,
17
+ "chunk_tokens_p95": 2532
18
+ },
19
+ "code_python": {
20
+ "bytes": 10066330,
21
+ "tokens": 2609022,
22
+ "chunks": 2092,
23
+ "roundtrip_failures": 0,
24
+ "unk_tokens": 0,
25
+ "bytes_per_token": 3.8582771628602597,
26
+ "chunk_tokens_p95": 2427
27
+ },
28
+ "finemath_4plus": {
29
+ "bytes": 6710887,
30
+ "tokens": 2335747,
31
+ "chunks": 1789,
32
+ "roundtrip_failures": 0,
33
+ "unk_tokens": 0,
34
+ "bytes_per_token": 2.8731223886833632,
35
+ "chunk_tokens_p95": 3059
36
+ },
37
+ "pes2o": {
38
+ "bytes": 3355444,
39
+ "tokens": 1011474,
40
+ "chunks": 422,
41
+ "roundtrip_failures": 0,
42
+ "unk_tokens": 0,
43
+ "bytes_per_token": 3.317380377548014,
44
+ "chunk_tokens_p95": 2800
45
+ },
46
+ "pubmed": {
47
+ "bytes": 1006633,
48
+ "tokens": 337939,
49
+ "chunks": 128,
50
+ "roundtrip_failures": 0,
51
+ "unk_tokens": 0,
52
+ "bytes_per_token": 2.978741725577693,
53
+ "chunk_tokens_p95": 3348
54
+ },
55
+ "arxiv": {
56
+ "bytes": 671089,
57
+ "tokens": 231007,
58
+ "chunks": 83,
59
+ "roundtrip_failures": 0,
60
+ "unk_tokens": 0,
61
+ "bytes_per_token": 2.905059154051609,
62
+ "chunk_tokens_p95": 3729
63
+ },
64
+ "pressbooks": {
65
+ "bytes": 1006633,
66
+ "tokens": 298450,
67
+ "chunks": 359,
68
+ "roundtrip_failures": 0,
69
+ "unk_tokens": 0,
70
+ "bytes_per_token": 3.3728698274417828,
71
+ "chunk_tokens_p95": 2266
72
+ },
73
+ "libretexts": {
74
+ "bytes": 1006632,
75
+ "tokens": 302996,
76
+ "chunks": 285,
77
+ "roundtrip_failures": 0,
78
+ "unk_tokens": 0,
79
+ "bytes_per_token": 3.3222616800221787,
80
+ "chunk_tokens_p95": 2508
81
+ },
82
+ "doab": {
83
+ "bytes": 1342177,
84
+ "tokens": 421327,
85
+ "chunks": 315,
86
+ "roundtrip_failures": 0,
87
+ "unk_tokens": 0,
88
+ "bytes_per_token": 3.1855945619435735,
89
+ "chunk_tokens_p95": 2817
90
+ },
91
+ "gutenberg": {
92
+ "bytes": 1677721,
93
+ "tokens": 561130,
94
+ "chunks": 210,
95
+ "roundtrip_failures": 0,
96
+ "unk_tokens": 0,
97
+ "bytes_per_token": 2.989897171778376,
98
+ "chunk_tokens_p95": 3154
99
+ },
100
+ "pre_1929_books": {
101
+ "bytes": 2348810,
102
+ "tokens": 743797,
103
+ "chunks": 291,
104
+ "roundtrip_failures": 0,
105
+ "unk_tokens": 0,
106
+ "bytes_per_token": 3.157864309751182,
107
+ "chunk_tokens_p95": 2958
108
+ },
109
+ "library_of_congress": {
110
+ "bytes": 1006632,
111
+ "tokens": 326527,
112
+ "chunks": 127,
113
+ "roundtrip_failures": 0,
114
+ "unk_tokens": 0,
115
+ "bytes_per_token": 3.0828446039684314,
116
+ "chunk_tokens_p95": 3107
117
+ }
118
+ },
119
+ "bytes": 33554432,
120
+ "tokens": 10200317,
121
+ "bytes_per_token": 3.2895479620878447,
122
+ "evaluation_seconds": 17.576802950999998,
123
+ "evaluation_mib_per_second": 1.8205813701848108,
124
+ "vocabulary_used": 15530,
125
+ "vocabulary_use_fraction": 0.9478759765625,
126
+ "vocabulary_unseen": 854,
127
+ "vocabulary_used_at_most_10_times": 1325,
128
+ "roundtrip_failures": 0,
129
+ "unk_tokens": 0,
130
+ "probes": [
131
+ {
132
+ "text": "def square(x):\r\n\treturn x ** 2\r\n",
133
+ "tokens": 10,
134
+ "roundtrip": true
135
+ },
136
+ {
137
+ "text": "\u222b\u2080\u00b9 x\u00b2 dx = \u2153",
138
+ "tokens": 17,
139
+ "roundtrip": true
140
+ },
141
+ {
142
+ "text": "12345678901234567890",
143
+ "tokens": 7,
144
+ "roundtrip": true
145
+ },
146
+ {
147
+ "text": "na\u00efve caf\u00e9 \u4e2d\u6587 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \ud83d\ude00",
148
+ "tokens": 31,
149
+ "roundtrip": true
150
+ },
151
+ {
152
+ "text": "\u0000\t \r\n",
153
+ "tokens": 3,
154
+ "roundtrip": true
155
+ },
156
+ {
157
+ "text": "HTTPRequestHandler snake_case_identifier",
158
+ "tokens": 6,
159
+ "roundtrip": true
160
+ },
161
+ {
162
+ "text": "e\u0301 \u2260 \u00e9",
163
+ "tokens": 9,
164
+ "roundtrip": true
165
+ }
166
+ ],
167
+ "fragmentation": {
168
+ "electromagnetism": 6,
169
+ "deoxyribonucleic": 9,
170
+ "Schr\u00f6dinger": 6,
171
+ "HTTPRequestHandler": 2,
172
+ "get_user_configuration": 3,
173
+ "np.linalg.eigh": 4,
174
+ "123456789": 3,
175
+ "0.000001": 4,
176
+ "\\frac{a}{b}": 7
177
+ }
178
+ },
179
+ "general_evaluation_sha256": "e4e66512ca51226f56844d61a4d0c065064900b6a6d0bd0243e9e64b8698024f"
180
+ },
181
+ {
182
+ "vocab": 32768,
183
+ "training_seconds": 11.375954247,
184
+ "tokenizer_sha256": "add5b2c7542e4efded329735825ecdcb94df1432617c3d3e4b7508aa459432f9",
185
+ "corpus_manifest_sha256": "a4328e99a51bee64daaee66efe25e80ce01a263d568a69a130b94f687edef407",
186
+ "execution": "modal-cpu",
187
+ "general_metrics": {
188
+ "sources": {
189
+ "fineweb_edu": {
190
+ "bytes": 3355444,
191
+ "tokens": 936322,
192
+ "chunks": 927,
193
+ "roundtrip_failures": 0,
194
+ "unk_tokens": 0,
195
+ "bytes_per_token": 3.583643233844767,
196
+ "chunk_tokens_p95": 2327
197
+ },
198
+ "code_python": {
199
+ "bytes": 10066330,
200
+ "tokens": 2469754,
201
+ "chunks": 2092,
202
+ "roundtrip_failures": 0,
203
+ "unk_tokens": 0,
204
+ "bytes_per_token": 4.075843181142737,
205
+ "chunk_tokens_p95": 2286
206
+ },
207
+ "finemath_4plus": {
208
+ "bytes": 6710887,
209
+ "tokens": 2164157,
210
+ "chunks": 1789,
211
+ "roundtrip_failures": 0,
212
+ "unk_tokens": 0,
213
+ "bytes_per_token": 3.10092428599219,
214
+ "chunk_tokens_p95": 2854
215
+ },
216
+ "pes2o": {
217
+ "bytes": 3355444,
218
+ "tokens": 923008,
219
+ "chunks": 422,
220
+ "roundtrip_failures": 0,
221
+ "unk_tokens": 0,
222
+ "bytes_per_token": 3.635335771737623,
223
+ "chunk_tokens_p95": 2595
224
+ },
225
+ "pubmed": {
226
+ "bytes": 1006633,
227
+ "tokens": 311772,
228
+ "chunks": 128,
229
+ "roundtrip_failures": 0,
230
+ "unk_tokens": 0,
231
+ "bytes_per_token": 3.2287472896860527,
232
+ "chunk_tokens_p95": 3130
233
+ },
234
+ "arxiv": {
235
+ "bytes": 671089,
236
+ "tokens": 210824,
237
+ "chunks": 83,
238
+ "roundtrip_failures": 0,
239
+ "unk_tokens": 0,
240
+ "bytes_per_token": 3.1831717451523547,
241
+ "chunk_tokens_p95": 3373
242
+ },
243
+ "pressbooks": {
244
+ "bytes": 1006633,
245
+ "tokens": 272469,
246
+ "chunks": 359,
247
+ "roundtrip_failures": 0,
248
+ "unk_tokens": 0,
249
+ "bytes_per_token": 3.694486345235605,
250
+ "chunk_tokens_p95": 2091
251
+ },
252
+ "libretexts": {
253
+ "bytes": 1006632,
254
+ "tokens": 278042,
255
+ "chunks": 285,
256
+ "roundtrip_failures": 0,
257
+ "unk_tokens": 0,
258
+ "bytes_per_token": 3.620431445608937,
259
+ "chunk_tokens_p95": 2344
260
+ },
261
+ "doab": {
262
+ "bytes": 1342177,
263
+ "tokens": 383761,
264
+ "chunks": 315,
265
+ "roundtrip_failures": 0,
266
+ "unk_tokens": 0,
267
+ "bytes_per_token": 3.49742938964616,
268
+ "chunk_tokens_p95": 2570
269
+ },
270
+ "gutenberg": {
271
+ "bytes": 1677721,
272
+ "tokens": 520584,
273
+ "chunks": 210,
274
+ "roundtrip_failures": 0,
275
+ "unk_tokens": 0,
276
+ "bytes_per_token": 3.2227671230771593,
277
+ "chunk_tokens_p95": 2958
278
+ },
279
+ "pre_1929_books": {
280
+ "bytes": 2348810,
281
+ "tokens": 686411,
282
+ "chunks": 291,
283
+ "roundtrip_failures": 0,
284
+ "unk_tokens": 0,
285
+ "bytes_per_token": 3.4218711529972565,
286
+ "chunk_tokens_p95": 2744
287
+ },
288
+ "library_of_congress": {
289
+ "bytes": 1006632,
290
+ "tokens": 301653,
291
+ "chunks": 127,
292
+ "roundtrip_failures": 0,
293
+ "unk_tokens": 0,
294
+ "bytes_per_token": 3.337052838857893,
295
+ "chunk_tokens_p95": 2890
296
+ }
297
+ },
298
+ "bytes": 33554432,
299
+ "tokens": 9458757,
300
+ "bytes_per_token": 3.5474462447867094,
301
+ "evaluation_seconds": 22.144963078000004,
302
+ "evaluation_mib_per_second": 1.4450238588020279,
303
+ "vocabulary_used": 28593,
304
+ "vocabulary_use_fraction": 0.872589111328125,
305
+ "vocabulary_unseen": 4175,
306
+ "vocabulary_used_at_most_10_times": 6736,
307
+ "roundtrip_failures": 0,
308
+ "unk_tokens": 0,
309
+ "probes": [
310
+ {
311
+ "text": "def square(x):\r\n\treturn x ** 2\r\n",
312
+ "tokens": 10,
313
+ "roundtrip": true
314
+ },
315
+ {
316
+ "text": "\u222b\u2080\u00b9 x\u00b2 dx = \u2153",
317
+ "tokens": 17,
318
+ "roundtrip": true
319
+ },
320
+ {
321
+ "text": "12345678901234567890",
322
+ "tokens": 7,
323
+ "roundtrip": true
324
+ },
325
+ {
326
+ "text": "na\u00efve caf\u00e9 \u4e2d\u6587 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \ud83d\ude00",
327
+ "tokens": 30,
328
+ "roundtrip": true
329
+ },
330
+ {
331
+ "text": "\u0000\t \r\n",
332
+ "tokens": 3,
333
+ "roundtrip": true
334
+ },
335
+ {
336
+ "text": "HTTPRequestHandler snake_case_identifier",
337
+ "tokens": 4,
338
+ "roundtrip": true
339
+ },
340
+ {
341
+ "text": "e\u0301 \u2260 \u00e9",
342
+ "tokens": 8,
343
+ "roundtrip": true
344
+ }
345
+ ],
346
+ "fragmentation": {
347
+ "electromagnetism": 6,
348
+ "deoxyribonucleic": 8,
349
+ "Schr\u00f6dinger": 5,
350
+ "HTTPRequestHandler": 1,
351
+ "get_user_configuration": 3,
352
+ "np.linalg.eigh": 4,
353
+ "123456789": 3,
354
+ "0.000001": 4,
355
+ "\\frac{a}{b}": 7
356
+ }
357
+ },
358
+ "general_evaluation_sha256": "e4e66512ca51226f56844d61a4d0c065064900b6a6d0bd0243e9e64b8698024f"
359
+ },
360
+ {
361
+ "vocab": 50000,
362
+ "training_seconds": 9.773740467,
363
+ "tokenizer_sha256": "ce4bf31da579b5be65d25bea6670d071cdbbf2ef95a22ec26807cd8fc997660c",
364
+ "corpus_manifest_sha256": "a4328e99a51bee64daaee66efe25e80ce01a263d568a69a130b94f687edef407",
365
+ "execution": "modal-cpu",
366
+ "general_metrics": {
367
+ "sources": {
368
+ "fineweb_edu": {
369
+ "bytes": 3355444,
370
+ "tokens": 887035,
371
+ "chunks": 927,
372
+ "roundtrip_failures": 0,
373
+ "unk_tokens": 0,
374
+ "bytes_per_token": 3.782763927015281,
375
+ "chunk_tokens_p95": 2216
376
+ },
377
+ "code_python": {
378
+ "bytes": 10066330,
379
+ "tokens": 2411019,
380
+ "chunks": 2092,
381
+ "roundtrip_failures": 0,
382
+ "unk_tokens": 0,
383
+ "bytes_per_token": 4.175135077740988,
384
+ "chunk_tokens_p95": 2224
385
+ },
386
+ "finemath_4plus": {
387
+ "bytes": 6710887,
388
+ "tokens": 2067410,
389
+ "chunks": 1789,
390
+ "roundtrip_failures": 0,
391
+ "unk_tokens": 0,
392
+ "bytes_per_token": 3.2460358612950504,
393
+ "chunk_tokens_p95": 2725
394
+ },
395
+ "pes2o": {
396
+ "bytes": 3355444,
397
+ "tokens": 880780,
398
+ "chunks": 422,
399
+ "roundtrip_failures": 0,
400
+ "unk_tokens": 0,
401
+ "bytes_per_token": 3.8096278298780626,
402
+ "chunk_tokens_p95": 2488
403
+ },
404
+ "pubmed": {
405
+ "bytes": 1006633,
406
+ "tokens": 298208,
407
+ "chunks": 128,
408
+ "roundtrip_failures": 0,
409
+ "unk_tokens": 0,
410
+ "bytes_per_token": 3.3756069589011695,
411
+ "chunk_tokens_p95": 3008
412
+ },
413
+ "arxiv": {
414
+ "bytes": 671089,
415
+ "tokens": 201611,
416
+ "chunks": 83,
417
+ "roundtrip_failures": 0,
418
+ "unk_tokens": 0,
419
+ "bytes_per_token": 3.32863286229422,
420
+ "chunk_tokens_p95": 3256
421
+ },
422
+ "pressbooks": {
423
+ "bytes": 1006633,
424
+ "tokens": 258196,
425
+ "chunks": 359,
426
+ "roundtrip_failures": 0,
427
+ "unk_tokens": 0,
428
+ "bytes_per_token": 3.8987164789539728,
429
+ "chunk_tokens_p95": 1950
430
+ },
431
+ "libretexts": {
432
+ "bytes": 1006632,
433
+ "tokens": 265207,
434
+ "chunks": 285,
435
+ "roundtrip_failures": 0,
436
+ "unk_tokens": 0,
437
+ "bytes_per_token": 3.7956464195892266,
438
+ "chunk_tokens_p95": 2232
439
+ },
440
+ "doab": {
441
+ "bytes": 1342177,
442
+ "tokens": 364241,
443
+ "chunks": 315,
444
+ "roundtrip_failures": 0,
445
+ "unk_tokens": 0,
446
+ "bytes_per_token": 3.6848597494515993,
447
+ "chunk_tokens_p95": 2448
448
+ },
449
+ "gutenberg": {
450
+ "bytes": 1677721,
451
+ "tokens": 497991,
452
+ "chunks": 210,
453
+ "roundtrip_failures": 0,
454
+ "unk_tokens": 0,
455
+ "bytes_per_token": 3.3689785558373546,
456
+ "chunk_tokens_p95": 2852
457
+ },
458
+ "pre_1929_books": {
459
+ "bytes": 2348810,
460
+ "tokens": 657482,
461
+ "chunks": 291,
462
+ "roundtrip_failures": 0,
463
+ "unk_tokens": 0,
464
+ "bytes_per_token": 3.5724324011912114,
465
+ "chunk_tokens_p95": 2649
466
+ },
467
+ "library_of_congress": {
468
+ "bytes": 1006632,
469
+ "tokens": 288605,
470
+ "chunks": 127,
471
+ "roundtrip_failures": 0,
472
+ "unk_tokens": 0,
473
+ "bytes_per_token": 3.4879229396580103,
474
+ "chunk_tokens_p95": 2684
475
+ }
476
+ },
477
+ "bytes": 33554432,
478
+ "tokens": 9077785,
479
+ "bytes_per_token": 3.6963237177351083,
480
+ "evaluation_seconds": 21.129434848000002,
481
+ "evaluation_mib_per_second": 1.5144749601776002,
482
+ "vocabulary_used": 39147,
483
+ "vocabulary_use_fraction": 0.78294,
484
+ "vocabulary_unseen": 10853,
485
+ "vocabulary_used_at_most_10_times": 13602,
486
+ "roundtrip_failures": 0,
487
+ "unk_tokens": 0,
488
+ "probes": [
489
+ {
490
+ "text": "def square(x):\r\n\treturn x ** 2\r\n",
491
+ "tokens": 10,
492
+ "roundtrip": true
493
+ },
494
+ {
495
+ "text": "\u222b\u2080\u00b9 x\u00b2 dx = \u2153",
496
+ "tokens": 17,
497
+ "roundtrip": true
498
+ },
499
+ {
500
+ "text": "12345678901234567890",
501
+ "tokens": 7,
502
+ "roundtrip": true
503
+ },
504
+ {
505
+ "text": "na\u00efve caf\u00e9 \u4e2d\u6587 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \ud83d\ude00",
506
+ "tokens": 30,
507
+ "roundtrip": true
508
+ },
509
+ {
510
+ "text": "\u0000\t \r\n",
511
+ "tokens": 3,
512
+ "roundtrip": true
513
+ },
514
+ {
515
+ "text": "HTTPRequestHandler snake_case_identifier",
516
+ "tokens": 4,
517
+ "roundtrip": true
518
+ },
519
+ {
520
+ "text": "e\u0301 \u2260 \u00e9",
521
+ "tokens": 8,
522
+ "roundtrip": true
523
+ }
524
+ ],
525
+ "fragmentation": {
526
+ "electromagnetism": 6,
527
+ "deoxyribonucleic": 8,
528
+ "Schr\u00f6dinger": 5,
529
+ "HTTPRequestHandler": 1,
530
+ "get_user_configuration": 3,
531
+ "np.linalg.eigh": 4,
532
+ "123456789": 3,
533
+ "0.000001": 4,
534
+ "\\frac{a}{b}": 7
535
+ }
536
+ },
537
+ "general_evaluation_sha256": "e4e66512ca51226f56844d61a4d0c065064900b6a6d0bd0243e9e64b8698024f"
538
+ }
539
+ ]
research/structured-code-v1/focused-gains.png ADDED
research/structured-code-v1/focused-gains.svg ADDED
research/structured-code-v1/general-regression.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "vocab": 16384,
4
+ "baseline_size_mib": 64,
5
+ "token_change_percent": 13.8842083685768,
6
+ "bytes_per_token": 3.2895479620878447
7
+ },
8
+ {
9
+ "vocab": 16384,
10
+ "baseline_size_mib": 2048,
11
+ "token_change_percent": 14.48309849875795,
12
+ "bytes_per_token": 3.2895479620878447
13
+ },
14
+ {
15
+ "vocab": 32768,
16
+ "baseline_size_mib": 64,
17
+ "token_change_percent": 13.066679257845637,
18
+ "bytes_per_token": 3.5474462447867094
19
+ },
20
+ {
21
+ "vocab": 32768,
22
+ "baseline_size_mib": 2048,
23
+ "token_change_percent": 13.9913345559888,
24
+ "bytes_per_token": 3.5474462447867094
25
+ },
26
+ {
27
+ "vocab": 50000,
28
+ "baseline_size_mib": 64,
29
+ "token_change_percent": 11.982248703193132,
30
+ "bytes_per_token": 3.6963237177351083
31
+ },
32
+ {
33
+ "vocab": 50000,
34
+ "baseline_size_mib": 2048,
35
+ "token_change_percent": 13.048704871757423,
36
+ "bytes_per_token": 3.6963237177351083
37
+ }
38
+ ]
research/structured-code-v1/general-regression.png ADDED
research/structured-code-v1/general-regression.svg ADDED
research/structured-code-v1/measurements.json ADDED
@@ -0,0 +1,1241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "focused-64mib-16384",
4
+ "vocab": 16384,
5
+ "execution": "modal-cpu",
6
+ "tokenizer_sha256": "e63d7d483dde1aa536251a2342d6809ff6d327bf958304ead50fd817e72081d5",
7
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
8
+ "metrics": {
9
+ "python": {
10
+ "bytes": 2513044,
11
+ "tokens": 651392,
12
+ "examples": 512,
13
+ "roundtrip_failures": 0,
14
+ "unk_tokens": 0,
15
+ "bytes_per_token": 3.8579595696600513,
16
+ "mean_tokens_per_example": 1272.25,
17
+ "p95_tokens_per_example": 2339
18
+ },
19
+ "json": {
20
+ "bytes": 2782302,
21
+ "tokens": 760588,
22
+ "examples": 512,
23
+ "roundtrip_failures": 0,
24
+ "unk_tokens": 0,
25
+ "bytes_per_token": 3.6580934750482523,
26
+ "mean_tokens_per_example": 1485.5234375,
27
+ "p95_tokens_per_example": 2608
28
+ },
29
+ "git_diff": {
30
+ "bytes": 187152,
31
+ "tokens": 55115,
32
+ "examples": 512,
33
+ "roundtrip_failures": 0,
34
+ "unk_tokens": 0,
35
+ "bytes_per_token": 3.3956636124467026,
36
+ "mean_tokens_per_example": 107.646484375,
37
+ "p95_tokens_per_example": 255
38
+ },
39
+ "tool_call": {
40
+ "bytes": 965682,
41
+ "tokens": 263776,
42
+ "examples": 512,
43
+ "roundtrip_failures": 0,
44
+ "unk_tokens": 0,
45
+ "bytes_per_token": 3.6609926604391605,
46
+ "mean_tokens_per_example": 515.1875,
47
+ "p95_tokens_per_example": 2443
48
+ }
49
+ },
50
+ "fragmentation": {
51
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 14,
52
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 26,
53
+ "get_user_configuration": 3,
54
+ "\"additionalProperties\":false": 4,
55
+ "\"tool_call_id\":\"call_0123456789\"": 12
56
+ },
57
+ "correctness_passed": true,
58
+ "family": "focused",
59
+ "size_mib": 64
60
+ },
61
+ {
62
+ "name": "focused-64mib-32768",
63
+ "vocab": 32768,
64
+ "execution": "modal-cpu",
65
+ "tokenizer_sha256": "add5b2c7542e4efded329735825ecdcb94df1432617c3d3e4b7508aa459432f9",
66
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
67
+ "metrics": {
68
+ "python": {
69
+ "bytes": 2513044,
70
+ "tokens": 615688,
71
+ "examples": 512,
72
+ "roundtrip_failures": 0,
73
+ "unk_tokens": 0,
74
+ "bytes_per_token": 4.08168422967477,
75
+ "mean_tokens_per_example": 1202.515625,
76
+ "p95_tokens_per_example": 2184
77
+ },
78
+ "json": {
79
+ "bytes": 2782302,
80
+ "tokens": 722785,
81
+ "examples": 512,
82
+ "roundtrip_failures": 0,
83
+ "unk_tokens": 0,
84
+ "bytes_per_token": 3.849418568453966,
85
+ "mean_tokens_per_example": 1411.689453125,
86
+ "p95_tokens_per_example": 2514
87
+ },
88
+ "git_diff": {
89
+ "bytes": 187152,
90
+ "tokens": 52862,
91
+ "examples": 512,
92
+ "roundtrip_failures": 0,
93
+ "unk_tokens": 0,
94
+ "bytes_per_token": 3.5403881805455715,
95
+ "mean_tokens_per_example": 103.24609375,
96
+ "p95_tokens_per_example": 249
97
+ },
98
+ "tool_call": {
99
+ "bytes": 965682,
100
+ "tokens": 251703,
101
+ "examples": 512,
102
+ "roundtrip_failures": 0,
103
+ "unk_tokens": 0,
104
+ "bytes_per_token": 3.8365931276146887,
105
+ "mean_tokens_per_example": 491.607421875,
106
+ "p95_tokens_per_example": 2304
107
+ }
108
+ },
109
+ "fragmentation": {
110
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 14,
111
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 25,
112
+ "get_user_configuration": 3,
113
+ "\"additionalProperties\":false": 4,
114
+ "\"tool_call_id\":\"call_0123456789\"": 12
115
+ },
116
+ "correctness_passed": true,
117
+ "family": "focused",
118
+ "size_mib": 64
119
+ },
120
+ {
121
+ "name": "focused-64mib-50000",
122
+ "vocab": 50000,
123
+ "execution": "modal-cpu",
124
+ "tokenizer_sha256": "ce4bf31da579b5be65d25bea6670d071cdbbf2ef95a22ec26807cd8fc997660c",
125
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
126
+ "metrics": {
127
+ "python": {
128
+ "bytes": 2513044,
129
+ "tokens": 601208,
130
+ "examples": 512,
131
+ "roundtrip_failures": 0,
132
+ "unk_tokens": 0,
133
+ "bytes_per_token": 4.179990951550877,
134
+ "mean_tokens_per_example": 1174.234375,
135
+ "p95_tokens_per_example": 2144
136
+ },
137
+ "json": {
138
+ "bytes": 2782302,
139
+ "tokens": 707451,
140
+ "examples": 512,
141
+ "roundtrip_failures": 0,
142
+ "unk_tokens": 0,
143
+ "bytes_per_token": 3.932854713612674,
144
+ "mean_tokens_per_example": 1381.740234375,
145
+ "p95_tokens_per_example": 2419
146
+ },
147
+ "git_diff": {
148
+ "bytes": 187152,
149
+ "tokens": 51789,
150
+ "examples": 512,
151
+ "roundtrip_failures": 0,
152
+ "unk_tokens": 0,
153
+ "bytes_per_token": 3.613740369576551,
154
+ "mean_tokens_per_example": 101.150390625,
155
+ "p95_tokens_per_example": 237
156
+ },
157
+ "tool_call": {
158
+ "bytes": 965682,
159
+ "tokens": 246543,
160
+ "examples": 512,
161
+ "roundtrip_failures": 0,
162
+ "unk_tokens": 0,
163
+ "bytes_per_token": 3.916890765505409,
164
+ "mean_tokens_per_example": 481.529296875,
165
+ "p95_tokens_per_example": 2267
166
+ }
167
+ },
168
+ "fragmentation": {
169
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 14,
170
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 25,
171
+ "get_user_configuration": 3,
172
+ "\"additionalProperties\":false": 4,
173
+ "\"tool_call_id\":\"call_0123456789\"": 12
174
+ },
175
+ "correctness_passed": true,
176
+ "family": "focused",
177
+ "size_mib": 64
178
+ },
179
+ {
180
+ "name": "original-64mib-16384",
181
+ "vocab": 16384,
182
+ "execution": "modal-cpu",
183
+ "tokenizer_sha256": "97fa4177ad5a038cc18df87a2acb76c3ed3da89a9b7848517442bcbd7029d83d",
184
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
185
+ "metrics": {
186
+ "python": {
187
+ "bytes": 2513044,
188
+ "tokens": 686845,
189
+ "examples": 512,
190
+ "roundtrip_failures": 0,
191
+ "unk_tokens": 0,
192
+ "bytes_per_token": 3.6588225873377547,
193
+ "mean_tokens_per_example": 1341.494140625,
194
+ "p95_tokens_per_example": 2464
195
+ },
196
+ "json": {
197
+ "bytes": 2782302,
198
+ "tokens": 859400,
199
+ "examples": 512,
200
+ "roundtrip_failures": 0,
201
+ "unk_tokens": 0,
202
+ "bytes_per_token": 3.2374936001861765,
203
+ "mean_tokens_per_example": 1678.515625,
204
+ "p95_tokens_per_example": 3008
205
+ },
206
+ "git_diff": {
207
+ "bytes": 187152,
208
+ "tokens": 64373,
209
+ "examples": 512,
210
+ "roundtrip_failures": 0,
211
+ "unk_tokens": 0,
212
+ "bytes_per_token": 2.907305858046075,
213
+ "mean_tokens_per_example": 125.728515625,
214
+ "p95_tokens_per_example": 287
215
+ },
216
+ "tool_call": {
217
+ "bytes": 965682,
218
+ "tokens": 317957,
219
+ "examples": 512,
220
+ "roundtrip_failures": 0,
221
+ "unk_tokens": 0,
222
+ "bytes_per_token": 3.037146532392745,
223
+ "mean_tokens_per_example": 621.009765625,
224
+ "p95_tokens_per_example": 2919
225
+ }
226
+ },
227
+ "fragmentation": {
228
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
229
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 30,
230
+ "get_user_configuration": 4,
231
+ "\"additionalProperties\":false": 7,
232
+ "\"tool_call_id\":\"call_0123456789\"": 14
233
+ },
234
+ "correctness_passed": true,
235
+ "family": "original",
236
+ "size_mib": 64
237
+ },
238
+ {
239
+ "name": "original-64mib-32768",
240
+ "vocab": 32768,
241
+ "execution": "modal-cpu",
242
+ "tokenizer_sha256": "cd9109d658834401ef05b4de231cdfd789385bb0d9f294e343e19b447d94b52a",
243
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
244
+ "metrics": {
245
+ "python": {
246
+ "bytes": 2513044,
247
+ "tokens": 639444,
248
+ "examples": 512,
249
+ "roundtrip_failures": 0,
250
+ "unk_tokens": 0,
251
+ "bytes_per_token": 3.930045477008151,
252
+ "mean_tokens_per_example": 1248.9140625,
253
+ "p95_tokens_per_example": 2281
254
+ },
255
+ "json": {
256
+ "bytes": 2782302,
257
+ "tokens": 792841,
258
+ "examples": 512,
259
+ "roundtrip_failures": 0,
260
+ "unk_tokens": 0,
261
+ "bytes_per_token": 3.5092811799591597,
262
+ "mean_tokens_per_example": 1548.517578125,
263
+ "p95_tokens_per_example": 2779
264
+ },
265
+ "git_diff": {
266
+ "bytes": 187152,
267
+ "tokens": 60430,
268
+ "examples": 512,
269
+ "roundtrip_failures": 0,
270
+ "unk_tokens": 0,
271
+ "bytes_per_token": 3.0970047989409233,
272
+ "mean_tokens_per_example": 118.02734375,
273
+ "p95_tokens_per_example": 267
274
+ },
275
+ "tool_call": {
276
+ "bytes": 965682,
277
+ "tokens": 295090,
278
+ "examples": 512,
279
+ "roundtrip_failures": 0,
280
+ "unk_tokens": 0,
281
+ "bytes_per_token": 3.272499915280084,
282
+ "mean_tokens_per_example": 576.34765625,
283
+ "p95_tokens_per_example": 2703
284
+ }
285
+ },
286
+ "fragmentation": {
287
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
288
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
289
+ "get_user_configuration": 3,
290
+ "\"additionalProperties\":false": 6,
291
+ "\"tool_call_id\":\"call_0123456789\"": 12
292
+ },
293
+ "correctness_passed": true,
294
+ "family": "original",
295
+ "size_mib": 64
296
+ },
297
+ {
298
+ "name": "original-64mib-50000",
299
+ "vocab": 50000,
300
+ "execution": "modal-cpu",
301
+ "tokenizer_sha256": "86de4d58e6eb5417264afe227857e98c0b0431eb7adbfaf6a9ebacac37d77726",
302
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
303
+ "metrics": {
304
+ "python": {
305
+ "bytes": 2513044,
306
+ "tokens": 618301,
307
+ "examples": 512,
308
+ "roundtrip_failures": 0,
309
+ "unk_tokens": 0,
310
+ "bytes_per_token": 4.064434636204696,
311
+ "mean_tokens_per_example": 1207.619140625,
312
+ "p95_tokens_per_example": 2199
313
+ },
314
+ "json": {
315
+ "bytes": 2782302,
316
+ "tokens": 762463,
317
+ "examples": 512,
318
+ "roundtrip_failures": 0,
319
+ "unk_tokens": 0,
320
+ "bytes_per_token": 3.649097726709362,
321
+ "mean_tokens_per_example": 1489.185546875,
322
+ "p95_tokens_per_example": 2637
323
+ },
324
+ "git_diff": {
325
+ "bytes": 187152,
326
+ "tokens": 56136,
327
+ "examples": 512,
328
+ "roundtrip_failures": 0,
329
+ "unk_tokens": 0,
330
+ "bytes_per_token": 3.3339033775117572,
331
+ "mean_tokens_per_example": 109.640625,
332
+ "p95_tokens_per_example": 254
333
+ },
334
+ "tool_call": {
335
+ "bytes": 965682,
336
+ "tokens": 283856,
337
+ "examples": 512,
338
+ "roundtrip_failures": 0,
339
+ "unk_tokens": 0,
340
+ "bytes_per_token": 3.4020136970858466,
341
+ "mean_tokens_per_example": 554.40625,
342
+ "p95_tokens_per_example": 2588
343
+ }
344
+ },
345
+ "fragmentation": {
346
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 16,
347
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 26,
348
+ "get_user_configuration": 3,
349
+ "\"additionalProperties\":false": 5,
350
+ "\"tool_call_id\":\"call_0123456789\"": 12
351
+ },
352
+ "correctness_passed": true,
353
+ "family": "original",
354
+ "size_mib": 64
355
+ },
356
+ {
357
+ "name": "original-128mib-16384",
358
+ "vocab": 16384,
359
+ "execution": "modal-cpu",
360
+ "tokenizer_sha256": "64356327337221b75b445cc7c761d655a40c1af2bccd8f8ab5453fd1fa1035c0",
361
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
362
+ "metrics": {
363
+ "python": {
364
+ "bytes": 2513044,
365
+ "tokens": 684734,
366
+ "examples": 512,
367
+ "roundtrip_failures": 0,
368
+ "unk_tokens": 0,
369
+ "bytes_per_token": 3.6701025507715404,
370
+ "mean_tokens_per_example": 1337.37109375,
371
+ "p95_tokens_per_example": 2404
372
+ },
373
+ "json": {
374
+ "bytes": 2782302,
375
+ "tokens": 848790,
376
+ "examples": 512,
377
+ "roundtrip_failures": 0,
378
+ "unk_tokens": 0,
379
+ "bytes_per_token": 3.277962746969215,
380
+ "mean_tokens_per_example": 1657.79296875,
381
+ "p95_tokens_per_example": 2970
382
+ },
383
+ "git_diff": {
384
+ "bytes": 187152,
385
+ "tokens": 63820,
386
+ "examples": 512,
387
+ "roundtrip_failures": 0,
388
+ "unk_tokens": 0,
389
+ "bytes_per_token": 2.9324976496396116,
390
+ "mean_tokens_per_example": 124.6484375,
391
+ "p95_tokens_per_example": 287
392
+ },
393
+ "tool_call": {
394
+ "bytes": 965682,
395
+ "tokens": 317026,
396
+ "examples": 512,
397
+ "roundtrip_failures": 0,
398
+ "unk_tokens": 0,
399
+ "bytes_per_token": 3.0460656223779754,
400
+ "mean_tokens_per_example": 619.19140625,
401
+ "p95_tokens_per_example": 2882
402
+ }
403
+ },
404
+ "fragmentation": {
405
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
406
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
407
+ "get_user_configuration": 4,
408
+ "\"additionalProperties\":false": 7,
409
+ "\"tool_call_id\":\"call_0123456789\"": 14
410
+ },
411
+ "correctness_passed": true,
412
+ "family": "original",
413
+ "size_mib": 128
414
+ },
415
+ {
416
+ "name": "original-128mib-32768",
417
+ "vocab": 32768,
418
+ "execution": "modal-cpu",
419
+ "tokenizer_sha256": "ade4e945319da6e9b010ad7f48f19d9489f7ac583448318a91cf302c21aaf321",
420
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
421
+ "metrics": {
422
+ "python": {
423
+ "bytes": 2513044,
424
+ "tokens": 637085,
425
+ "examples": 512,
426
+ "roundtrip_failures": 0,
427
+ "unk_tokens": 0,
428
+ "bytes_per_token": 3.9445976596529504,
429
+ "mean_tokens_per_example": 1244.306640625,
430
+ "p95_tokens_per_example": 2256
431
+ },
432
+ "json": {
433
+ "bytes": 2782302,
434
+ "tokens": 791494,
435
+ "examples": 512,
436
+ "roundtrip_failures": 0,
437
+ "unk_tokens": 0,
438
+ "bytes_per_token": 3.515253432116984,
439
+ "mean_tokens_per_example": 1545.88671875,
440
+ "p95_tokens_per_example": 2750
441
+ },
442
+ "git_diff": {
443
+ "bytes": 187152,
444
+ "tokens": 60206,
445
+ "examples": 512,
446
+ "roundtrip_failures": 0,
447
+ "unk_tokens": 0,
448
+ "bytes_per_token": 3.1085273892967478,
449
+ "mean_tokens_per_example": 117.58984375,
450
+ "p95_tokens_per_example": 264
451
+ },
452
+ "tool_call": {
453
+ "bytes": 965682,
454
+ "tokens": 293856,
455
+ "examples": 512,
456
+ "roundtrip_failures": 0,
457
+ "unk_tokens": 0,
458
+ "bytes_per_token": 3.2862422410976806,
459
+ "mean_tokens_per_example": 573.9375,
460
+ "p95_tokens_per_example": 2688
461
+ }
462
+ },
463
+ "fragmentation": {
464
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
465
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
466
+ "get_user_configuration": 3,
467
+ "\"additionalProperties\":false": 6,
468
+ "\"tool_call_id\":\"call_0123456789\"": 12
469
+ },
470
+ "correctness_passed": true,
471
+ "family": "original",
472
+ "size_mib": 128
473
+ },
474
+ {
475
+ "name": "original-128mib-50000",
476
+ "vocab": 50000,
477
+ "execution": "modal-cpu",
478
+ "tokenizer_sha256": "db13f817c797466237e07a17ca3d62b65dafe334745d6c72714073fa47d36380",
479
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
480
+ "metrics": {
481
+ "python": {
482
+ "bytes": 2513044,
483
+ "tokens": 615615,
484
+ "examples": 512,
485
+ "roundtrip_failures": 0,
486
+ "unk_tokens": 0,
487
+ "bytes_per_token": 4.082168238265799,
488
+ "mean_tokens_per_example": 1202.373046875,
489
+ "p95_tokens_per_example": 2185
490
+ },
491
+ "json": {
492
+ "bytes": 2782302,
493
+ "tokens": 761584,
494
+ "examples": 512,
495
+ "roundtrip_failures": 0,
496
+ "unk_tokens": 0,
497
+ "bytes_per_token": 3.65330941826509,
498
+ "mean_tokens_per_example": 1487.46875,
499
+ "p95_tokens_per_example": 2625
500
+ },
501
+ "git_diff": {
502
+ "bytes": 187152,
503
+ "tokens": 56060,
504
+ "examples": 512,
505
+ "roundtrip_failures": 0,
506
+ "unk_tokens": 0,
507
+ "bytes_per_token": 3.3384231180877633,
508
+ "mean_tokens_per_example": 109.4921875,
509
+ "p95_tokens_per_example": 255
510
+ },
511
+ "tool_call": {
512
+ "bytes": 965682,
513
+ "tokens": 284063,
514
+ "examples": 512,
515
+ "roundtrip_failures": 0,
516
+ "unk_tokens": 0,
517
+ "bytes_per_token": 3.399534610280114,
518
+ "mean_tokens_per_example": 554.810546875,
519
+ "p95_tokens_per_example": 2613
520
+ }
521
+ },
522
+ "fragmentation": {
523
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
524
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 28,
525
+ "get_user_configuration": 3,
526
+ "\"additionalProperties\":false": 5,
527
+ "\"tool_call_id\":\"call_0123456789\"": 12
528
+ },
529
+ "correctness_passed": true,
530
+ "family": "original",
531
+ "size_mib": 128
532
+ },
533
+ {
534
+ "name": "original-256mib-16384",
535
+ "vocab": 16384,
536
+ "execution": "modal-cpu",
537
+ "tokenizer_sha256": "e76d8e8a71db29a3e1ed036d8e6813ce180ac568b0310d0cdc01a2c8974c92e6",
538
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
539
+ "metrics": {
540
+ "python": {
541
+ "bytes": 2513044,
542
+ "tokens": 683686,
543
+ "examples": 512,
544
+ "roundtrip_failures": 0,
545
+ "unk_tokens": 0,
546
+ "bytes_per_token": 3.675728331427,
547
+ "mean_tokens_per_example": 1335.32421875,
548
+ "p95_tokens_per_example": 2431
549
+ },
550
+ "json": {
551
+ "bytes": 2782302,
552
+ "tokens": 846841,
553
+ "examples": 512,
554
+ "roundtrip_failures": 0,
555
+ "unk_tokens": 0,
556
+ "bytes_per_token": 3.2855069605746534,
557
+ "mean_tokens_per_example": 1653.986328125,
558
+ "p95_tokens_per_example": 2972
559
+ },
560
+ "git_diff": {
561
+ "bytes": 187152,
562
+ "tokens": 64278,
563
+ "examples": 512,
564
+ "roundtrip_failures": 0,
565
+ "unk_tokens": 0,
566
+ "bytes_per_token": 2.9116027256604124,
567
+ "mean_tokens_per_example": 125.54296875,
568
+ "p95_tokens_per_example": 289
569
+ },
570
+ "tool_call": {
571
+ "bytes": 965682,
572
+ "tokens": 316910,
573
+ "examples": 512,
574
+ "roundtrip_failures": 0,
575
+ "unk_tokens": 0,
576
+ "bytes_per_token": 3.047180587548515,
577
+ "mean_tokens_per_example": 618.96484375,
578
+ "p95_tokens_per_example": 2874
579
+ }
580
+ },
581
+ "fragmentation": {
582
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
583
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 30,
584
+ "get_user_configuration": 4,
585
+ "\"additionalProperties\":false": 7,
586
+ "\"tool_call_id\":\"call_0123456789\"": 14
587
+ },
588
+ "correctness_passed": true,
589
+ "family": "original",
590
+ "size_mib": 256
591
+ },
592
+ {
593
+ "name": "original-256mib-32768",
594
+ "vocab": 32768,
595
+ "execution": "modal-cpu",
596
+ "tokenizer_sha256": "3839415fcdd736bb9322b958a45ba82ba01310e2007a1b139f77e3486568c1b6",
597
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
598
+ "metrics": {
599
+ "python": {
600
+ "bytes": 2513044,
601
+ "tokens": 635593,
602
+ "examples": 512,
603
+ "roundtrip_failures": 0,
604
+ "unk_tokens": 0,
605
+ "bytes_per_token": 3.9538572640038514,
606
+ "mean_tokens_per_example": 1241.392578125,
607
+ "p95_tokens_per_example": 2248
608
+ },
609
+ "json": {
610
+ "bytes": 2782302,
611
+ "tokens": 788761,
612
+ "examples": 512,
613
+ "roundtrip_failures": 0,
614
+ "unk_tokens": 0,
615
+ "bytes_per_token": 3.527433531830301,
616
+ "mean_tokens_per_example": 1540.548828125,
617
+ "p95_tokens_per_example": 2744
618
+ },
619
+ "git_diff": {
620
+ "bytes": 187152,
621
+ "tokens": 59948,
622
+ "examples": 512,
623
+ "roundtrip_failures": 0,
624
+ "unk_tokens": 0,
625
+ "bytes_per_token": 3.1219056515646892,
626
+ "mean_tokens_per_example": 117.0859375,
627
+ "p95_tokens_per_example": 264
628
+ },
629
+ "tool_call": {
630
+ "bytes": 965682,
631
+ "tokens": 293252,
632
+ "examples": 512,
633
+ "roundtrip_failures": 0,
634
+ "unk_tokens": 0,
635
+ "bytes_per_token": 3.2930107893552303,
636
+ "mean_tokens_per_example": 572.7578125,
637
+ "p95_tokens_per_example": 2703
638
+ }
639
+ },
640
+ "fragmentation": {
641
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
642
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
643
+ "get_user_configuration": 3,
644
+ "\"additionalProperties\":false": 6,
645
+ "\"tool_call_id\":\"call_0123456789\"": 12
646
+ },
647
+ "correctness_passed": true,
648
+ "family": "original",
649
+ "size_mib": 256
650
+ },
651
+ {
652
+ "name": "original-256mib-50000",
653
+ "vocab": 50000,
654
+ "execution": "modal-cpu",
655
+ "tokenizer_sha256": "eb4b69846169b0aedd86c72eb2bc7e85b96b074519f7bba8563423cd200baf81",
656
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
657
+ "metrics": {
658
+ "python": {
659
+ "bytes": 2513044,
660
+ "tokens": 613844,
661
+ "examples": 512,
662
+ "roundtrip_failures": 0,
663
+ "unk_tokens": 0,
664
+ "bytes_per_token": 4.093945693042532,
665
+ "mean_tokens_per_example": 1198.9140625,
666
+ "p95_tokens_per_example": 2162
667
+ },
668
+ "json": {
669
+ "bytes": 2782302,
670
+ "tokens": 760204,
671
+ "examples": 512,
672
+ "roundtrip_failures": 0,
673
+ "unk_tokens": 0,
674
+ "bytes_per_token": 3.659941278919869,
675
+ "mean_tokens_per_example": 1484.7734375,
676
+ "p95_tokens_per_example": 2628
677
+ },
678
+ "git_diff": {
679
+ "bytes": 187152,
680
+ "tokens": 55978,
681
+ "examples": 512,
682
+ "roundtrip_failures": 0,
683
+ "unk_tokens": 0,
684
+ "bytes_per_token": 3.343313444567509,
685
+ "mean_tokens_per_example": 109.33203125,
686
+ "p95_tokens_per_example": 254
687
+ },
688
+ "tool_call": {
689
+ "bytes": 965682,
690
+ "tokens": 283137,
691
+ "examples": 512,
692
+ "roundtrip_failures": 0,
693
+ "unk_tokens": 0,
694
+ "bytes_per_token": 3.410652793523983,
695
+ "mean_tokens_per_example": 553.001953125,
696
+ "p95_tokens_per_example": 2581
697
+ }
698
+ },
699
+ "fragmentation": {
700
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
701
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 28,
702
+ "get_user_configuration": 3,
703
+ "\"additionalProperties\":false": 5,
704
+ "\"tool_call_id\":\"call_0123456789\"": 12
705
+ },
706
+ "correctness_passed": true,
707
+ "family": "original",
708
+ "size_mib": 256
709
+ },
710
+ {
711
+ "name": "original-512mib-16384",
712
+ "vocab": 16384,
713
+ "execution": "modal-cpu",
714
+ "tokenizer_sha256": "c3bae921b15a294391e45fe3bf2ce0a2f3ac1b6678c0f32541613106f322078e",
715
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
716
+ "metrics": {
717
+ "python": {
718
+ "bytes": 2513044,
719
+ "tokens": 682997,
720
+ "examples": 512,
721
+ "roundtrip_failures": 0,
722
+ "unk_tokens": 0,
723
+ "bytes_per_token": 3.6794363664847722,
724
+ "mean_tokens_per_example": 1333.978515625,
725
+ "p95_tokens_per_example": 2411
726
+ },
727
+ "json": {
728
+ "bytes": 2782302,
729
+ "tokens": 845018,
730
+ "examples": 512,
731
+ "roundtrip_failures": 0,
732
+ "unk_tokens": 0,
733
+ "bytes_per_token": 3.2925949506401047,
734
+ "mean_tokens_per_example": 1650.42578125,
735
+ "p95_tokens_per_example": 2971
736
+ },
737
+ "git_diff": {
738
+ "bytes": 187152,
739
+ "tokens": 64290,
740
+ "examples": 512,
741
+ "roundtrip_failures": 0,
742
+ "unk_tokens": 0,
743
+ "bytes_per_token": 2.911059262715819,
744
+ "mean_tokens_per_example": 125.56640625,
745
+ "p95_tokens_per_example": 290
746
+ },
747
+ "tool_call": {
748
+ "bytes": 965682,
749
+ "tokens": 319399,
750
+ "examples": 512,
751
+ "roundtrip_failures": 0,
752
+ "unk_tokens": 0,
753
+ "bytes_per_token": 3.0234346381798316,
754
+ "mean_tokens_per_example": 623.826171875,
755
+ "p95_tokens_per_example": 2883
756
+ }
757
+ },
758
+ "fragmentation": {
759
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 20,
760
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 30,
761
+ "get_user_configuration": 4,
762
+ "\"additionalProperties\":false": 7,
763
+ "\"tool_call_id\":\"call_0123456789\"": 15
764
+ },
765
+ "correctness_passed": true,
766
+ "family": "original",
767
+ "size_mib": 512
768
+ },
769
+ {
770
+ "name": "original-512mib-32768",
771
+ "vocab": 32768,
772
+ "execution": "modal-cpu",
773
+ "tokenizer_sha256": "ee276c0fba28e5d4f555f85971e9d99b5cee6b53aa5181bc1c4dd33417572829",
774
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
775
+ "metrics": {
776
+ "python": {
777
+ "bytes": 2513044,
778
+ "tokens": 634379,
779
+ "examples": 512,
780
+ "roundtrip_failures": 0,
781
+ "unk_tokens": 0,
782
+ "bytes_per_token": 3.9614236915156398,
783
+ "mean_tokens_per_example": 1239.021484375,
784
+ "p95_tokens_per_example": 2267
785
+ },
786
+ "json": {
787
+ "bytes": 2782302,
788
+ "tokens": 789081,
789
+ "examples": 512,
790
+ "roundtrip_failures": 0,
791
+ "unk_tokens": 0,
792
+ "bytes_per_token": 3.5260030339090664,
793
+ "mean_tokens_per_example": 1541.173828125,
794
+ "p95_tokens_per_example": 2729
795
+ },
796
+ "git_diff": {
797
+ "bytes": 187152,
798
+ "tokens": 57989,
799
+ "examples": 512,
800
+ "roundtrip_failures": 0,
801
+ "unk_tokens": 0,
802
+ "bytes_per_token": 3.2273707082377694,
803
+ "mean_tokens_per_example": 113.259765625,
804
+ "p95_tokens_per_example": 264
805
+ },
806
+ "tool_call": {
807
+ "bytes": 965682,
808
+ "tokens": 292371,
809
+ "examples": 512,
810
+ "roundtrip_failures": 0,
811
+ "unk_tokens": 0,
812
+ "bytes_per_token": 3.3029336014857833,
813
+ "mean_tokens_per_example": 571.037109375,
814
+ "p95_tokens_per_example": 2685
815
+ }
816
+ },
817
+ "fragmentation": {
818
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
819
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
820
+ "get_user_configuration": 3,
821
+ "\"additionalProperties\":false": 6,
822
+ "\"tool_call_id\":\"call_0123456789\"": 12
823
+ },
824
+ "correctness_passed": true,
825
+ "family": "original",
826
+ "size_mib": 512
827
+ },
828
+ {
829
+ "name": "original-512mib-50000",
830
+ "vocab": 50000,
831
+ "execution": "modal-cpu",
832
+ "tokenizer_sha256": "1f4b70d34b608d97a3ad7a9bcd7b0094fa82c652281d39bcc12325c1f16865e2",
833
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
834
+ "metrics": {
835
+ "python": {
836
+ "bytes": 2513044,
837
+ "tokens": 612400,
838
+ "examples": 512,
839
+ "roundtrip_failures": 0,
840
+ "unk_tokens": 0,
841
+ "bytes_per_token": 4.103598954931417,
842
+ "mean_tokens_per_example": 1196.09375,
843
+ "p95_tokens_per_example": 2147
844
+ },
845
+ "json": {
846
+ "bytes": 2782302,
847
+ "tokens": 759199,
848
+ "examples": 512,
849
+ "roundtrip_failures": 0,
850
+ "unk_tokens": 0,
851
+ "bytes_per_token": 3.6647861759565017,
852
+ "mean_tokens_per_example": 1482.810546875,
853
+ "p95_tokens_per_example": 2621
854
+ },
855
+ "git_diff": {
856
+ "bytes": 187152,
857
+ "tokens": 55806,
858
+ "examples": 512,
859
+ "roundtrip_failures": 0,
860
+ "unk_tokens": 0,
861
+ "bytes_per_token": 3.3536178905494034,
862
+ "mean_tokens_per_example": 108.99609375,
863
+ "p95_tokens_per_example": 254
864
+ },
865
+ "tool_call": {
866
+ "bytes": 965682,
867
+ "tokens": 282554,
868
+ "examples": 512,
869
+ "roundtrip_failures": 0,
870
+ "unk_tokens": 0,
871
+ "bytes_per_token": 3.417690069862752,
872
+ "mean_tokens_per_example": 551.86328125,
873
+ "p95_tokens_per_example": 2588
874
+ }
875
+ },
876
+ "fragmentation": {
877
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
878
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 28,
879
+ "get_user_configuration": 3,
880
+ "\"additionalProperties\":false": 5,
881
+ "\"tool_call_id\":\"call_0123456789\"": 12
882
+ },
883
+ "correctness_passed": true,
884
+ "family": "original",
885
+ "size_mib": 512
886
+ },
887
+ {
888
+ "name": "original-1024mib-16384",
889
+ "vocab": 16384,
890
+ "execution": "modal-cpu",
891
+ "tokenizer_sha256": "020928562c47ea392514da50b9c4886b4e3e24fd01cfdc30501599042ffb1359",
892
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
893
+ "metrics": {
894
+ "python": {
895
+ "bytes": 2513044,
896
+ "tokens": 682180,
897
+ "examples": 512,
898
+ "roundtrip_failures": 0,
899
+ "unk_tokens": 0,
900
+ "bytes_per_token": 3.6838429739951333,
901
+ "mean_tokens_per_example": 1332.3828125,
902
+ "p95_tokens_per_example": 2410
903
+ },
904
+ "json": {
905
+ "bytes": 2782302,
906
+ "tokens": 844701,
907
+ "examples": 512,
908
+ "roundtrip_failures": 0,
909
+ "unk_tokens": 0,
910
+ "bytes_per_token": 3.2938305980459357,
911
+ "mean_tokens_per_example": 1649.806640625,
912
+ "p95_tokens_per_example": 2974
913
+ },
914
+ "git_diff": {
915
+ "bytes": 187152,
916
+ "tokens": 64244,
917
+ "examples": 512,
918
+ "roundtrip_failures": 0,
919
+ "unk_tokens": 0,
920
+ "bytes_per_token": 2.913143639872984,
921
+ "mean_tokens_per_example": 125.4765625,
922
+ "p95_tokens_per_example": 289
923
+ },
924
+ "tool_call": {
925
+ "bytes": 965682,
926
+ "tokens": 317323,
927
+ "examples": 512,
928
+ "roundtrip_failures": 0,
929
+ "unk_tokens": 0,
930
+ "bytes_per_token": 3.0432146424936106,
931
+ "mean_tokens_per_example": 619.771484375,
932
+ "p95_tokens_per_example": 2882
933
+ }
934
+ },
935
+ "fragmentation": {
936
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
937
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 30,
938
+ "get_user_configuration": 4,
939
+ "\"additionalProperties\":false": 7,
940
+ "\"tool_call_id\":\"call_0123456789\"": 14
941
+ },
942
+ "correctness_passed": true,
943
+ "family": "original",
944
+ "size_mib": 1024
945
+ },
946
+ {
947
+ "name": "original-1024mib-32768",
948
+ "vocab": 32768,
949
+ "execution": "modal-cpu",
950
+ "tokenizer_sha256": "17ce952fb54679634b5a723756a217bb536ad1d2f6616917ac0172b7a6ef255c",
951
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
952
+ "metrics": {
953
+ "python": {
954
+ "bytes": 2513044,
955
+ "tokens": 633318,
956
+ "examples": 512,
957
+ "roundtrip_failures": 0,
958
+ "unk_tokens": 0,
959
+ "bytes_per_token": 3.9680602793541317,
960
+ "mean_tokens_per_example": 1236.94921875,
961
+ "p95_tokens_per_example": 2219
962
+ },
963
+ "json": {
964
+ "bytes": 2782302,
965
+ "tokens": 787329,
966
+ "examples": 512,
967
+ "roundtrip_failures": 0,
968
+ "unk_tokens": 0,
969
+ "bytes_per_token": 3.5338492548858227,
970
+ "mean_tokens_per_example": 1537.751953125,
971
+ "p95_tokens_per_example": 2739
972
+ },
973
+ "git_diff": {
974
+ "bytes": 187152,
975
+ "tokens": 57750,
976
+ "examples": 512,
977
+ "roundtrip_failures": 0,
978
+ "unk_tokens": 0,
979
+ "bytes_per_token": 3.240727272727273,
980
+ "mean_tokens_per_example": 112.79296875,
981
+ "p95_tokens_per_example": 260
982
+ },
983
+ "tool_call": {
984
+ "bytes": 965682,
985
+ "tokens": 292030,
986
+ "examples": 512,
987
+ "roundtrip_failures": 0,
988
+ "unk_tokens": 0,
989
+ "bytes_per_token": 3.3067903982467555,
990
+ "mean_tokens_per_example": 570.37109375,
991
+ "p95_tokens_per_example": 2677
992
+ }
993
+ },
994
+ "fragmentation": {
995
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
996
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
997
+ "get_user_configuration": 3,
998
+ "\"additionalProperties\":false": 6,
999
+ "\"tool_call_id\":\"call_0123456789\"": 12
1000
+ },
1001
+ "correctness_passed": true,
1002
+ "family": "original",
1003
+ "size_mib": 1024
1004
+ },
1005
+ {
1006
+ "name": "original-1024mib-50000",
1007
+ "vocab": 50000,
1008
+ "execution": "modal-cpu",
1009
+ "tokenizer_sha256": "ce5e83a52cab742ea5edc2440c8defd26c946d05ca2f1d3f64ab3dedc26b744d",
1010
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
1011
+ "metrics": {
1012
+ "python": {
1013
+ "bytes": 2513044,
1014
+ "tokens": 611455,
1015
+ "examples": 512,
1016
+ "roundtrip_failures": 0,
1017
+ "unk_tokens": 0,
1018
+ "bytes_per_token": 4.109941042268033,
1019
+ "mean_tokens_per_example": 1194.248046875,
1020
+ "p95_tokens_per_example": 2151
1021
+ },
1022
+ "json": {
1023
+ "bytes": 2782302,
1024
+ "tokens": 757438,
1025
+ "examples": 512,
1026
+ "roundtrip_failures": 0,
1027
+ "unk_tokens": 0,
1028
+ "bytes_per_token": 3.673306594071066,
1029
+ "mean_tokens_per_example": 1479.37109375,
1030
+ "p95_tokens_per_example": 2618
1031
+ },
1032
+ "git_diff": {
1033
+ "bytes": 187152,
1034
+ "tokens": 55758,
1035
+ "examples": 512,
1036
+ "roundtrip_failures": 0,
1037
+ "unk_tokens": 0,
1038
+ "bytes_per_token": 3.3565048961583988,
1039
+ "mean_tokens_per_example": 108.90234375,
1040
+ "p95_tokens_per_example": 248
1041
+ },
1042
+ "tool_call": {
1043
+ "bytes": 965682,
1044
+ "tokens": 281364,
1045
+ "examples": 512,
1046
+ "roundtrip_failures": 0,
1047
+ "unk_tokens": 0,
1048
+ "bytes_per_token": 3.4321448372926175,
1049
+ "mean_tokens_per_example": 549.5390625,
1050
+ "p95_tokens_per_example": 2566
1051
+ }
1052
+ },
1053
+ "fragmentation": {
1054
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
1055
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 28,
1056
+ "get_user_configuration": 3,
1057
+ "\"additionalProperties\":false": 5,
1058
+ "\"tool_call_id\":\"call_0123456789\"": 12
1059
+ },
1060
+ "correctness_passed": true,
1061
+ "family": "original",
1062
+ "size_mib": 1024
1063
+ },
1064
+ {
1065
+ "name": "original-2048mib-16384",
1066
+ "vocab": 16384,
1067
+ "execution": "modal-cpu",
1068
+ "tokenizer_sha256": "f95ec3899180fd6aef876f92e8fa1e6ec9cd96c180e22b23ead4e88b3b002561",
1069
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
1070
+ "metrics": {
1071
+ "python": {
1072
+ "bytes": 2513044,
1073
+ "tokens": 682473,
1074
+ "examples": 512,
1075
+ "roundtrip_failures": 0,
1076
+ "unk_tokens": 0,
1077
+ "bytes_per_token": 3.682261422796213,
1078
+ "mean_tokens_per_example": 1332.955078125,
1079
+ "p95_tokens_per_example": 2401
1080
+ },
1081
+ "json": {
1082
+ "bytes": 2782302,
1083
+ "tokens": 845529,
1084
+ "examples": 512,
1085
+ "roundtrip_failures": 0,
1086
+ "unk_tokens": 0,
1087
+ "bytes_per_token": 3.2906050531678983,
1088
+ "mean_tokens_per_example": 1651.423828125,
1089
+ "p95_tokens_per_example": 2970
1090
+ },
1091
+ "git_diff": {
1092
+ "bytes": 187152,
1093
+ "tokens": 64223,
1094
+ "examples": 512,
1095
+ "roundtrip_failures": 0,
1096
+ "unk_tokens": 0,
1097
+ "bytes_per_token": 2.9140961960668297,
1098
+ "mean_tokens_per_example": 125.435546875,
1099
+ "p95_tokens_per_example": 289
1100
+ },
1101
+ "tool_call": {
1102
+ "bytes": 965682,
1103
+ "tokens": 316917,
1104
+ "examples": 512,
1105
+ "roundtrip_failures": 0,
1106
+ "unk_tokens": 0,
1107
+ "bytes_per_token": 3.0471132820265243,
1108
+ "mean_tokens_per_example": 618.978515625,
1109
+ "p95_tokens_per_example": 2881
1110
+ }
1111
+ },
1112
+ "fragmentation": {
1113
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 18,
1114
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 30,
1115
+ "get_user_configuration": 4,
1116
+ "\"additionalProperties\":false": 7,
1117
+ "\"tool_call_id\":\"call_0123456789\"": 14
1118
+ },
1119
+ "correctness_passed": true,
1120
+ "family": "original",
1121
+ "size_mib": 2048
1122
+ },
1123
+ {
1124
+ "name": "original-2048mib-32768",
1125
+ "vocab": 32768,
1126
+ "execution": "modal-cpu",
1127
+ "tokenizer_sha256": "6f8742023692929139e450a3a64802e355649742e7051f9d8a6e6db47fbc8e96",
1128
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
1129
+ "metrics": {
1130
+ "python": {
1131
+ "bytes": 2513044,
1132
+ "tokens": 633463,
1133
+ "examples": 512,
1134
+ "roundtrip_failures": 0,
1135
+ "unk_tokens": 0,
1136
+ "bytes_per_token": 3.967151988356068,
1137
+ "mean_tokens_per_example": 1237.232421875,
1138
+ "p95_tokens_per_example": 2278
1139
+ },
1140
+ "json": {
1141
+ "bytes": 2782302,
1142
+ "tokens": 787465,
1143
+ "examples": 512,
1144
+ "roundtrip_failures": 0,
1145
+ "unk_tokens": 0,
1146
+ "bytes_per_token": 3.533238937603576,
1147
+ "mean_tokens_per_example": 1538.017578125,
1148
+ "p95_tokens_per_example": 2730
1149
+ },
1150
+ "git_diff": {
1151
+ "bytes": 187152,
1152
+ "tokens": 59957,
1153
+ "examples": 512,
1154
+ "roundtrip_failures": 0,
1155
+ "unk_tokens": 0,
1156
+ "bytes_per_token": 3.121437029871408,
1157
+ "mean_tokens_per_example": 117.103515625,
1158
+ "p95_tokens_per_example": 268
1159
+ },
1160
+ "tool_call": {
1161
+ "bytes": 965682,
1162
+ "tokens": 292566,
1163
+ "examples": 512,
1164
+ "roundtrip_failures": 0,
1165
+ "unk_tokens": 0,
1166
+ "bytes_per_token": 3.3007321424909253,
1167
+ "mean_tokens_per_example": 571.41796875,
1168
+ "p95_tokens_per_example": 2676
1169
+ }
1170
+ },
1171
+ "fragmentation": {
1172
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
1173
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 29,
1174
+ "get_user_configuration": 3,
1175
+ "\"additionalProperties\":false": 5,
1176
+ "\"tool_call_id\":\"call_0123456789\"": 12
1177
+ },
1178
+ "correctness_passed": true,
1179
+ "family": "original",
1180
+ "size_mib": 2048
1181
+ },
1182
+ {
1183
+ "name": "original-2048mib-50000",
1184
+ "vocab": 50000,
1185
+ "execution": "modal-cpu",
1186
+ "tokenizer_sha256": "5e3de8f77cfa5a5820a96bf0205e7cceee7f27c43e16afdc16d452df7a37f724",
1187
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
1188
+ "metrics": {
1189
+ "python": {
1190
+ "bytes": 2513044,
1191
+ "tokens": 611191,
1192
+ "examples": 512,
1193
+ "roundtrip_failures": 0,
1194
+ "unk_tokens": 0,
1195
+ "bytes_per_token": 4.111716304723074,
1196
+ "mean_tokens_per_example": 1193.732421875,
1197
+ "p95_tokens_per_example": 2152
1198
+ },
1199
+ "json": {
1200
+ "bytes": 2782302,
1201
+ "tokens": 762018,
1202
+ "examples": 512,
1203
+ "roundtrip_failures": 0,
1204
+ "unk_tokens": 0,
1205
+ "bytes_per_token": 3.651228711132808,
1206
+ "mean_tokens_per_example": 1488.31640625,
1207
+ "p95_tokens_per_example": 2631
1208
+ },
1209
+ "git_diff": {
1210
+ "bytes": 187152,
1211
+ "tokens": 55765,
1212
+ "examples": 512,
1213
+ "roundtrip_failures": 0,
1214
+ "unk_tokens": 0,
1215
+ "bytes_per_token": 3.3560835649601004,
1216
+ "mean_tokens_per_example": 108.916015625,
1217
+ "p95_tokens_per_example": 248
1218
+ },
1219
+ "tool_call": {
1220
+ "bytes": 965682,
1221
+ "tokens": 282399,
1222
+ "examples": 512,
1223
+ "roundtrip_failures": 0,
1224
+ "unk_tokens": 0,
1225
+ "bytes_per_token": 3.4195659333071293,
1226
+ "mean_tokens_per_example": 551.560546875,
1227
+ "p95_tokens_per_example": 2587
1228
+ }
1229
+ },
1230
+ "fragmentation": {
1231
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 17,
1232
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 28,
1233
+ "get_user_configuration": 3,
1234
+ "\"additionalProperties\":false": 5,
1235
+ "\"tool_call_id\":\"call_0123456789\"": 12
1236
+ },
1237
+ "correctness_passed": true,
1238
+ "family": "original",
1239
+ "size_mib": 2048
1240
+ }
1241
+ ]
research/structured-code-v1/paired-comparisons.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "vocab": 16384,
4
+ "category": "python",
5
+ "baseline_size_mib": 64,
6
+ "token_saving_percent": 5.161717709235713,
7
+ "paired_ci95": [
8
+ 4.805887801278443,
9
+ 5.518307765192585
10
+ ]
11
+ },
12
+ {
13
+ "vocab": 16384,
14
+ "category": "python",
15
+ "baseline_size_mib": 2048,
16
+ "token_saving_percent": 4.554172839072024,
17
+ "paired_ci95": [
18
+ 4.2022398257968305,
19
+ 4.8870282779627345
20
+ ]
21
+ },
22
+ {
23
+ "vocab": 16384,
24
+ "category": "json",
25
+ "baseline_size_mib": 64,
26
+ "token_saving_percent": 11.49778915522458,
27
+ "paired_ci95": [
28
+ 11.051183144800918,
29
+ 11.937857395041755
30
+ ]
31
+ },
32
+ {
33
+ "vocab": 16384,
34
+ "category": "json",
35
+ "baseline_size_mib": 2048,
36
+ "token_saving_percent": 10.045900258891184,
37
+ "paired_ci95": [
38
+ 9.62401271480091,
39
+ 10.448147880543663
40
+ ]
41
+ },
42
+ {
43
+ "vocab": 16384,
44
+ "category": "git_diff",
45
+ "baseline_size_mib": 64,
46
+ "token_saving_percent": 14.381806036692401,
47
+ "paired_ci95": [
48
+ 13.52058267964924,
49
+ 15.107384868191106
50
+ ]
51
+ },
52
+ {
53
+ "vocab": 16384,
54
+ "category": "git_diff",
55
+ "baseline_size_mib": 2048,
56
+ "token_saving_percent": 14.181835168086199,
57
+ "paired_ci95": [
58
+ 13.483675527600566,
59
+ 14.828775308338756
60
+ ]
61
+ },
62
+ {
63
+ "vocab": 16384,
64
+ "category": "tool_call",
65
+ "baseline_size_mib": 64,
66
+ "token_saving_percent": 17.040354513346145,
67
+ "paired_ci95": [
68
+ 16.288536671705394,
69
+ 17.857604436611496
70
+ ]
71
+ },
72
+ {
73
+ "vocab": 16384,
74
+ "category": "tool_call",
75
+ "baseline_size_mib": 2048,
76
+ "token_saving_percent": 16.768112786628674,
77
+ "paired_ci95": [
78
+ 16.00072559221649,
79
+ 17.65307903734406
80
+ ]
81
+ },
82
+ {
83
+ "vocab": 32768,
84
+ "category": "python",
85
+ "baseline_size_mib": 64,
86
+ "token_saving_percent": 3.715102495292788,
87
+ "paired_ci95": [
88
+ 3.416089462295272,
89
+ 3.98995603061774
90
+ ]
91
+ },
92
+ {
93
+ "vocab": 32768,
94
+ "category": "python",
95
+ "baseline_size_mib": 2048,
96
+ "token_saving_percent": 2.8060044548773977,
97
+ "paired_ci95": [
98
+ 2.5062225893620456,
99
+ 3.0750785140490904
100
+ ]
101
+ },
102
+ {
103
+ "vocab": 32768,
104
+ "category": "json",
105
+ "baseline_size_mib": 64,
106
+ "token_saving_percent": 8.836071797497858,
107
+ "paired_ci95": [
108
+ 8.489760736047739,
109
+ 9.168205525309618
110
+ ]
111
+ },
112
+ {
113
+ "vocab": 32768,
114
+ "category": "json",
115
+ "baseline_size_mib": 2048,
116
+ "token_saving_percent": 8.21369838659496,
117
+ "paired_ci95": [
118
+ 7.84936586072181,
119
+ 8.534293914918637
120
+ ]
121
+ },
122
+ {
123
+ "vocab": 32768,
124
+ "category": "git_diff",
125
+ "baseline_size_mib": 64,
126
+ "token_saving_percent": 12.523581002813177,
127
+ "paired_ci95": [
128
+ 11.74804909818136,
129
+ 13.237170838119336
130
+ ]
131
+ },
132
+ {
133
+ "vocab": 32768,
134
+ "category": "git_diff",
135
+ "baseline_size_mib": 2048,
136
+ "token_saving_percent": 11.833480661140483,
137
+ "paired_ci95": [
138
+ 11.044209250897488,
139
+ 12.573471647810612
140
+ ]
141
+ },
142
+ {
143
+ "vocab": 32768,
144
+ "category": "tool_call",
145
+ "baseline_size_mib": 64,
146
+ "token_saving_percent": 14.702971974651803,
147
+ "paired_ci95": [
148
+ 13.87174606871349,
149
+ 15.585460177596222
150
+ ]
151
+ },
152
+ {
153
+ "vocab": 32768,
154
+ "category": "tool_call",
155
+ "baseline_size_mib": 2048,
156
+ "token_saving_percent": 13.967104858390922,
157
+ "paired_ci95": [
158
+ 13.094244188134251,
159
+ 14.86115232472458
160
+ ]
161
+ },
162
+ {
163
+ "vocab": 50000,
164
+ "category": "python",
165
+ "baseline_size_mib": 64,
166
+ "token_saving_percent": 2.76451113616184,
167
+ "paired_ci95": [
168
+ 2.507650374711118,
169
+ 3.0204865576016524
170
+ ]
171
+ },
172
+ {
173
+ "vocab": 50000,
174
+ "category": "python",
175
+ "baseline_size_mib": 2048,
176
+ "token_saving_percent": 1.6333682923995951,
177
+ "paired_ci95": [
178
+ 1.3690041312459533,
179
+ 1.8792020981977022
180
+ ]
181
+ },
182
+ {
183
+ "vocab": 50000,
184
+ "category": "json",
185
+ "baseline_size_mib": 64,
186
+ "token_saving_percent": 7.215038631382765,
187
+ "paired_ci95": [
188
+ 6.885572584118245,
189
+ 7.538642446610321
190
+ ]
191
+ },
192
+ {
193
+ "vocab": 50000,
194
+ "category": "json",
195
+ "baseline_size_mib": 2048,
196
+ "token_saving_percent": 7.160854468004696,
197
+ "paired_ci95": [
198
+ 6.8230077267262095,
199
+ 7.490274125295937
200
+ ]
201
+ },
202
+ {
203
+ "vocab": 50000,
204
+ "category": "git_diff",
205
+ "baseline_size_mib": 64,
206
+ "token_saving_percent": 7.743693886276182,
207
+ "paired_ci95": [
208
+ 7.125926910643197,
209
+ 8.312421798378304
210
+ ]
211
+ },
212
+ {
213
+ "vocab": 50000,
214
+ "category": "git_diff",
215
+ "baseline_size_mib": 2048,
216
+ "token_saving_percent": 7.129920200842821,
217
+ "paired_ci95": [
218
+ 6.607120345561133,
219
+ 7.644764143960624
220
+ ]
221
+ },
222
+ {
223
+ "vocab": 50000,
224
+ "category": "tool_call",
225
+ "baseline_size_mib": 64,
226
+ "token_saving_percent": 13.145045375119778,
227
+ "paired_ci95": [
228
+ 12.422289981936078,
229
+ 13.92135869878892
230
+ ]
231
+ },
232
+ {
233
+ "vocab": 50000,
234
+ "category": "tool_call",
235
+ "baseline_size_mib": 2048,
236
+ "token_saving_percent": 12.696928813487297,
237
+ "paired_ci95": [
238
+ 11.968021889121987,
239
+ 13.519645028868915
240
+ ]
241
+ }
242
+ ]
research/structured-code-v1/research-report.pdf ADDED
Binary file (47.8 kB). View file
 
research/structured-code-v1/structured-curves.png ADDED

Git LFS Details

  • SHA256: dbb69ccc8a486b41fa99ef1acb535d6204a168ca68cd29395ad59e428ec90d62
  • Pointer size: 131 Bytes
  • Size of remote file: 164 kB
research/structured-code-v1/structured-curves.svg ADDED
research/structured-code-v1/tool-subtypes.json ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "original-64mib-32768",
4
+ "kind": "read_file_call",
5
+ "examples": 138,
6
+ "bytes": 23364,
7
+ "tokens": 8595,
8
+ "mean_tokens_per_example": 62.28260869565217
9
+ },
10
+ {
11
+ "name": "original-64mib-32768",
12
+ "kind": "apply_patch_call",
13
+ "examples": 120,
14
+ "bytes": 113181,
15
+ "tokens": 37223,
16
+ "mean_tokens_per_example": 310.19166666666666
17
+ },
18
+ {
19
+ "name": "original-64mib-32768",
20
+ "kind": "tool_result",
21
+ "examples": 134,
22
+ "bytes": 780904,
23
+ "tokens": 235899,
24
+ "mean_tokens_per_example": 1760.4402985074628
25
+ },
26
+ {
27
+ "name": "original-64mib-32768",
28
+ "kind": "schema_and_search_call",
29
+ "examples": 120,
30
+ "bytes": 48233,
31
+ "tokens": 13373,
32
+ "mean_tokens_per_example": 111.44166666666666
33
+ },
34
+ {
35
+ "name": "original-64mib-16384",
36
+ "kind": "read_file_call",
37
+ "examples": 138,
38
+ "bytes": 23364,
39
+ "tokens": 9395,
40
+ "mean_tokens_per_example": 68.07971014492753
41
+ },
42
+ {
43
+ "name": "original-64mib-16384",
44
+ "kind": "apply_patch_call",
45
+ "examples": 120,
46
+ "bytes": 113181,
47
+ "tokens": 39947,
48
+ "mean_tokens_per_example": 332.89166666666665
49
+ },
50
+ {
51
+ "name": "original-64mib-16384",
52
+ "kind": "tool_result",
53
+ "examples": 134,
54
+ "bytes": 780904,
55
+ "tokens": 254590,
56
+ "mean_tokens_per_example": 1899.9253731343283
57
+ },
58
+ {
59
+ "name": "original-64mib-16384",
60
+ "kind": "schema_and_search_call",
61
+ "examples": 120,
62
+ "bytes": 48233,
63
+ "tokens": 14025,
64
+ "mean_tokens_per_example": 116.875
65
+ },
66
+ {
67
+ "name": "original-64mib-50000",
68
+ "kind": "read_file_call",
69
+ "examples": 138,
70
+ "bytes": 23364,
71
+ "tokens": 8369,
72
+ "mean_tokens_per_example": 60.64492753623188
73
+ },
74
+ {
75
+ "name": "original-64mib-50000",
76
+ "kind": "apply_patch_call",
77
+ "examples": 120,
78
+ "bytes": 113181,
79
+ "tokens": 35332,
80
+ "mean_tokens_per_example": 294.43333333333334
81
+ },
82
+ {
83
+ "name": "original-64mib-50000",
84
+ "kind": "tool_result",
85
+ "examples": 134,
86
+ "bytes": 780904,
87
+ "tokens": 227370,
88
+ "mean_tokens_per_example": 1696.7910447761194
89
+ },
90
+ {
91
+ "name": "original-64mib-50000",
92
+ "kind": "schema_and_search_call",
93
+ "examples": 120,
94
+ "bytes": 48233,
95
+ "tokens": 12785,
96
+ "mean_tokens_per_example": 106.54166666666667
97
+ },
98
+ {
99
+ "name": "original-128mib-16384",
100
+ "kind": "read_file_call",
101
+ "examples": 138,
102
+ "bytes": 23364,
103
+ "tokens": 9384,
104
+ "mean_tokens_per_example": 68.0
105
+ },
106
+ {
107
+ "name": "original-128mib-16384",
108
+ "kind": "apply_patch_call",
109
+ "examples": 120,
110
+ "bytes": 113181,
111
+ "tokens": 40035,
112
+ "mean_tokens_per_example": 333.625
113
+ },
114
+ {
115
+ "name": "original-128mib-16384",
116
+ "kind": "tool_result",
117
+ "examples": 134,
118
+ "bytes": 780904,
119
+ "tokens": 253705,
120
+ "mean_tokens_per_example": 1893.3208955223881
121
+ },
122
+ {
123
+ "name": "original-128mib-16384",
124
+ "kind": "schema_and_search_call",
125
+ "examples": 120,
126
+ "bytes": 48233,
127
+ "tokens": 13902,
128
+ "mean_tokens_per_example": 115.85
129
+ },
130
+ {
131
+ "name": "original-128mib-32768",
132
+ "kind": "read_file_call",
133
+ "examples": 138,
134
+ "bytes": 23364,
135
+ "tokens": 8461,
136
+ "mean_tokens_per_example": 61.31159420289855
137
+ },
138
+ {
139
+ "name": "original-128mib-32768",
140
+ "kind": "apply_patch_call",
141
+ "examples": 120,
142
+ "bytes": 113181,
143
+ "tokens": 37017,
144
+ "mean_tokens_per_example": 308.475
145
+ },
146
+ {
147
+ "name": "original-128mib-32768",
148
+ "kind": "tool_result",
149
+ "examples": 134,
150
+ "bytes": 780904,
151
+ "tokens": 235371,
152
+ "mean_tokens_per_example": 1756.5
153
+ },
154
+ {
155
+ "name": "original-128mib-32768",
156
+ "kind": "schema_and_search_call",
157
+ "examples": 120,
158
+ "bytes": 48233,
159
+ "tokens": 13007,
160
+ "mean_tokens_per_example": 108.39166666666667
161
+ },
162
+ {
163
+ "name": "original-128mib-50000",
164
+ "kind": "read_file_call",
165
+ "examples": 138,
166
+ "bytes": 23364,
167
+ "tokens": 8365,
168
+ "mean_tokens_per_example": 60.61594202898551
169
+ },
170
+ {
171
+ "name": "original-128mib-50000",
172
+ "kind": "apply_patch_call",
173
+ "examples": 120,
174
+ "bytes": 113181,
175
+ "tokens": 35323,
176
+ "mean_tokens_per_example": 294.35833333333335
177
+ },
178
+ {
179
+ "name": "original-128mib-50000",
180
+ "kind": "tool_result",
181
+ "examples": 134,
182
+ "bytes": 780904,
183
+ "tokens": 227570,
184
+ "mean_tokens_per_example": 1698.2835820895523
185
+ },
186
+ {
187
+ "name": "original-128mib-50000",
188
+ "kind": "schema_and_search_call",
189
+ "examples": 120,
190
+ "bytes": 48233,
191
+ "tokens": 12805,
192
+ "mean_tokens_per_example": 106.70833333333333
193
+ },
194
+ {
195
+ "name": "original-256mib-16384",
196
+ "kind": "read_file_call",
197
+ "examples": 138,
198
+ "bytes": 23364,
199
+ "tokens": 9380,
200
+ "mean_tokens_per_example": 67.97101449275362
201
+ },
202
+ {
203
+ "name": "original-256mib-16384",
204
+ "kind": "apply_patch_call",
205
+ "examples": 120,
206
+ "bytes": 113181,
207
+ "tokens": 40021,
208
+ "mean_tokens_per_example": 333.5083333333333
209
+ },
210
+ {
211
+ "name": "original-256mib-16384",
212
+ "kind": "tool_result",
213
+ "examples": 134,
214
+ "bytes": 780904,
215
+ "tokens": 253622,
216
+ "mean_tokens_per_example": 1892.7014925373135
217
+ },
218
+ {
219
+ "name": "original-256mib-16384",
220
+ "kind": "schema_and_search_call",
221
+ "examples": 120,
222
+ "bytes": 48233,
223
+ "tokens": 13887,
224
+ "mean_tokens_per_example": 115.725
225
+ },
226
+ {
227
+ "name": "original-256mib-32768",
228
+ "kind": "read_file_call",
229
+ "examples": 138,
230
+ "bytes": 23364,
231
+ "tokens": 8455,
232
+ "mean_tokens_per_example": 61.268115942028984
233
+ },
234
+ {
235
+ "name": "original-256mib-32768",
236
+ "kind": "apply_patch_call",
237
+ "examples": 120,
238
+ "bytes": 113181,
239
+ "tokens": 36954,
240
+ "mean_tokens_per_example": 307.95
241
+ },
242
+ {
243
+ "name": "original-256mib-32768",
244
+ "kind": "tool_result",
245
+ "examples": 134,
246
+ "bytes": 780904,
247
+ "tokens": 234845,
248
+ "mean_tokens_per_example": 1752.5746268656717
249
+ },
250
+ {
251
+ "name": "original-256mib-32768",
252
+ "kind": "schema_and_search_call",
253
+ "examples": 120,
254
+ "bytes": 48233,
255
+ "tokens": 12998,
256
+ "mean_tokens_per_example": 108.31666666666666
257
+ },
258
+ {
259
+ "name": "original-512mib-16384",
260
+ "kind": "read_file_call",
261
+ "examples": 138,
262
+ "bytes": 23364,
263
+ "tokens": 9937,
264
+ "mean_tokens_per_example": 72.0072463768116
265
+ },
266
+ {
267
+ "name": "original-512mib-16384",
268
+ "kind": "apply_patch_call",
269
+ "examples": 120,
270
+ "bytes": 113181,
271
+ "tokens": 40599,
272
+ "mean_tokens_per_example": 338.325
273
+ },
274
+ {
275
+ "name": "original-512mib-16384",
276
+ "kind": "tool_result",
277
+ "examples": 134,
278
+ "bytes": 780904,
279
+ "tokens": 253895,
280
+ "mean_tokens_per_example": 1894.7388059701493
281
+ },
282
+ {
283
+ "name": "original-512mib-16384",
284
+ "kind": "schema_and_search_call",
285
+ "examples": 120,
286
+ "bytes": 48233,
287
+ "tokens": 14968,
288
+ "mean_tokens_per_example": 124.73333333333333
289
+ },
290
+ {
291
+ "name": "original-256mib-50000",
292
+ "kind": "read_file_call",
293
+ "examples": 138,
294
+ "bytes": 23364,
295
+ "tokens": 8366,
296
+ "mean_tokens_per_example": 60.6231884057971
297
+ },
298
+ {
299
+ "name": "original-256mib-50000",
300
+ "kind": "apply_patch_call",
301
+ "examples": 120,
302
+ "bytes": 113181,
303
+ "tokens": 35267,
304
+ "mean_tokens_per_example": 293.89166666666665
305
+ },
306
+ {
307
+ "name": "original-256mib-50000",
308
+ "kind": "tool_result",
309
+ "examples": 134,
310
+ "bytes": 780904,
311
+ "tokens": 226705,
312
+ "mean_tokens_per_example": 1691.8283582089553
313
+ },
314
+ {
315
+ "name": "original-256mib-50000",
316
+ "kind": "schema_and_search_call",
317
+ "examples": 120,
318
+ "bytes": 48233,
319
+ "tokens": 12799,
320
+ "mean_tokens_per_example": 106.65833333333333
321
+ },
322
+ {
323
+ "name": "original-512mib-32768",
324
+ "kind": "read_file_call",
325
+ "examples": 138,
326
+ "bytes": 23364,
327
+ "tokens": 8446,
328
+ "mean_tokens_per_example": 61.20289855072464
329
+ },
330
+ {
331
+ "name": "original-512mib-32768",
332
+ "kind": "apply_patch_call",
333
+ "examples": 120,
334
+ "bytes": 113181,
335
+ "tokens": 36492,
336
+ "mean_tokens_per_example": 304.1
337
+ },
338
+ {
339
+ "name": "original-512mib-32768",
340
+ "kind": "tool_result",
341
+ "examples": 134,
342
+ "bytes": 780904,
343
+ "tokens": 234429,
344
+ "mean_tokens_per_example": 1749.4701492537313
345
+ },
346
+ {
347
+ "name": "original-512mib-32768",
348
+ "kind": "schema_and_search_call",
349
+ "examples": 120,
350
+ "bytes": 48233,
351
+ "tokens": 13004,
352
+ "mean_tokens_per_example": 108.36666666666666
353
+ },
354
+ {
355
+ "name": "original-512mib-50000",
356
+ "kind": "read_file_call",
357
+ "examples": 138,
358
+ "bytes": 23364,
359
+ "tokens": 8360,
360
+ "mean_tokens_per_example": 60.57971014492754
361
+ },
362
+ {
363
+ "name": "original-512mib-50000",
364
+ "kind": "apply_patch_call",
365
+ "examples": 120,
366
+ "bytes": 113181,
367
+ "tokens": 35096,
368
+ "mean_tokens_per_example": 292.46666666666664
369
+ },
370
+ {
371
+ "name": "original-512mib-50000",
372
+ "kind": "tool_result",
373
+ "examples": 134,
374
+ "bytes": 780904,
375
+ "tokens": 226557,
376
+ "mean_tokens_per_example": 1690.7238805970148
377
+ },
378
+ {
379
+ "name": "original-512mib-50000",
380
+ "kind": "schema_and_search_call",
381
+ "examples": 120,
382
+ "bytes": 48233,
383
+ "tokens": 12541,
384
+ "mean_tokens_per_example": 104.50833333333334
385
+ },
386
+ {
387
+ "name": "original-1024mib-16384",
388
+ "kind": "read_file_call",
389
+ "examples": 138,
390
+ "bytes": 23364,
391
+ "tokens": 9385,
392
+ "mean_tokens_per_example": 68.0072463768116
393
+ },
394
+ {
395
+ "name": "original-1024mib-16384",
396
+ "kind": "apply_patch_call",
397
+ "examples": 120,
398
+ "bytes": 113181,
399
+ "tokens": 40140,
400
+ "mean_tokens_per_example": 334.5
401
+ },
402
+ {
403
+ "name": "original-1024mib-16384",
404
+ "kind": "tool_result",
405
+ "examples": 134,
406
+ "bytes": 780904,
407
+ "tokens": 253793,
408
+ "mean_tokens_per_example": 1893.9776119402984
409
+ },
410
+ {
411
+ "name": "original-1024mib-16384",
412
+ "kind": "schema_and_search_call",
413
+ "examples": 120,
414
+ "bytes": 48233,
415
+ "tokens": 14005,
416
+ "mean_tokens_per_example": 116.70833333333333
417
+ },
418
+ {
419
+ "name": "original-1024mib-32768",
420
+ "kind": "read_file_call",
421
+ "examples": 138,
422
+ "bytes": 23364,
423
+ "tokens": 8431,
424
+ "mean_tokens_per_example": 61.094202898550726
425
+ },
426
+ {
427
+ "name": "original-1024mib-32768",
428
+ "kind": "apply_patch_call",
429
+ "examples": 120,
430
+ "bytes": 113181,
431
+ "tokens": 36385,
432
+ "mean_tokens_per_example": 303.2083333333333
433
+ },
434
+ {
435
+ "name": "original-1024mib-32768",
436
+ "kind": "tool_result",
437
+ "examples": 134,
438
+ "bytes": 780904,
439
+ "tokens": 234232,
440
+ "mean_tokens_per_example": 1748.0
441
+ },
442
+ {
443
+ "name": "original-1024mib-32768",
444
+ "kind": "schema_and_search_call",
445
+ "examples": 120,
446
+ "bytes": 48233,
447
+ "tokens": 12982,
448
+ "mean_tokens_per_example": 108.18333333333334
449
+ },
450
+ {
451
+ "name": "original-1024mib-50000",
452
+ "kind": "read_file_call",
453
+ "examples": 138,
454
+ "bytes": 23364,
455
+ "tokens": 8358,
456
+ "mean_tokens_per_example": 60.56521739130435
457
+ },
458
+ {
459
+ "name": "original-1024mib-50000",
460
+ "kind": "apply_patch_call",
461
+ "examples": 120,
462
+ "bytes": 113181,
463
+ "tokens": 35108,
464
+ "mean_tokens_per_example": 292.56666666666666
465
+ },
466
+ {
467
+ "name": "original-1024mib-50000",
468
+ "kind": "tool_result",
469
+ "examples": 134,
470
+ "bytes": 780904,
471
+ "tokens": 225118,
472
+ "mean_tokens_per_example": 1679.9850746268658
473
+ },
474
+ {
475
+ "name": "original-1024mib-50000",
476
+ "kind": "schema_and_search_call",
477
+ "examples": 120,
478
+ "bytes": 48233,
479
+ "tokens": 12780,
480
+ "mean_tokens_per_example": 106.5
481
+ },
482
+ {
483
+ "name": "original-2048mib-16384",
484
+ "kind": "read_file_call",
485
+ "examples": 138,
486
+ "bytes": 23364,
487
+ "tokens": 9380,
488
+ "mean_tokens_per_example": 67.97101449275362
489
+ },
490
+ {
491
+ "name": "original-2048mib-16384",
492
+ "kind": "apply_patch_call",
493
+ "examples": 120,
494
+ "bytes": 113181,
495
+ "tokens": 40089,
496
+ "mean_tokens_per_example": 334.075
497
+ },
498
+ {
499
+ "name": "original-2048mib-16384",
500
+ "kind": "tool_result",
501
+ "examples": 134,
502
+ "bytes": 780904,
503
+ "tokens": 253445,
504
+ "mean_tokens_per_example": 1891.3805970149253
505
+ },
506
+ {
507
+ "name": "original-2048mib-16384",
508
+ "kind": "schema_and_search_call",
509
+ "examples": 120,
510
+ "bytes": 48233,
511
+ "tokens": 14003,
512
+ "mean_tokens_per_example": 116.69166666666666
513
+ },
514
+ {
515
+ "name": "original-2048mib-50000",
516
+ "kind": "read_file_call",
517
+ "examples": 138,
518
+ "bytes": 23364,
519
+ "tokens": 8361,
520
+ "mean_tokens_per_example": 60.58695652173913
521
+ },
522
+ {
523
+ "name": "original-2048mib-50000",
524
+ "kind": "apply_patch_call",
525
+ "examples": 120,
526
+ "bytes": 113181,
527
+ "tokens": 35220,
528
+ "mean_tokens_per_example": 293.5
529
+ },
530
+ {
531
+ "name": "original-2048mib-50000",
532
+ "kind": "tool_result",
533
+ "examples": 134,
534
+ "bytes": 780904,
535
+ "tokens": 226049,
536
+ "mean_tokens_per_example": 1686.9328358208954
537
+ },
538
+ {
539
+ "name": "original-2048mib-50000",
540
+ "kind": "schema_and_search_call",
541
+ "examples": 120,
542
+ "bytes": 48233,
543
+ "tokens": 12769,
544
+ "mean_tokens_per_example": 106.40833333333333
545
+ },
546
+ {
547
+ "name": "original-2048mib-32768",
548
+ "kind": "read_file_call",
549
+ "examples": 138,
550
+ "bytes": 23364,
551
+ "tokens": 8443,
552
+ "mean_tokens_per_example": 61.18115942028985
553
+ },
554
+ {
555
+ "name": "original-2048mib-32768",
556
+ "kind": "apply_patch_call",
557
+ "examples": 120,
558
+ "bytes": 113181,
559
+ "tokens": 36917,
560
+ "mean_tokens_per_example": 307.64166666666665
561
+ },
562
+ {
563
+ "name": "original-2048mib-32768",
564
+ "kind": "tool_result",
565
+ "examples": 134,
566
+ "bytes": 780904,
567
+ "tokens": 234319,
568
+ "mean_tokens_per_example": 1748.6492537313434
569
+ },
570
+ {
571
+ "name": "original-2048mib-32768",
572
+ "kind": "schema_and_search_call",
573
+ "examples": 120,
574
+ "bytes": 48233,
575
+ "tokens": 12887,
576
+ "mean_tokens_per_example": 107.39166666666667
577
+ },
578
+ {
579
+ "name": "focused-64mib-16384",
580
+ "kind": "read_file_call",
581
+ "examples": 138,
582
+ "bytes": 23364,
583
+ "tokens": 7389,
584
+ "mean_tokens_per_example": 53.54347826086956
585
+ },
586
+ {
587
+ "name": "focused-64mib-16384",
588
+ "kind": "apply_patch_call",
589
+ "examples": 120,
590
+ "bytes": 113181,
591
+ "tokens": 32032,
592
+ "mean_tokens_per_example": 266.93333333333334
593
+ },
594
+ {
595
+ "name": "focused-64mib-16384",
596
+ "kind": "tool_result",
597
+ "examples": 134,
598
+ "bytes": 780904,
599
+ "tokens": 214219,
600
+ "mean_tokens_per_example": 1598.6492537313434
601
+ },
602
+ {
603
+ "name": "focused-64mib-16384",
604
+ "kind": "schema_and_search_call",
605
+ "examples": 120,
606
+ "bytes": 48233,
607
+ "tokens": 10136,
608
+ "mean_tokens_per_example": 84.46666666666667
609
+ },
610
+ {
611
+ "name": "focused-64mib-32768",
612
+ "kind": "read_file_call",
613
+ "examples": 138,
614
+ "bytes": 23364,
615
+ "tokens": 7157,
616
+ "mean_tokens_per_example": 51.86231884057971
617
+ },
618
+ {
619
+ "name": "focused-64mib-32768",
620
+ "kind": "apply_patch_call",
621
+ "examples": 120,
622
+ "bytes": 113181,
623
+ "tokens": 30871,
624
+ "mean_tokens_per_example": 257.2583333333333
625
+ },
626
+ {
627
+ "name": "focused-64mib-32768",
628
+ "kind": "tool_result",
629
+ "examples": 134,
630
+ "bytes": 780904,
631
+ "tokens": 203681,
632
+ "mean_tokens_per_example": 1520.0074626865671
633
+ },
634
+ {
635
+ "name": "focused-64mib-32768",
636
+ "kind": "schema_and_search_call",
637
+ "examples": 120,
638
+ "bytes": 48233,
639
+ "tokens": 9994,
640
+ "mean_tokens_per_example": 83.28333333333333
641
+ },
642
+ {
643
+ "name": "focused-64mib-50000",
644
+ "kind": "read_file_call",
645
+ "examples": 138,
646
+ "bytes": 23364,
647
+ "tokens": 7111,
648
+ "mean_tokens_per_example": 51.528985507246375
649
+ },
650
+ {
651
+ "name": "focused-64mib-50000",
652
+ "kind": "apply_patch_call",
653
+ "examples": 120,
654
+ "bytes": 113181,
655
+ "tokens": 30310,
656
+ "mean_tokens_per_example": 252.58333333333334
657
+ },
658
+ {
659
+ "name": "focused-64mib-50000",
660
+ "kind": "tool_result",
661
+ "examples": 134,
662
+ "bytes": 780904,
663
+ "tokens": 199176,
664
+ "mean_tokens_per_example": 1486.3880597014925
665
+ },
666
+ {
667
+ "name": "focused-64mib-50000",
668
+ "kind": "schema_and_search_call",
669
+ "examples": 120,
670
+ "bytes": 48233,
671
+ "tokens": 9946,
672
+ "mean_tokens_per_example": 82.88333333333334
673
+ }
674
+ ]
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
variants/structured-code-v1-32768/config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "huggingface-tokenizers-json",
3
+ "vocab_size": 32768,
4
+ "special_tokens": {
5
+ "<|pad|>": 0,
6
+ "<|bos|>": 1,
7
+ "<|eos|>": 2,
8
+ "<|unk|>": 3
9
+ },
10
+ "normalization": null,
11
+ "pretokenization_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?\\p{L}+|\\p{N}{1,3}| ?[^\\s\\p{L}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
12
+ "add_prefix_space": false,
13
+ "automatic_bos_eos": false,
14
+ "padding": null,
15
+ "truncation": null,
16
+ "decode_skip_special_tokens_default_for_roundtrips": false,
17
+ "all_valid_UTF8_supported": true
18
+ }
variants/structured-code-v1-32768/evaluation.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "focused-64mib-32768",
3
+ "vocab": 32768,
4
+ "execution": "modal-cpu",
5
+ "tokenizer_sha256": "add5b2c7542e4efded329735825ecdcb94df1432617c3d3e4b7508aa459432f9",
6
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
7
+ "metrics": {
8
+ "python": {
9
+ "bytes": 2513044,
10
+ "tokens": 615688,
11
+ "examples": 512,
12
+ "roundtrip_failures": 0,
13
+ "unk_tokens": 0,
14
+ "bytes_per_token": 4.08168422967477,
15
+ "mean_tokens_per_example": 1202.515625,
16
+ "p95_tokens_per_example": 2184
17
+ },
18
+ "json": {
19
+ "bytes": 2782302,
20
+ "tokens": 722785,
21
+ "examples": 512,
22
+ "roundtrip_failures": 0,
23
+ "unk_tokens": 0,
24
+ "bytes_per_token": 3.849418568453966,
25
+ "mean_tokens_per_example": 1411.689453125,
26
+ "p95_tokens_per_example": 2514
27
+ },
28
+ "git_diff": {
29
+ "bytes": 187152,
30
+ "tokens": 52862,
31
+ "examples": 512,
32
+ "roundtrip_failures": 0,
33
+ "unk_tokens": 0,
34
+ "bytes_per_token": 3.5403881805455715,
35
+ "mean_tokens_per_example": 103.24609375,
36
+ "p95_tokens_per_example": 249
37
+ },
38
+ "tool_call": {
39
+ "bytes": 965682,
40
+ "tokens": 251703,
41
+ "examples": 512,
42
+ "roundtrip_failures": 0,
43
+ "unk_tokens": 0,
44
+ "bytes_per_token": 3.8365931276146887,
45
+ "mean_tokens_per_example": 491.607421875,
46
+ "p95_tokens_per_example": 2304
47
+ }
48
+ },
49
+ "fragmentation": {
50
+ "{\"name\":\"read_file\",\"arguments\":{\"path\":\"src/main.py\"}}": 14,
51
+ "diff --git a/main.py b/main.py\n@@ -1,2 +1,2 @@\n-old\n+new\n": 25,
52
+ "get_user_configuration": 3,
53
+ "\"additionalProperties\":false": 4,
54
+ "\"tool_call_id\":\"call_0123456789\"": 12
55
+ },
56
+ "correctness_passed": true,
57
+ "family": "focused",
58
+ "size_mib": 64
59
+ }
variants/structured-code-v1-32768/freeze-manifest.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "structured-code-bpe-v1",
3
+ "status": "frozen",
4
+ "vocab_size": 32768,
5
+ "files": {
6
+ "recipe.json": "a4328e99a51bee64daaee66efe25e80ce01a263d568a69a130b94f687edef407",
7
+ "config.json": "2a4fa59b0a93ebd0995f3ea308c01484647e9ede935e128b4dba163b384224aa",
8
+ "tokenizer.json": "add5b2c7542e4efded329735825ecdcb94df1432617c3d3e4b7508aa459432f9",
9
+ "evaluation.json": "922b0fc33a0c38f06eaedbf3497a50723f4c66ac4dd8f96267038ad64764d80f"
10
+ },
11
+ "contract": "Immutable. Record tokenizer SHA256 in shards and checkpoints. Prior tokenizer data must be retokenized in a new version."
12
+ }
variants/structured-code-v1-32768/recipe.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 20261016,
3
+ "target_bytes": 67108864,
4
+ "weights_percent": {
5
+ "python": 40,
6
+ "json": 20,
7
+ "git_diff": 20,
8
+ "tool_call": 20
9
+ },
10
+ "actual_bytes": {
11
+ "python": 26847131,
12
+ "json": 13424847,
13
+ "git_diff": 13421882,
14
+ "tool_call": 13422435
15
+ },
16
+ "training_examples": {
17
+ "python": 5059,
18
+ "json": 2290,
19
+ "git_diff": 33758,
20
+ "tool_call": 6555
21
+ },
22
+ "fitting_parents": 14911,
23
+ "evaluation_parents_per_category": 512,
24
+ "train_sha256": "cdc34355495f1c21bba4742ac11e9bcc0a0d0df836ab49eed9a1e01f97ab9a09",
25
+ "evaluation_sha256": "a9a82723c1e78b46ec52b33b81551a61a5498e46ac73a6f09e4c0da9e27775a0",
26
+ "source_train_sha256": "5e1c04e310375d9922e008142e7d9813f56e541918b729dd7764eaec3ffbadea",
27
+ "source_validation_sha256": "611010954c9c48ccad9b9a28f7377d56ab180373b5e7eb76fe87ab723b2b8040",
28
+ "implementation_sha256": "cd1f6e5351aad5acce1a1021af649c4dd8a099c2b0d506e7cc67cd5aee230163",
29
+ "limitations": [
30
+ "Python excerpts from the existing pinned codeparrot corpus, not necessarily complete parseable files",
31
+ "JSON, tool calls and patches are generated controlled fixtures, not independent production traces",
32
+ "Fitting/evaluation parents are disjoint; generator templates are shared",
33
+ "Each category quota includes its final whole example, so 64 MiB is approximate",
34
+ "Unified diffs cover insertions, deletions and identifier replacements, but not binary patches or renames",
35
+ "One fitting seed; no model-level tool-call or code-generation correctness measured"
36
+ ]
37
+ }
variants/structured-code-v1-32768/special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "pad_token": "<|pad|>",
3
+ "bos_token": "<|bos|>",
4
+ "eos_token": "<|eos|>",
5
+ "unk_token": "<|unk|>"
6
+ }
variants/structured-code-v1-32768/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
variants/structured-code-v1-32768/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer_class": "PreTrainedTokenizerFast",
3
+ "clean_up_tokenization_spaces": false,
4
+ "model_input_names": [
5
+ "input_ids",
6
+ "attention_mask"
7
+ ],
8
+ "add_bos_token": false,
9
+ "add_eos_token": false,
10
+ "pad_token": "<|pad|>",
11
+ "bos_token": "<|bos|>",
12
+ "eos_token": "<|eos|>",
13
+ "unk_token": "<|unk|>"
14
+ }