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 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
- Europe faces attribution gap after 16 cyber, physical incidents
- PIF backs Grand Theft Auto as Saudi players embrace game
- Signal limits screenshots to curb AI access to messages
- Cognition runs Devin Mac workspaces on EC2 in 6 AWS regions
- Salesforce engineers cut 600-failure triage to 90 minutes
- Türkiye Desk: GTA 6 puts console access and network demand in focus
- SpaceX catches Starship upper stage but loses its booster
- Democrats push AI regulation as two state veterans arrive
- Microsoft says 300,000 people try Minecraft daily, but the metric obscures the real business
- A Chinese platform is renting human faces for $15 to populate AI game assets
Latest news
- Trump prepares tariffs on China and other major exporters
- New-car buyers pay record average $50,087 in October
- Banks face ECB reserve debate over liquidity and profits
- Investors see Anthropic debut gains fade below $83 a share
- Iraq orders federal control over Kurdish-area oilfields
- Germans oppose Ukraine aid as poll shows support slipping
- Kim Jong-un receives 10 envoys after constitutional shift
- Ukraine claims Libya strike sinks Russian naval corvette

