Show HN: A Small BitNet GPT in MLX
2 by cafed00d | 0 comments on Hacker News.
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://ift.tt/GIiUs5J
No comments:
Post a Comment