Noor Nano v1.0
A ~10M parameter decoder-only Transformer trained from scratch on TinyStories. The first model in the Noor / ARK AI portfolio.
Author: Noorullah Zamindar (Noor-Khan)
Version: v1.0
Parameters: 10,492,416 (verified — see training code)
Architecture: 6 layers, d_model 256, 8 heads, SwiGLU MLP 1024, 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), 150,000 stories for the default run, train/val/test split 150,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: ~10 minutes, 1957 steps, ~57k tok/s, peak VRAM 3.26 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
- 10M 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-24, RTX 4060, 1 epoch on TinyStories.
| Split | Loss | Perplexity |
|---|---|---|
| Validation | 2.3831 | 10.84 |
| Test | 2.3431 | 10.41 |
Final training val loss 2.3894, perplexity 10.91. Random baseline perplexity is 8192 (vocab size).
Sample, prompt "Once upon a time": "One day, a little girl named Lily wanted to play in the park. She went to the park with her mom and dad. They saw a big tree with a lot of leaves..."
How to use
# After export, load with the project code (see repo):
# python scripts/inference.py --checkpoint checkpoints/noor-nano-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.