Hacker News new | ask | show | jobs
Show HN: A Small BitNet GPT in MLX (github.com)
4 points by cafed00d 739 days ago
For those of us nerds who like to tinker with language models, I thought of sharing an example ipynb that shows how to build a small gpt (kudos to @karpathy for teaching us minGPT) where you replace the nn.Linear layer with a BitLinear layers as introduced in the paper on 1.58 bit LLMs https://arxiv.org/abs/2402.17764