Determining the "best" LLM under 36B depends on your specific needs and priorities. Here's a breakdown of some top contenders and factors to consider:
Top LLMs Under 36B (as of late 2024/early 2025):
DBRX: This open-source LLM from Databricks uses a mixture-of-experts (MoE) architecture, with 36B active parameters out of a total of 132B[1][2]. It has shown impressive performance, even surpassing GPT-3.5 in some benchmarks[1][3]. It's particularly strong in coding and mathematics[1]. DBRX is also noted for its efficiency in both training and inference[1].
Gemma 2: Google DeepMind's Gemma 2 comes in 9B and 27B parameter sizes[4]. These models are designed for researchers and developers, emphasizing speed and integration with AI tools[4][5].
Mixtral 8x7B: While technically an MoE model, its active parameter count often places it in discussions around this size range. It was considered a very practical LLM and a significant step forward in performance per parameter[6].
Factors to Consider When Choosing:
Task Performance: Different LLMs excel at different tasks. Some are better at natural language processing, while others are stronger in coding, reasoning, or creative content generation[5]. Look for benchmarks that align with your intended use case (e.g., MMLU for general knowledge, HumanEval for coding)[5].
Open Source vs. Closed Source: Open-source models like DBRX and the Llama series offer greater flexibility and control, allowing for customization and fine-tuning. Closed-source models, such as those from OpenAI (GPT series) or Google, may offer ease of use and potentially higher performance but come with licensing restrictions.
Efficiency (Inference Speed): The speed at which an LLM generates text (tokens per second) is crucial for real-time applications. MoE architectures, like that of DBRX, can improve inference speed[1].
Resource Requirements: Consider the memory and computing power needed to run the LLM. Quantization (reducing the precision of the model's weights) can help reduce memory footprint but may impact performance.
Context Window: A larger context window allows the LLM to process more information at once, which is beneficial for tasks that require understanding longer documents or conversations[5].
Licensing: Pay attention to the licensing terms, especially for open-source models, to ensure they align with your intended use (commercial vs. non-commercial).
Keep in Mind:
The field of LLMs is rapidly evolving. New models and benchmarks are constantly being released, so it's important to stay up-to-date.
"Best" is subjective and depends on your specific application and constraints. Benchmarks provide a general guideline, but it's crucial to evaluate LLMs on your own data and tasks[5].