This is a
9-layer decoder-only Transformer
trained with a
constructive, layer-wise growth
procedure (layers are added and trained progressively while previously trained parts are frozen). Unlike the “frozen-substrate” variants, this model starts with
standard trainable token embeddings
and is trained
monolithically for the first stage (layers 1–3 + embeddings all trainable)
. After that first stage converges, the
embedding layer and the first 3 layers are frozen
, then layers
4–6
are trained, frozen, and finally layers
7–9
are trained. This model exists to isolate the effect of the
growth procedure without a frozen embedding substrate at initialization
.
Main comparison (why this repo exists)
This model is intended to be compared primarily against:
All these models share the
same Transformer stack design
in the controlled study (same depth and same
d_model / n_head
), but differ in the
embedding substrate and what is frozen when
.
Important: parameter count difference (why this model is larger than 16-bit)
This checkpoint is
larger (≈247M parameters)
than the 16-bit constructive model (≈181M)
primarily because it uses a full-size embedding matrix
(standard learned embeddings at
d_model
, with
vocab_size = 65,536
), whereas the 16-bit model uses a tiny
n_embed = 16
embedding that is deterministically expanded to
d_model
.
Even with the
same Transformer blocks
, the embedding matrix dominates a large chunk of parameters when
vocab_size
is large and
n_embed = d_model
.
Note: exact parameter totals can differ slightly across implementations (e.g., weight tying vs separate LM head). The key reason for the size gap is the
embedding dimensionality
(full
d_model
vs
16
).
Training method (constructive growth schedule)
This model was trained in
three stages
(controlled study setup):
Reproducibility note:
even with the same tokenizer, this repo also includes
embedding artifacts specific to this model
, so for exact reproduction it is recommended to load the tokenizer from
this
model repo.
How to use (Transformers)
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Bochkov/growing-transformers-model-unfrozen-1-9-247m")
model = AutoModelForCausalLM.from_pretrained("Bochkov/growing-transformers-model-unfrozen-1-9-247m", trust_remote_code=True).to('cuda')
inputs = torch.tensor([tokenizer.encode("Write a short poem about the ocean. ")], dtype=torch.long, device='cuda')
outputs = model.generate(
inputs,
max_new_tokens=50,
do_sample=False
)
print(tokenizer.decode(outputs[0].tolist()))
#Write a short poem about the ocean. The poem was written by the author of the poem The Lord of the Rings, and was published in
inputs = torch.tensor([tokenizer.encode("Question: What is the capital of India?\nAnswer:")], dtype=torch.long, device='cuda')
outputs = model.generate(
inputs,
max_new_tokens=10,
do_sample=False
)
print(tokenizer.decode(outputs[0].tolist()))
#Question: What is the capital of India?#Answer:San Francisco de Pa
🧑🔬 Citation & Concept
If you use this model or the underlying concepts in your research, please cite our work:
@article{
bochkov2025emergent,
title={Emergent Semantics Beyond Token Embeddings: Transformer {LM}s with Frozen Visual Unicode Representations},
author={Andrey Bochkov},
journal={Transactions on Machine Learning Research},
issn={2835-8856},
year={2025},
url={https://openreview.net/forum?id=Odh8IynO1o},
note={}
}
@misc{bochkov2025growingtransformersmodularcomposition,
title={Growing Transformers: Modular Composition and Layer-wise Expansion on a Frozen Substrate},
author={A. Bochkov},
year={2025},
eprint={2507.07129},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2507.07129},
}
Runs of Bochkov growing-transformers-model-unfrozen-1-9-247m on huggingface.co
216
Total runs
3
24-hour runs
4
3-day runs
63
7-day runs
194
30-day runs
More Information About growing-transformers-model-unfrozen-1-9-247m huggingface.co Model
More growing-transformers-model-unfrozen-1-9-247m license Visit here:
growing-transformers-model-unfrozen-1-9-247m huggingface.co is an AI model on huggingface.co that provides growing-transformers-model-unfrozen-1-9-247m's model effect (), which can be used instantly with this Bochkov growing-transformers-model-unfrozen-1-9-247m model. huggingface.co supports a free trial of the growing-transformers-model-unfrozen-1-9-247m model, and also provides paid use of the growing-transformers-model-unfrozen-1-9-247m. Support call growing-transformers-model-unfrozen-1-9-247m model through api, including Node.js, Python, http.
growing-transformers-model-unfrozen-1-9-247m huggingface.co is an online trial and call api platform, which integrates growing-transformers-model-unfrozen-1-9-247m's modeling effects, including api services, and provides a free online trial of growing-transformers-model-unfrozen-1-9-247m, you can try growing-transformers-model-unfrozen-1-9-247m online for free by clicking the link below.
Bochkov growing-transformers-model-unfrozen-1-9-247m online free url in huggingface.co:
growing-transformers-model-unfrozen-1-9-247m is an open source model from GitHub that offers a free installation service, and any user can find growing-transformers-model-unfrozen-1-9-247m on GitHub to install. At the same time, huggingface.co provides the effect of growing-transformers-model-unfrozen-1-9-247m install, users can directly use growing-transformers-model-unfrozen-1-9-247m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
growing-transformers-model-unfrozen-1-9-247m install url in huggingface.co: