Upload README.md with huggingface_hub
Browse files24 unmodified lines25262728293031323334353637383940415 unmodified lines474849505152535455562 unmodified lines596061626364656667686970717273747524 unmodified lines[Icold21/kron-corpus](https://huggingface.co/datasets/Icold21/kron-corpus) andthe research log at [github.com/Icold21/kron-llm](https://github.com/Icold21/kron-llm).## Shipped checkpoints| file | parameters | size | quality ||---|---:|---:|---|| `q8g_int8.pt` | 2,851,280 | 3.14 MB | **0.7542 bits/byte** (TinyStories val, 61.4M tokens seen) || `q2_int8.pt` | 2,079,992 | 2.34 MB | previous model, same corpus |Int8 quantisation costs +0.0003 bpb on Q8g. The fp32 checkpoint is 11.4 MB andis not shipped.## Usage```pythonimport torch5 unmodified linesload_int8(model, ckpt["model"])```The model is a research artifact: it writes short English and Russian text andis not an instruct-tuned assistant.## Architecture at a glance| | ||---|---|2 unmodified lines| FFN | gated (SwiGLU-style) || tokenizer | BPE-4096, tied factorised embedding (rank 128) |Measured, not assumed: the depth carry is worth 1.1 % bpb, freezing its scalar0.8 %, and widening the window to four layers *costs* 1.4 %. Details in the[research log](https://github.com/Icold21/kron-llm/blob/main/docs/results.md).## NextThe 10M model (Q10: d=512, 25 layers, K=10, 9,938,886 parameters) trains on[KronCorpus](https://huggingface.co/datasets/Icold/kron-corpus) — 1.6B tokens ofbilingual English/Russian text with a science accent — on two Kaggle T4s. Thecheckpoint will appear here when the first epoch finishes; the corpus carddocuments every source and licence.## Licence24 unmodified lines2526272829303132333435363738394041424344454647484950515253545556575 unmodified lines636465666768697071722 unmodified lines75767778798081828384858687888990919293949596979824 unmodified lines[Icold21/kron-corpus](https://huggingface.co/datasets/Icold21/kron-corpus) andthe research log at [github.com/Icold21/kron-llm](https://github.com/Icold21/kron-llm).## Main model: Q10 (10M)**Q10 is the model this project is about**: 9,938,886 parameters (d=512, 25layers, 8K bilingual BPE, Kronecker K=10), trained on 2.78B tokens of bilingualEnglish/Russian text. It is mid-pretraining — **step 36,549 of 169,884 (21.5 %)**of the first epoch — and reaches **1.1828 bits/byte** mixed (EN 1.4327 /RU 0.9411) on a held-out bin that never changes; GPT-2-124M scores 1.554 on thesame blocks. The checkpoint lives on Kaggle([`icold21/kron-q10-ckpt`](https://www.kaggle.com/datasets/icold21/kron-q10-ckpt))and will be mirrored here when the epoch finishes.## Experimental checkpoints (the development bench)The two small checkpoints below are **not** the product. They are the TinyStoriesbench that made the 10M configuration cheap to choose: each isolates onedecision (tokenizer, gated FFN, depth carry), and their bits/byte is notcomparable with Q10's bilingual number.| file | parameters | size | quality ||---|---:|---:|---|| `q8g_int8.pt` | 2,851,280 | 3.14 MB | **0.7542 bits/byte** (TinyStories val, 61.4M tokens seen) || `q2_int8.pt` | 2,079,992 | 2.34 MB | previous bench model, same corpus |Int8 quantisation costs +0.0003 bpb on Q8g. The fp32 checkpoint is 11.4 MB andis not shipped.## Usage (bench checkpoint)```pythonimport torch5 unmodified linesload_int8(model, ckpt["model"])```The bench model is a research artifact: it writes short English text and is notan instruct-tuned assistant.## Architecture of the bench model| | ||---|---|2 unmodified lines| FFN | gated (SwiGLU-style) || tokenizer | BPE-4096, tied factorised embedding (rank 128) |The main model keeps the same block but scales to d=512, 25 layers, K=10 and the8K bilingual BPE, with pre-norm QK and a gated FFN.Measured, not assumed: the depth carry is worth 1.1 % bpb, freezing its scalar0.8 %, and widening the window to four layers *costs* 1.4 %. Details in the[research log](https://github.com/Icold21/kron-llm/blob/main/docs/results.md).## Training budgetAt the measured 2.552 s/step on a single Kaggle T4 (batch 32, seq 512), one epoch of the 2.78B-token corpus is **120 GPU-hours**; the decay pass (30 % of the epoch, quality-selected slice plus 5 % chat) adds **35**, and SFT 4,000 steps adds **2.8**. Roughly **132 GPU-hours remain** from step 36,549 -- about 12 sessions of quota. Derivation in `docs/compute_budget.md` of the code repository.## NextQ10 continues on [KronCorpus](https://huggingface.co/datasets/Icold/kron-corpus)— 2.78B tokens of bilingual English/Russian text with a science accent — on oneKaggle T4. After the epoch: a decay pass (29 % of the epoch, quality-selected,plus 5 % chat) and SFT. The weights will be mirrored here when the epochfinishes; the corpus card documents every source and licence.## Licence
README.md+34-11