All models

blt-1b (facebook)

A language model that reads raw bytes and groups them into variable-size patches instead of tokens.

Language · 379 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (24 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
5.2M
Operations
379
Framework
PyTorch
Recurrent
No
Published
ACL 2025
Cited by
17 (as of 9 October 2026)
Authors
Artidoro Pagnoni, Ramakanth Pasunuru, Pedro Rodriguez and others
Name in source
facebook:blt-1b
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4825
Graph hash
53c0c909faca6f417801a87e897dbbe9bda84f7cefc01cddd37c70cd3b2c448d
Skeleton hash
0e89c75b3ae6b2a94a8f17759ef6e0ac4c66093638579ab8c286db996ec4586a
Architecture hash
b1f386b0b31ba9231180ccd6a191ed289362d48022f5aa7a3a73c2a082b098d6
Diagram SHA-256
5c983d0e56b2a9c729d1c49ba02e1780f6acadf172bd9f8ae107b491ad75c574
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.blt:build_blt: build({})

What it is

About this model's family

The Byte Latent Transformer (BLT) is a byte-level language model architecture that is trained on raw bytes without a fixed vocabulary. It encodes bytes into dynamically sized patches, which serve as the primary units of computation. Patches are segmented by the entropy of the next byte, so more compute and model capacity go where the data is more complex.

BLT has three modules: a lightweight Local Encoder that encodes input bytes into patch representations, a computationally expensive Latent Transformer over patch representations, and a lightweight Local Decoder that decodes the next patch of bytes. In the encoder, a cross-attention layer after each transformer layer pools byte representations into patch representations. Hash n-gram embeddings map byte n-grams through a hash function to an index in an embedding table. The entropies come from a small byte-level auto-regressive language model.

The paper reports that BLT matches the training flop-controlled performance of Llama 3 while using up to 50% fewer flops at inference. Its scaling study covers byte-level models up to 8B parameters and 4T training bytes.

Key idea. BLT replaces fixed-vocabulary tokens with dynamically sized byte patches, segmented by next-byte entropy, as the primary units of computation in a language model.

  • byte latent transformer
  • blt
  • byte-level language model
  • tokenizer-free
  • byte patches
  • entropy patching
  • language modeling
  • raw bytes
  • latent transformer

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{pagnoni2024bytelatenttransformerpatches,
      title={Byte Latent Transformer: Patches Scale Better Than Tokens}, 
      author={Artidoro Pagnoni and Ram Pasunuru and Pedro Rodriguez and John Nguyen and Benjamin Muller and Margaret Li and Chunting Zhou and Lili Yu and Jason Weston and Luke Zettlemoyer and Gargi Ghosh and Mike Lewis and Ari Holtzman and Srinivasan Iyer},
      year={2024},
      eprint={2412.09871},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.09871}, 
}