Demo models [proof-of-concept, ablation]
Collection
Frozen embedding LMs (en/ru/zh). Baselines: frozen vs unfrozen embedding ablation.
β’
7 items
β’
Updated
This repository contains the model and associated resources from the papers
demo_bvv_unfrozen_zh is a 500M parameter Causal Language Model (LM) trained as an open proof-of-concept for the "frozen embeddings" paradigm. This version uses fully trainable token embeddings β a standard setup β and serves as a baseline for direct comparison with the corresponding "frozen-embedding" model Bochkov/demo_bvv_zh.
| Model | Total Params | MMLU avg (%) | BLEU en-zh (%) | BLEU zh-en (%) |
|---|---|---|---|---|
| Bochkov/demo_bvv_zh (frozen) | 0.5B | 19.4 | 1.41 | 7.78 |
| Bochkov/demo_bvv_unfrozen_zh (baseline) | 0.5B | 14.0 | 1.65 | 5.93 |
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained('Bochkov/demo_bvv_unfrozen_zh', trust_remote_code=True).to('cuda')
tokenizer = AutoTokenizer.from_pretrained('Bochkov/demo_bvv_unfrozen_zh')
inputs = tokenizer("Hello, world! ", return_tensors="pt").to('cuda')
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.8,
top_k=50,
top_p=0.95,
do_sample=True
)
print(tokenizer.decode(outputs[0]))
If you find this work helpful or inspiring, please consider citing the associated papers:
@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},
}