DBRX by Databricks logo

DBRX by Databricks

Paid

Open, state-of-the-art LLM by Databricks with fine-grained MoE architecture

5.0
Inputs: text, codeOutputs: text, code
Type
Saas
Founded
2013
Company
Databricks

About DBRX by Databricks

DBRX is an open, general-purpose large language model (LLM) developed by Databricks, built on a fine-grained mixture-of-experts (MoE) architecture. With 132 billion total parameters (36 billion active per input), it selects 4 out of 16 experts, enabling superior quality and efficiency. DBRX sets a new state-of-the-art among open LLMs, surpassing GPT-3.5 on standard benchmarks and competing with Gemini 1.0 Pro. It excels at code generation, outperforming specialized models like CodeLLaMA-70B, and also demonstrates strong performance on language understanding (MMLU), math (GSM8K), and RAG tasks. DBRX achieves up to 2× faster inference than LLaMA2-70B and supports up to 150 tokens/second/user when hosted on Databricks Model Serving. Pretrained on 12 trillion tokens of text and code with a maximum context length of 32,000 tokens, the model uses rotary position encodings (RoPE), gated linear units (GLU), grouped query attention (GQA), and the GPT-4 tokenizer. The weights for DBRX Base and DBRX Instruct are available on Hugging Face under an open license, and Databricks customers can access the model via APIs or train custom MoE models using Databricks' training stack.

Key Features

Fine-grained mixture-of-experts (MoE) architecture with 132B total parameters and 36B active
16 experts with 4 selected per input, offering 65x more expert combinations than Mixtral or Grok-1
Inference up to 2× faster than LLaMA2-70B and about 40% the size of Grok-1
Pretrained on 12 trillion tokens of curated text and code data
Maximum context length of 32,000 tokens
Uses RoPE, GLU, GQA, and GPT-4 tokenizer
Outperforms GPT-3.5 and CodeLLaMA-70B on benchmarks
Available as open weights on Hugging Face (DBRX Base and DBRX Instruct)
Hosted on Databricks Model Serving with up to 150 tok/s/user
Supports fine-tuning and pretraining from scratch on Databricks

Pros & Cons

Pros
  • State-of-the-art performance among open LLMs, surpassing GPT-3.5
  • Exceptional code generation capability, beating specialized models
  • Efficient MoE architecture enables faster inference and lower active parameter count
  • Openly available weights under permissive license on Hugging Face
  • Flexible deployment: open weights, Databricks APIs, or custom training
  • Strong RAG performance, competitive with leading closed models
Cons
  • Full model size (132B parameters) requires substantial compute resources
  • API access optimized via Databricks platform, potentially vendor lock-in
  • Pricing for hosted API not publicly disclosed (contact-based)
  • Context length (32k tokens) is standard but not industry-leading
  • Relatively new release (March 2024) with smaller ecosystem compared to established models

Best For

General-purpose text generation and understandingProgramming and code generation (e.g., surpassing CodeLLaMA-70B)Retrieval-augmented generation (RAG) tasksNatural language reasoning and mathematicsSQL query generation (challenging GPT-4 Turbo in early rollouts)Enterprise AI applications via Databricks APIs

Alternatives to DBRX by Databricks

FAQ

What is DBRX?
DBRX is an open, general-purpose large language model developed by Databricks, using a fine-grained mixture-of-experts (MoE) architecture with 132B total parameters and 36B active parameters.
How does DBRX compare to GPT-3.5?
According to Databricks' measurements, DBRX surpasses GPT-3.5 on standard benchmarks and is competitive with Gemini 1.0 Pro.
What architecture does DBRX use?
DBRX is a transformer-based decoder-only model with fine-grained MoE: 16 experts (4 active per input), rotary position encodings (RoPE), gated linear units (GLU), grouped query attention (GQA), and the GPT-4 tokenizer.
Where can I access DBRX?
The weights for DBRX Base and DBRX Instruct are available on Hugging Face under an open license. Databricks customers can also use the model via Databricks APIs or train custom MoE models.
What is the context length of DBRX?
DBRX was pretrained with a maximum context length of 32,000 tokens.
Is DBRX open source?
Yes, DBRX is released as an open model with weights available on Hugging Face under an open license, along with code on GitHub.