Skip to content

Commit a1cd674

Browse files
authored
final 1/x
1 parent c7fe31f commit a1cd674

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ crossover point.
1616
<img width="683" height="510" alt="image" src="https://github.com/user-attachments/assets/ff804955-1bdb-468b-948d-539958bd67df" />
1717
</p>
1818

19-
## Reimplemented Files
19+
## Reimplemented files
2020

2121
We reimplemented BLT architecture is concentrated in four files:
2222

@@ -42,7 +42,7 @@ We reimplemented BLT architecture is concentrated in four files:
4242
We intentionally left distributed/runtime infrastructure mostly intact and
4343
focused on the model code that defines the architecture.
4444

45-
## Patching And Representations
45+
## Patching, representations
4646

4747
The patch-length embedding experiment is implemented in `bytelatent/model/blt.py`.
4848
After the local encoder builds patch states, the model can convert `patch_lengths`
@@ -51,7 +51,7 @@ patch states before the global transformer. This is controlled by
5151
`use_patch_length_sinusoidal_embedding` and enabled in
5252
`bytelatent/configs/patch_len_embeddings.yaml`.
5353

54-
## GPT-2 Baseline
54+
## GPT-2 baseline
5555

5656
`apps/main/train_distilgpt2.py` is the HuggingFace GPT-2 baseline trainer we made to compare with the BLT architecture. It builds a `GPT2LMHeadModel` from config, streams FineWeb-Edu text, tokenizes with
5757
the `distilgpt2` BPE tokenizer, trains with AdamW and cosine LR, logs BPB using
@@ -73,7 +73,7 @@ Older GPT-2-shaped configs also exist in `apps/main/configs/distilgpt2_83m*.yaml
7373
Those follow the repo's BLT training-config shape and were useful during setup,
7474
but the HF trainer path above is the original baseline path.
7575

76-
## Training Configs
76+
## Training configs
7777

7878
The BLT configs inherit from each other using the `config:` key.
7979

@@ -98,7 +98,7 @@ The BLT configs inherit from each other using the `config:` key.
9898
This uses `use_patch_length_sinusoidal_embedding` so the global transformer sees
9999
patch length as an extra signal.
100100

101-
## Experiment Summary
101+
## Experiment summary
102102

103103
| Variant | Config | N-gram | Params | BPB |
104104
| --- | --- | --- | --- | --- |
@@ -115,7 +115,7 @@ Shrinking either local side too aggressively creates a bottleneck. A concentrate
115115
n-gram lengths with smaller tables, and sinusoidal patch-length embeddings gave
116116
us a direct patch-representation ablation.
117117

118-
## Environment Setup
118+
## Env setups
119119

120120
To run experiments on Prime Intellect H100s, we needed a repeatable way to turn
121121
a fresh Ubuntu GPU box into a BLT training machine. `setup/create_env_uv.sh`

0 commit comments

Comments
 (0)