BananaMind-2-Mini is a small decoder-only causal language model trained from scratch by BananaMind on a 30B-token curriculum.
It is our first model in the BananaMind 2 Series!
The model has 25,178,752 parameters, a 4,096 token context window, and a custom 8k-token digit-aware byte-level BPE tokenizer.
Model Details
Field
Value
Parameters
25,178,752
Architecture
BananaMind2Mini decoder-only Transformer
Layers
14
Hidden size
384
Intermediate size
1,024
Attention heads
6
KV heads
2
Head dim
64
Attention style
Grouped-query attention with QK norm
MLP
SwiGLU
Position embeddings
RoPE
RoPE theta
100,000
Normalization
RMSNorm
RMSNorm epsilon
1e-6
Vocab size
8,192
Context length
4,096
Embeddings
Tied input/output embeddings
Weight format
safetensors
HF architecture
BananaMind2MiniForCausalLM
HF model type
bananamind2_mini
Final checkpoint
runs/bananamind2-mini/final.pt
Final training step
55,485
Tokens seen
29,999,726,592
Credits to AxiomicLabs and GPT X2 125M for the architecture inspiration.
Tokenizer
BananaMind-2-Mini uses a custom 8k byte-level BPE tokenizer trained from FineWeb-Edu text with digit-aware pre-tokenization.
Digits are kept as separate tokens so numbers do not collapse into large number tokens during tokenization.
Digit IDs:
Token
ID
0
19
1
20
2
21
3
22
4
23
5
24
6
25
7
26
8
27
9
28
Examples:
text
118 -> [20, 27]
2227 -> [21, 21, 26]
Special token IDs:
Token
ID
<pad>
0
<bos>
1
<eos>
2
<unk>
3
Training Data
BananaMind-2-Mini was trained on a 30B-token mix of web, educational, synthetic textbook, and math data.
Dataset
Target Tokens
Share
FineWeb-Edu
16.5B
55%
DCLM
9.0B
30%
Cosmopedia-v2
3.0B
10%
FineMath-4+
1.5B
5%
Total
30.0B
100%
The run used a progressive curriculum rather than sampling the final aggregate mix from the first token.
BananaMind-2-Mini is intended for lightweight language-model research, local experimentation, text continuation, tokenizer experiments, and small-model training comparisons.
Because this is a base model, prompts should be written as continuation prompts rather than chat messages.