Skip to content
LATEST
Technology

Vaibhaav Tiwari releases DeepSeek V3 demo in 190 JAX lines

The open-source project is framed as an architecture demo, with a small checkpoint trained on detective fiction rather than a competitive model.

Vaibhaav Tiwari releases DeepSeek V3 demo in 190 JAX lines

Vaibhaav Tiwari published a GitHub repository on Nov. 14 implementing the DeepSeek-V3 architecture in 190 lines of pure JAX, with no Flax, Equinox or PyTorch dependencies.

The demo matters as a compact educational replica, not a production model: the README reports 36.2 million parameters and 13.6 million active parameters per token after training on 21.7 million tokens.

The repository says the model was pretrained from scratch on a MacBook Air using public-domain detective fiction. The default run used 207 books, 12,000 training steps, about 98 million tokens and about 2.6 hours of training.

The README frames the limits plainly: “This is an architecture demo, not a strong language model.” A sample completion from the prompt “The fog came in off the” produced: “The fog came in off the bay, and the great trees were spreading and the stars were shining.”

JAX is a Python framework used for numerical computing and machine-learning research. Tiwari’s repository implements DeepSeek-V3 features including Multi-head Latent Attention, DeepSeekMoE routing, auxiliary-loss-free balancing, sequence-wise balance loss and multi-token prediction.

The README reports validation loss falling from 5.02 at step 250 to 3.51. It also says expert load was 5.7% to 6.9% per expert with balancing at step 2000, compared with 0.09% to 18.6% without balancing.

The Hacker News post linking to the project had 3 points and no comments on Nov. 14. The repository lists four commits and an MIT license, with a separate write-up explaining the code, diagrams and results.

Source: GitHub repository and README, Vaibhaav-Tiwari, Nov. 14, 2026; Hacker News post, Nov. 14, 2026.

More stories

Latest news