parentheses-1.0-240M 发布:253M 参数循环线性注意力语言模型,状态固定 4.85 MB
parentheses-1.0-240M: a 253M recurrent linear attention LM with a fixed 4.85 MB state, trained on one 8GB laptop GPU [P]
作者发布 parentheses-1.0-240M,一个 253,544,176 参数的循环线性注意力语言模型,推理状态固定为 1,212,416 个 float、float32 下 4.85 MB,与序列长度无关。
We are releasing a small recurrent language modell and its eval code. Limits first, since they matter more than the headline.
Limits
- Small samples: 9 benchmarks x 4 runs, 960 generations in total. Run 1 is greedy, runs 2 to 4 sample at T=0.7
- Baselines are published figures from other papers, not reruns under our harness
- Below its small-model baseline on HellaSwag (33.33% vs 42.80%), ARC-Challenge (26.67% vs 34.20%), Belebele Dravidian (25.00% vs 31.25%) and GSM8K (10.00% vs 13.20%)
- MMLU averages 30.00% against 30.20% for SmolLM-135M. One sampled run reached 50.00%, which we read as noise
- No positional encoding, and the state is lossy: content is weighted by recency
Model
16 layers, width 1024, 16 heads of 64, 253,544,176 parameters. Selective linear attention in the state space duality family. Training uses a chunked parallel scan (chunk 64). Inference is a recurrence:
S_t = α_t S_{t-1} + β_t (k_t ⊗ v_t), y_t = q_t S_t
State: 1,212,416 floats, 4.85 MB in float32, independent of length. For scale, the KV cache at 4096 tokens is 536.9 MB for TinyLlama-1.1B and 1,440.0 MB for Pythia-1.4B.
Results, best / average over 4 runs
- TerminalBench 78.33 / 74.16
- TruthfulQA 91.00 / 90.00
- MBPP (sanitized) 90.67 / 81.92
- HaluEval QA 80.00 / 78.34
Abstention
We fine-tuned on 8,000 abstention traces (1,600 per language across five languages). On 100 held-out trap prompts (anachronisms, future events, invented entities, false premises) it refuses 94. On benign controls it refuses 0. The high TruthfulQA score is mostly this behaviour, so read it mostly as calibration.
Training
One RTX 5050 Laptop GPU, 8GB. The model was widened from our earlier 130M model (98.4% top 1 agreement before any training). No outside pretrained weights.
submitted by /u/uncoalesced
[link] [留言]
来源:r/MachineLearning · reddit.com