File size: 972 Bytes
7c505e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
license: mit
tags:
  - text-generation
  - tiny-llm
  - from-scratch
  - gqa
  - swiglu
library_name: pytorch
---

# Tiny8MB v2 Chat

A **3.87M-parameter** modern decoder-only Transformer (~9.85 MB `.pt` checkpoint in FP16), trained **from scratch** on 2x Tesla T4 GPUs in **119.2 seconds** (Stage 1 Pretrain loss `1.881`, Stage 2 Balanced SFT loss `1.010`).

## Architecture
* **Params:** 3,868,928 (weight-tied embeddings)
* **Design:** RMSNorm + SwiGLU + Grouped-Query Attention (8 Q heads / 2 KV heads) + RoPE
* **Layers / Dim:** 4 layers, `d_model=256`, `mlp_dim=704`, `block_size=192`
* **Tokenizer:** 4,096-token BPE (`bpe_4096.json`)

## 220-Test Intelligence Index Benchmark
* **Strict Intelligence Index (195 Hard Tests):** **27.18 / 100** (53/195)
* **Overall Score (All 220 Tests incl. Stories):** **30.91 / 100** (68/220)
* Science & World QA: 45.7% | Instruction Following: 40.0% | Coding & CS: 34.3% | Context & Multi-Turn: 30.0% | Story Fluency: 60.0%