SuperGoatScriptGuy commited on
Commit
e5ab840
·
verified ·
1 Parent(s): 913f1c7

model card

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - assembly
6
+ - from-scratch
7
+ - chat
8
+ ---
9
+
10
+ # Mnemonic 126M
11
+
12
+ A small chat model where every part (data pipeline, tokenizer, GPU training, quantization and inference) is hand-written assembly: x86-64 on the CPU, PTX on the GPU, WebAssembly in the browser.
13
+
14
+ Code: https://github.com/Supergoatscriptguy/Mnemonic
15
+
16
+ | file | weights | size |
17
+ |---|---|---|
18
+ | `mnemonic-q8.mnm` | int8, one scale per row | 121 MB |
19
+ | `mnemonic-q4.mnm` | int4, one scale per group of 32 | 75 MB |
20
+
21
+ **Model.** Llama-style decoder: 16 layers, d_model 768, 12 query / 4 key-value heads, SwiGLU (ffn 2048), RoPE, RMSNorm, tied embeddings, no biases. Context 1024, byte-level BPE vocab of 32768.
22
+
23
+ **Training.** Pretrained on 5B tokens of FineWeb-Edu on one RTX 5070 Ti (19 hours), then fine-tuned for chat on smol-smoltalk plus a small identity set.
24
+
25
+ **Format.** `.mnm` is the project's own format (a 4 KB header, then the tensors), read by the engines in the repo (`chat/engine.asm`, `site/engine.wat`). It is not a transformers checkpoint.
26
+
27
+ **Limitations.** It's a small model: it makes confident mistakes, is weak at math, and loses the thread in long conversations.
28
+
29
+ Made by Supergoatscriptguy.