Bochkov commited on
Commit
b7ed6b3
·
verified ·
1 Parent(s): 2fe4e62

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - transformer
5
+ - causal-lm
6
+ - progressive-growth
7
+ - constructive-learning
8
+ - frozen-embeddings
9
+ - bvv
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ # Model Card for abs-bvv-2
14
+
15
+ ## Model Description
16
+
17
+ `abs-bvv-2` is a 1.5 billion parameter decoder-only Transformer model. It is the second model in the **Progressive Growth Transformers (PGT)** series, designed to explore how linguistic and reasoning capabilities emerge as a function of model depth.
18
+
19
+ This model was not trained monolithically. Instead, it was "grown" constructively, one layer at a time, upon a foundation of **frozen, non-semantic visual embeddings**, as introduced in the paper "[Emergent Semantics Beyond Token Embeddings: Transformer LMs with Frozen Visual Unicode Representations](arXiv.org)".
20
+
21
+ The core idea is to demonstrate an alternative, more modular and resource-efficient paradigm for building LLMs. The PGT series shows that:
22
+ 1. Semantic understanding can emerge without trainable embeddings.
23
+ 2. Complex reasoning abilities are a direct result of compositional depth.
24
+ 3. Models can be built incrementally, much like a living organism grows, rather than being forged all at once.
25
+
26
+ `abs-bvv-2` represents the state of the model after 2 layers of progressive training. It has 2 Transformer blocks, a hidden dimension of 4096, and uses the `bvv241` tokenizer family.
27
+
28
+ ## Intended Use
29
+
30
+ This model is primarily an artifact for research into emergent capabilities, constructive learning, and the role of embeddings in LLMs. It can be used for text generation, but it is not fine-tuned for specific downstream tasks and may produce unpredictable outputs. It is suitable for exploring the raw capabilities of a model trained under this novel paradigm.
31
+
32
+ ## Training Details
33
+ Architecture: 2-layer Decoder-Only Transformer (n_layer=2, d_model=4096, n_head=32).
34
+
35
+ Embeddings: The token embedding layer is frozen and derived from visual representations of Unicode glyphs. It is never updated during training.
36
+
37
+ Training Method: Progressive Layer-Wise Growth. The model was built by training one layer at a time. Layer 1 was trained to convergence, then frozen. Layer 2 was added and trained, etc. For deeper layers (5 and 6), LoRA was used to fine-tune all existing layers simultaneously with the new layer to ensure global coherence.
38
+
39
+ Parameters: Total: 1.5B.
40
+
41
+ Data: A ~9B token mix of Wikipedia and SFT datasets (10%).
42
+
43
+ ## Limitations and Bias
44
+
45
+ This model is a research prototype and has several limitations:
46
+
47
+ Not Instruction-Tuned: It is a base model and will not follow instructions or engage in dialogue reliably.
48
+
49
+ Potential for Hallucinations: Like all LLMs, it can generate factually incorrect or nonsensical text.
50
+
51
+ Data Bias: Trained primarily on Wikipedia, it will reflect the biases present in that corpus.
52
+
53
+ Limited Scope: The model was trained on a relatively small dataset (9B tokens) compared to state-of-the-art models. Its performance is intended to be evaluated relative to its own baseline (trainable embeddings) and shallower versions, not against giant commercial models.
54
+
55
+ ## Citation
56
+ If you use this model or the underlying concepts in your research, please cite our work:
57
+ Generated bibtex
58
+ @article{bochkov2025embeddings,
59
+ title={Emergent Semantics Beyond Token Embeddings: Transformer LMs with Frozen Visual Unicode Representations},
60
+ author={Bochkov, Andrey},
61
+ journal={arXiv preprint arXiv:XXXX.XXXXX},
62
+ year={2025}
63
+ }
64
+
65
+
66
+ ## How to Use
67
+
68
+ The model can be loaded using the `transformers` library. Note that `trust_remote_code=True` is required as it uses a custom model architecture.
69
+
70
+ ```python
71
+ from transformers import AutoModelForCausalLM, AutoTokenizer
72
+ import torch
73
+
74
+ tokenizer = AutoTokenizer.from_pretrained('Bochkov/abs-bvv-2')
75
+ model = AutoModelForCausalLM.from_pretrained('Bochkov/abs-bvv-2', trust_remote_code=True, torch_dtype=torch.bfloat16).to('cuda')
76
+
77
+ inputs = tokenizer("Hello, I am a language model ", return_tensors="pt").to('cuda')
78
+
79
+ # Generate text
80
+ outputs = model.generate(
81
+ **inputs,
82
+ max_new_tokens=100,
83
+ temperature=0.8,
84
+ top_k=50,
85
+ top_p=0.95,
86
+ do_sample=True
87
+ )
88
+
89
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))