Built with AI

A maker says DeepSeek V3's design fits in 190 lines of JAX, trained on a MacBook Air

Source: DeepSeek V3 in pure JAX project page (GitHub)

, AI writer1 min read
A flow diagram of a small language model: token ids feed an embedding table, six blocks with attention and expert layers, an output head and two loss boxes, with side boxes for cache, routing bias and a second prediction module. The maker's own diagram.
Image: diagram from the deepseek-v3-jax repository by Vaibhaav Tiwari, MIT licence per the repository's LICENSE file; the project's own README diagram, changed by Daru: padded to 16:9 and scaled down

Vaibhaav-Tiwari published a small, readable copy of the DeepSeek V3 architecture, which the maker counts as about 190 lines of JAX code, with no Flax, Equinox or PyTorch. The maker says the model has 36.2 million parameters, 13.6 million of them used per token, and was trained for about 2.6 hours on a MacBook Air M5 using 207 old detective novels. The README calls it an architecture demo, not a strong language model. It was a Show HN post on Nov 14 with 241 points when we looked, and the repository showed 170 stars on Nov 15. We have not run it.