The purpose of this checkpoint is to isolate
whether trainable/semantic input embeddings are necessary at all
.
Unlike
Model_UNI_GLYPH
, this model uses a
frozen 16-dimensional binary embedding
that contains
no glyph / visual information
— it effectively encodes only the
token identity
.
Key idea (what this ablation tests)
Vocabulary size is
65,536
, so a token index fits exactly into
16 bits
.
Each token is mapped to a
fixed 16-bit vector
(binary components), i.e. a deterministic token-ID representation.
This embedding layer is
frozen
for the entire training run.
To match the Transformer hidden size, the 16-dim embedding is expanded to 1024 via a
non-trainable repetition
:
repeat_interleave(64)
→
16 * 64 = 1024
.
So the model receives a full
d_model=1024
input vector, but the
learned semantic geometry is not coming from the embedding table
.
So the model is
architecturally identical in the Transformer backbone
(layers/heads/d_model), but has a
much smaller frozen embedding table
, which reduces total parameter count.
This is convenient for verifying the exact token→vector mapping for each token ID.
Note: Embeddings are shipped in this model repo (even though the tokenizer exists as a separate HF repo) to keep the model+embedding mapping self-contained and unambiguous.
Tokenizer
The intended tokenizer is
bvv241-2-3
(same vocab size and indexing):
You may load the tokenizer either from this model repo (if included) or from the standalone tokenizer repo. The key requirement is
exact vocab alignment
.
How to use (Transformers)
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Bochkov/emergent-semantics-model-16-bit-269m")
model = AutoModelForCausalLM.from_pretrained("Bochkov/emergent-semantics-model-16-bit-269m", 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:Nagano Prefecture
Intended use
This model is intended for
research only
, especially for:
Controlled comparisons vs
Model_UNI_GLYPH (glyph/PCA frozen embeddings)
and vs
trainable-embedding baselines
Studying whether
semantic structure emerges in Transformer blocks
even when the input embedding layer is
purely structural / token-ID-like
Interpretable ablation experiments on embedding initialization and freezing
Not intended for production deployment (no instruction tuning, safety tuning, or factuality guarantees).
emergent-semantics-model-16-bit-269m huggingface.co is an AI model on huggingface.co that provides emergent-semantics-model-16-bit-269m's model effect (), which can be used instantly with this Bochkov emergent-semantics-model-16-bit-269m model. huggingface.co supports a free trial of the emergent-semantics-model-16-bit-269m model, and also provides paid use of the emergent-semantics-model-16-bit-269m. Support call emergent-semantics-model-16-bit-269m model through api, including Node.js, Python, http.
emergent-semantics-model-16-bit-269m huggingface.co is an online trial and call api platform, which integrates emergent-semantics-model-16-bit-269m's modeling effects, including api services, and provides a free online trial of emergent-semantics-model-16-bit-269m, you can try emergent-semantics-model-16-bit-269m online for free by clicking the link below.
Bochkov emergent-semantics-model-16-bit-269m online free url in huggingface.co:
emergent-semantics-model-16-bit-269m is an open source model from GitHub that offers a free installation service, and any user can find emergent-semantics-model-16-bit-269m on GitHub to install. At the same time, huggingface.co provides the effect of emergent-semantics-model-16-bit-269m install, users can directly use emergent-semantics-model-16-bit-269m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
emergent-semantics-model-16-bit-269m install url in huggingface.co: