Noor Mini v1.0
A ~25M parameter decoder-only Transformer trained from scratch on TinyStories. The second model in the Noor / ARK AI portfolio, following Noor Nano v1.0 (10.5M, val perplexity 10.84).
Author: Noorullah Zamindar (Noor-Khan)
Version: v1.0
Parameters: 25,178,880 (verified — see training code)
Architecture: 8 layers, d_model 384, 8 heads, SwiGLU MLP 1536, RoPE, pre-LayerNorm, BPE vocab 8192, context 512
Training: causal language modeling from random initialization, AdamW lr 3e-4, cosine schedule, bf16, 1 epoch
Dataset: TinyStories (roneneldan/TinyStories), 300,000 stories for the default run, train/val/test split 300,000 / 2,000 / 2,000 stories, tokenizer trained on train stories only
Hardware: NVIDIA GeForce RTX 4060, 8.59 GB VRAM, Windows 11, Python 3.11.6, torch 2.11.0+cu128
Training time: ~30 minutes, 3967 steps, ~71k tok/s, peak VRAM 4.948 GB
Intended use
Simple story-like text generation and learning how a small Transformer is trained end to end. Not a general chatbot, not for factual answers, not for sensitive decisions.
Limitations
- 25M parameters, trained only on simple children's stories — vocabulary and world knowledge are very limited.
- Output can be repetitive, incoherent, or nonsensical.
- No instruction tuning, no safety alignment, no RLHF.
- English only, simple sentences.
Evaluation
Real results from training on 2026-11-25, RTX 4060, 1 epoch on TinyStories.
| Split | Loss | Perplexity |
|---|---|---|
| Validation | 1.9098 | 6.75 |
| Test | 1.8754 | 6.52 |
Final training val loss 1.9180, perplexity 6.81. Random baseline perplexity is 8192 (vocab size). Noor Nano v1.0, the 10.5M predecessor, scored val 2.3831 / 10.84 and test 2.3431 / 10.41 — Noor Mini should beat that.
How to use
# After export, load with the project code (see repo):
# python scripts/inference.py --checkpoint checkpoints/noor-mini-v1.0/latest.pt --prompt "Once upon a time"
Training data
TinyStories — synthetic short stories. Check the dataset licence on its Hugging Face page before commercial use.
Base model
None. This model was trained from scratch with random weight initialization. No fine-tuning, no distillation from another model.