This is a from-scratch 17.31M-parameter decoder-only language model trained on TinyStories with our own BPE-8k tokenizer. It is a research artifact; it is not a chat model and not a general-purpose assistant. The code and full reports live in byjameson/lcga-local.
| Metric | Value |
|---|---|
val_loss @ step 18000 |
1.3890 |
ppl |
4.011 |
bpb (byte-normalized) |
0.4892 |
| Parameters | 17,308,032 (tied embeddings included) |
| Step time | 654–655 ms (batch 48 × 512 = 24,576 tok/step) |
| Throughput | 37,373 tok/s (last session) |
| VRAM | 5.90 GB constant |
| Tokens seen | 442.37M (~0.95 epoch of the 466.76M-token stream) |
| Wall time | ~4.1 h total (split over 5 sessions) |
Comparison with the a2/a3 control runs from the same tokenizer family:
| Run | Steps | Tokens | val_loss |
bpb |
|---|---|---|---|---|
a2_ctrl8k |
6,000 | 98.3M | 1.6093 | 0.5612 |
a3_ctrl8k |
12,000 | 196.6M | 1.5095 | 0.5264 |
| P3 (this checkpoint) | 18,000 | 442.4M | 1.3890 | 0.4892 |
bpb gain: −0.0372 (−7.1%) vs a3, −0.0720 (−12.8%) vs a2.
ts, BPE-8k; train 466.76M tokens).model, cfg, step and best_val. The cfg dict
includes the architecture (vocab=8192, dim=384, layers=8, heads=6, ctx=512,
mlp_hidden=1024, loops=1, moe=0).lm_head loss removed the WDDM spill and made the
step stable at 5.90 GB; resume checkpoints are atomic and were validated across
five sessions. See P3_RAPOR.md §5 for details.import torch
from lcsa.mini_lm import MiniLM
ck = torch.load("p3_best.pt", map_location="cpu", weights_only=False)
cfg = ck.get("cfg") or {}
model = MiniLM(
vocab=cfg.get("vocab", 8192),
dim=cfg.get("dim", 384),
layers=cfg.get("layers", 8),
heads=cfg.get("heads", 6),
ctx=cfg.get("ctx", 512),
mlp_hidden=cfg.get("mlp_hidden", 1024),
loops=cfg.get("loops", 1),
moe_experts=cfg.get("moe", 0),
)
model.load_state_dict(ck["model"])
model.eval()
ts_valid (19,218,350 B); see
P3_RAPOR.md §6 for the normalization caveat and the window-set effect.This project is developed on a 6 GB laptop GPU. If you find it useful and want to support further experiments, donations go toward more compute and larger runs. There is no paid support, token, or investment offer.
0xa4dEc84Fe6F13c8A3b8707446D6892a6E272285cEDqs8w4JkS5vAAfxmsB7fAQwoauEYufYXvMWFW9aYPdcbc1qsq4mdtf0dlfvppllqwdaknxrq6xkjgsrx6ctgmPlease double-check the network and the full address before sending; crypto transfers are irreversible. Donations are voluntary and do not buy influence over results or reviews.