Downloads · 30 days
16
22% of all-time downloads
Bochkov/emergent-semantics-model-unfrozen-335m
emergent-semantics-model-unfrozen-335m is a text generation model from Bochkov. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository provides ModelUNFROZEN (335M) — a decoder-only Transformer language model trained in the standard setup with trainable input token embeddings.
Downloads · 30 days
16
22% of all-time downloads
All-time downloads
74
Public
Parameters
336M
1.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.3 GB · 74%
From the Hugging Face model README
This repository provides Model_UNFROZEN (335M) — a decoder-only Transformer language model trained in the standard setup with trainable input token embeddings.
It is released as the baseline for the paper:
📚 Paper (Growing Transformers: Modular Composition and Layer-wise Expansion on a Frozen Substrate) -
Primary goal: enable a controlled comparison against the frozen-embedding variant
Bochkov/emergent-semantics-model-uni-glyph-335m under identical architecture, tokenizer, and training regime.
Model_UNFROZEN is a conventional Transformer LM where:
This model exists to isolate the effect of freezing / changing the embedding layer.
It is not intended to be a best-performing standalone model.
d_model): 1024nn.Embedding)Bochkov/bvv241-2-3This model is intended for:
Not intended for production deployment. It is a research artifact trained under constrained compute/data to enable controlled comparisons.
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Bochkov/emergent-semantics-model-unfrozen-335m")
model = AutoModelForCausalLM.from_pretrained("Bochkov/emergent-semantics-model-unfrozen-335m", trust_remote_code=True).to('cuda')
inputs = torch.tensor([tokenizer.encode("Question: What is the capital of Japan?\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 Japan?
#Answer:Tokyo Metropolitan
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},
}