Views
No views yet
Paper: HDC-Brain: A 300M Hyperdimensional Language Model with Bipolar Codebook (Hasjanov, 2026) — Zenodo DOI 10.5281/zenodo.19653726. Code: https://github.com/OlegPhenomenon/hdc-brain
| Parameters | 299,290,629 |
| Pretrain data | 3B tokens FineWeb-Edu |
| Training time | 88 h on single RTX 3090 |
| Validation loss | 5.434 bits/token ≈ 1.25 bits/byte |
| Gap to SmolLM-360M | +0.44 bits/byte (behind) |
| Gap to GPT-2-medium | −0.13 bits/byte (ahead) |
| Codebook storage | 16 MB (vs 512 MB float32) |
1import torch, sys
2sys.path.insert(0, "hdc-brain-v14.1") # from github.com/OlegPhenomenon/hdc-brain
3from hdc_brain_v14_1 import create_model
4
5ckpt = torch.load("best_hdc_brain_v14_1.pt", map_location="cpu", weights_only=True)
6model, _ = create_model(32000, ckpt["config"])
7model.load_state_dict(ckpt["model"])
8model.eval()chat.py — pass --clean to load this checkpoint instead of the default finetune.bpe_en_32k.model.1@misc{hasjanov2026hdcbrain,
2 author = {Oleg Hasjanov},
3 title = {HDC-Brain: A 300M Hyperdimensional Language Model with Bipolar Codebook},
4 publisher = {Zenodo},
5 year = {2026},
6 doi = {10.5281/zenodo.19653726},
7 url = {https://doi.org/10.5281/zenodo.19653726}
8}