StellarAI-Tiny is a from-scratch, bilingual (Chinese + English) causal language model with multimodal vision support. Designed for educational and prototyping purposes, it requires minimal hardware and ships with a built-in plugin system for tool calling.
Feature
Description
Lightweight
50M parameters, ~93MB weights
CPU-friendly
Runs smoothly on CPU with 4GB RAM
Transformer
4-layer text encoder + RoPE positional encoding
Multimodal
CNN + ViT hybrid vision encoder + cross-attention fusion
Bilingual
Chinese + English mixed tokenization & generation
License
MIT — fully permissive for commercial use
Plugins
Built-in calculator, knowledge base, translator, text tools, time queries
19,846 lines of bilingual data (AI, CS, NLP, math, programming, reasoning, dialogue, plugins)
Optimizer
AdamW (lr=3e-4, wd=0.01)
LR Schedule
Cosine annealing + Warmup (100 steps)
Batch size
4
Sequence length
128
Gradient clipping
1.0
Final loss
4.06 (ppl ≈ 58)
Vocabulary size
11,030
Device
CPU
Training time
~3.2 hours
The training corpus was built from a mix of hand-crafted bilingual data, synthetic instruction-tuning data, and Chinese NLP datasets across 10+ domains. The model was trained with a next-token-prediction objective using the custom SimpleTokenizer (BPE).