m-lm medium chat

A 98M-parameter decoder-only transformer trained from scratch with lm (Rust, Burn). Config: 12 layers, width 768, 12 heads, 512-token context, 8,192-token BPE vocabulary, untied embeddings, GELU MLP, LayerNorm.

Training: pretraining on FineWeb-Edu text, then 3,000 steps of chat tuning (loss on assistant replies only). Held-out losses at the released step: text 3.27, chat 2.08 nats per token.

Files: model.bin (Burn record), meta.json, tokenizer.json. Load with lm chat --checkpoint DIR or lm serve DIR --device cpu.

Chat template: <|system|>โ€ฆ<|end|><|user|>โ€ฆ<|end|><|assistant|>โ€ฆ<|end|>.

Limitations: small model, makes up facts, loses track of long chats. Not for anything that needs correct answers.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support