Testing DBRX: Coding Strengths and Reasoning Gaps

Matthew Berman examines Databricks’ open-weight model and puts it through coding, arithmetic and reasoning prompts.

MBMatthew BermanSpeaker · Forward Future
Channel
Matthew Berman
Published
Mar 31, 2024
Video
14:23
Read
3 min
Slides
3
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

In this 2024 review, Matthew Berman discusses the DBRX launch and tests a hosted version. He finds its Python Snake implementations impressive, while several logic and instruction-following tests fail; the small informal test is not a comprehensive benchmark.

  1. 1Mixture of expertsBerman explains selective expert activation. He says two of eight, but Databricks’ launch post specifies four of 16 for DBRX.
  2. 2Launch benchmarksDatabricks reported 73.7% on MMLU, 70.1% on HumanEval and 66.9% on GSM8K in the chart shown.
  3. 3Two Snake gamesThe terminal version worked on the first attempt. The Pygame version ran after Berman added a missing blue color definition.
  4. 4Mixed reasoning resultsThe model failed the shirt-drying and marble problems, but answered an ordering question and several other prompts correctly.
  5. 5A conditional answerIt calculated six minutes for 50 people digging a hole under ideal assumptions and acknowledged space and resource constraints.

Takeaways

  1. DBRX uses a mixture-of-experts architecture; Databricks says it selects four of 16 experts per token.
  2. The hosted demo produced a working terminal Snake game and a graphical version after a small manual fix.
  3. The model passed some ordering, arithmetic and conditional reasoning prompts but failed other logic tests.
  4. Hosted-demo limits and intermittent refusals affected the testing experience.
FULL TEXT

Read the edited text by chapter

Transcript only
01

The DBRX launch

Berman introduces Databricks’ open-weight model and discusses mixture-of-experts and launch comparisons. He disputes a headline framing the model primarily against GPT-4.

Databricks has released DBRX, an open-weight foundation model. I am excited by its coding performance: in my tests it produced a working terminal Snake game and, with a small correction, a Pygame version too.

DBRX is a mixture-of-experts model: rather than activating the entire network for every token, a router selects a subset of experts. I describe this as two out of eight in the video, but Databricks’ launch post says DBRX uses four out of 16 experts. Its architecture has 132 billion total parameters, with 36 billion active per token.

Databricks says its model surpasses GPT-3.5 and is competitive with Gemini 1.0 Pro on selected benchmarks. I object to a headline emphasizing that a reported $10 million model cannot beat GPT-4: I see releasing a new foundation model with open weights as valuable in its own right. Training-cost comparisons are estimates, not independently verified measurements here.

Databricks also highlights coding and enterprise use cases. Its launch post reports inference up to twice as fast as Llama 2 70B and up to 150 tokens per second per user on its serving platform. Speed matters for agents that may need several model calls; actual throughput depends on the deployment.

02

Speed and benchmarks

He reviews Databricks’ speed and benchmark claims and explains why fast inference could matter for agents.

Databricks’ launch benchmark chart
SLIDE 1 / 3Databricks’ launch benchmark chartThe chart compares DBRX with other models on MMLU, HumanEval and GSM8K.

The chart shows DBRX at 73.7% on MMLU, 70.1% on HumanEval and 66.9% on GSM8K. I am especially interested in its coding score, which the chart puts above Mixtral’s. These are the developer’s reported results, not results from my own test.

03

Testing Python code

Using a hosted demo, he tests simple code and builds terminal and graphical Snake games. Output limits and a missing variable require intervention.

I try the instruction-tuned model in a Hugging Face demo. A request to print numbers from one to 100 initially receives a refusal, but works after I clear the chat. The interface responds quickly, although it sometimes refuses unexpectedly and limits the length of its output.

For a harder challenge I ask for a Python Snake game. I paste the generated code into VS Code and the terminal game runs: I can control the snake and see it grow. Hitting the edge ends the game. This is a successful zero-shot result in my test.

I ask for a graphical version. An initial follow-up still uses the curses library, so I restart with an explicit Pygame prompt. The output reaches the demo’s token limit and must be continued; after joining the pieces, I add a missing definition for blue. The graphical game then runs and can be restarted after a loss.

The Pygame Snake test
SLIDE 2 / 3The Pygame Snake testThe graphical game runs after the generated code is completed and a missing color is defined.
04

Safety, logic and arithmetic

Berman tries a refusal prompt, shirt-drying and ordering questions, arithmetic, word counting and a murder riddle.

A request for instructions to break into a car is refused, including when framed as a movie script. On a shirt-drying question, the model incorrectly multiplies the drying time by the number of shirts. It correctly answers that Sam is not faster than Jane when Jane is faster than Joe and Joe faster than Sam.

The model gets simple addition and an order-of-operations calculation right, but fails to count the words in its own response. It answers the familiar killer-in-a-room riddle by reasoning that one killer dies and the newcomer becomes a killer, leaving three living killers.

05

Structured data and harder reasoning

He tests JSON, physical reasoning, beliefs, sentence endings and a hole-digging question before giving his assessment.

A prompt describing three people produces the requested JSON. The model fails a physical-reasoning problem involving an inverted cup and a marble, even after I clarify that the cup’s orientation stays the same. It succeeds on a belief-tracking problem: John thinks a ball remains in the box, while Mark thinks it is in the basket.

The instruction to write ten sentences ending in “apple” fails. Finally, asked how long 50 people would take to dig a hole that takes one person five hours, the model calculates six minutes under ideal parallel work and notes that space and resource constraints could make it longer. I regard that qualification as a pass.

The hole-digging answer
SLIDE 3 / 3The hole-digging answerThe model gives an idealized calculation while noting practical constraints.

Overall, DBRX does particularly well on coding in this small set of prompts. The reasoning results are more uneven, and the hosted interface’s output limits matter when interpreting the experience.

More from this channel

6 slides25:50EN
MBMatthew Berman· Oct 24, 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 slides32:20EN
MBMatthew Berman· Oct 23, 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
45:08EN
MBMatthew Berman· Oct 21, 2026Sam Altman on AI Discovery, Consciousness, Compute and a Human-Centered FutureMatthew Berman, Sam Altman · Forward FutureIn a conversation with Matthew Berman, Altman discusses scientific progress, personal assistants, recursive self-improvement and the importance of human agency.AI for sciencePersonal agentsConsciousness+2
5 slides12:14EN
MBMatthew Berman· Oct 14, 2026Gemini 4 Argon Tested: 3D Demos, a Spreadsheet Prototype and Benchmark ResultsMatthew Berman · Forward FutureMatthew Berman tests Google’s model on games and visual projects, then compares reported coding and agent benchmarks.GeminiBenchmarksCoding agents+1
5 slides10:36EN
MBMatthew Berman· Oct 13, 2026Meta Muse Wonder Tested: Strong Benchmarks, Mixed Demos and Quota FrictionMatthew Berman · Forward FutureMatthew Berman tests Meta’s models on browser demos and reviews their published benchmark scores, availability and cost.Models & trainingBenchmarksAI cost & performance+1
2 slides17:37EN
MBMatthew Berman· Oct 10, 2026AI Coding, Game Mashups and the Value of Human TasteMatthew Berman · Forward FutureMatthew Berman explains decompilation and game mashups, then argues that iterative AI coding changes software and creativity.Coding agentsSoftware engineeringCreativity+1