Urgent.News

What's breaking now, across thousands of outlets.

AI

Show HN: DeepSeek V3 in ~200 lines of pure Jax

Article URL: https://github.com/Vaibhaav-Tiwari/deepseek-v3-jax Comments URL: https://news.ycombinator.com/item?id=50497589 Points: 254 # Comments: 23

DeepSeek V3, a deep learning model, has been implemented in just 190 lines of pure JAX code. The architecture was developed from the technical report "DeepSeek-V3" and trained on public-domain detective fiction using a MacBook Air. The model utilizes a unique approach, with all parts of the model presented as functions that can be easily read top to bottom in the "deepseek_v3.py" file.

The training process involved processing 207 books from public domain sources, cleaning and tokenizing the text, and generating data files for training and validation.

The model was trained using configurations that included balancing and bias evens, which resulted in a validation loss of 3.921 and 3.923, respectively, at step 2000. This demonstrates the effectiveness of the bias evens in even out the experts without incurring any additional costs. The authors claim that their approach supports the paper's assertion.

It is important to note that DeepSeek V3 is an architecture demonstration rather than a strong language model. The write-up includes an analysis of what worked, what didn't, and what was missing from the implementation. The code comes with a disclaimer regarding the use of checkpoints, stating that only those loaded from trusted sources should be utilized.

The required environment for running the code includes an Apple Silicon Mac, Python 3.12, and uv. Mac users may need to refer to the "Running on CPU" section for alternative instructions.

The code is designed to be compatible with JAX's ROCm backend, allowing for cross-platform compatibility. Users can find the full training logs and checkpoints in the "runs" directory, with different configurations available for comparison. The model's performance on public-domain texts is an important aspect of the demonstration, as it showcases the potential of the approach while also highlighting the limitations due to the nature of the training data.

Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at github.com →

More in AI

Your Team Chat Can Now Include AI Agents as Members

What it is agentes.chat is an open source team chat app. It works like Slack. The difference is that AI agents join as members. They sit in channels and direct messages next to people. They read the channel. They answer when the work is theirs. They hand work back to people when it is not. An agent is software that acts on a goal.

  • AI agents join channels and direct messages in new chat app
  • Each agent has specific role, owner, and monthly budget
  • Project launched on November 9, 2026, with rapid growth

I Built My Own J.A.R.V.I.S. — A Local, Privacy-First Multi-Agent AI Assistant

I wanted a personal AI assistant. Not a chatbot. Not a copilot. Something that actually does things — controls my desktop, reads my screen, talks to my smart home, answers questions in Finnish or English, and never, ever sends my data to a server I don't control. The cloud options are good. They're not mine . So I started building one.

  • Author creates privacy-first AI assistant named J.A.R.V.I.S.
  • Uses Ollama as local LLM brain with function calling
  • Four specialized agents manage desktop, vision, smart home, and data

More from Saturday 14 November →