Upload Tiny8MB v2 chat model (27.18/100 Intelligence Index, 3.87M params)
Browse files- README.md +25 -0
- bpe_4096.json +0 -0
- config.json +17 -0
- tiny_llm_8mb_v2_chat.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- text-generation
|
| 5 |
+
- tiny-llm
|
| 6 |
+
- from-scratch
|
| 7 |
+
- gqa
|
| 8 |
+
- swiglu
|
| 9 |
+
library_name: pytorch
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Tiny8MB v2 Chat
|
| 13 |
+
|
| 14 |
+
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`).
|
| 15 |
+
|
| 16 |
+
## Architecture
|
| 17 |
+
* **Params:** 3,868,928 (weight-tied embeddings)
|
| 18 |
+
* **Design:** RMSNorm + SwiGLU + Grouped-Query Attention (8 Q heads / 2 KV heads) + RoPE
|
| 19 |
+
* **Layers / Dim:** 4 layers, `d_model=256`, `mlp_dim=704`, `block_size=192`
|
| 20 |
+
* **Tokenizer:** 4,096-token BPE (`bpe_4096.json`)
|
| 21 |
+
|
| 22 |
+
## 220-Test Intelligence Index Benchmark
|
| 23 |
+
* **Strict Intelligence Index (195 Hard Tests):** **27.18 / 100** (53/195)
|
| 24 |
+
* **Overall Score (All 220 Tests incl. Stories):** **30.91 / 100** (68/220)
|
| 25 |
+
* Science & World QA: 45.7% | Instruction Following: 40.0% | Coding & CS: 34.3% | Context & Multi-Turn: 30.0% | Story Fluency: 60.0%
|
bpe_4096.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Tiny8MB"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "tiny8mb",
|
| 6 |
+
"vocab_size": 4096,
|
| 7 |
+
"block_size": 192,
|
| 8 |
+
"d_model": 256,
|
| 9 |
+
"n_head": 8,
|
| 10 |
+
"n_kv_head": 2,
|
| 11 |
+
"n_layer": 4,
|
| 12 |
+
"mlp_dim": 704,
|
| 13 |
+
"norm": "RMSNorm",
|
| 14 |
+
"activation": "SwiGLU",
|
| 15 |
+
"positional": "RoPE",
|
| 16 |
+
"torch_dtype": "float16"
|
| 17 |
+
}
|
tiny_llm_8mb_v2_chat.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8b529ee7d35a86fe8088d55f8d5f908fef97ef0da85ff593694f8c8e74440de
|
| 3 |
+
size 9847863
|