Settings

Theme

Show HN: A Small BitNet GPT in MLX

github.com

4 points by cafed00d 2 years ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection