|
Download README.md from devilloots/tiny-20mb-chat: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/devilloots/tiny-20mb-chat/resolve/main/README.md
- Command line
-
hf download hf://devilloots/tiny-20mb-chat/README.md
-
curl -L -o README.md https://huggingface.co/devilloots/tiny-20mb-chat/resolve/main/README.md
1.29 kB
| license: mit | |
| tags: | |
| - text-generation | |
| - tiny-llm | |
| - from-scratch | |
| - gqa | |
| - swiglu | |
| - fineweb-edu | |
| library_name: pytorch | |
| # Tiny20MB Chat | |
| A **9.88M-parameter** modern decoder-only Transformer (~19.79 MB FP16 deduped checkpoint), trained **from scratch** on 2× Tesla T4 GPUs on Kaggle using **FineWeb-Edu** pre-training + clean **SmolTalk** SFT. | |
| ## Architecture | |
| - **Params:** 9,884,448 (weight-tied embeddings; `head.weight` omitted from checkpoint and re-tied to `tok.weight` on load) | |
| - **Design:** 8 Layers, `d_model=288`, `mlp_dim=832`, GQA (`6Q / 2KV`), `RMSNorm`, `SwiGLU`, `RoPE` | |
| - **Tokenizer:** 8,192-token BPE (`bpe_8192.json`), `block_size=256` | |
| - **Prompt Format:** `System: <role>\nUser: <prompt>\nAssistant: ` | |
| ## 150-Test Zero-Contamination Very Hard Benchmark | |
| - **Strict Score:** **4.67 / 100** (7/150) | |
| - **Unseen English Prose PPL:** 128.12 | |
| - **Unseen Python Code PPL:** 38.40 | |
| - **Hallucination Rate (Unknowable):** 80.0% | |
| - **Greedy Loop Rate:** 11.3% | |
| | Suite | Score | | |
| | :--- | :--- | | |
| | 1. Hard Multi-Step Logic | 1/25 (4.0%) | | |
| | 2. Hard Unseen Math & Algebra | 0/25 (0.0%) | | |
| | 3. Coding Traces + Live Exec | 0/25 (0.0%) | | |
| | 4. Unseen Science + Abstention | 1/25 (4.0%) | | |
| | 5. Hard Multi-Constraint IFEval | 0/25 (0.0%) | | |
| | 6. Adversarial State Tracking | 5/25 (20.0%) | | |