Mellum2-12B-A2.5B-Instruct

Mellum2-12B-A2.5B-Instruct is an instruction-tuned language model developed by JetBrains and optimized for software engineering workflows, code generation, code understanding, technical assistance, and structured text generation. This repository contains GGUF quantized variants of the model optimized for efficient local inference using llama.cpp.

Built upon the Mellum2 architecture, the model is designed to assist developers with programming-related tasks while maintaining strong instruction-following capabilities. The quantized formats significantly reduce memory requirements while preserving coding performance and technical reasoning quality, enabling practical deployment across consumer hardware and local development environments.


Model Overview

  • Model Name: Mellum2-12B-A2.5B-Instruct
  • Base Model: JetBrains/Mellum2-12B-A2.5B-Instruct
  • Architecture: Mixture-of-Experts (MoE) Transformer
  • Parameter Count: 12 Billion Total Parameters / 2.5 Billion Active Parameters
  • Experts: 64 Experts / 8 Active Experts per Token
  • Context Window: 131K Tokens
  • Modalities: Text
  • Primary Languages: English
  • Developer: JetBrains
  • License: Apache 2.0

Quantization Formats

This repository provides various GGUF quantized versions of the Mellum2-12B-A2.5B-Instruct model, optimized for efficient local inference using llama.cpp. Below are the details of the available I-Matrix (IQ) formats.

IQ3_M

  • Size reduction of approx 75.71% (5.50 GB) compared to 16-bit (22.64 GB)
  • Aggressive 3-bit quantization optimized for maximum memory efficiency
  • Suitable for CPU-only inference and low-memory deployment environments
  • Enables practical execution of coding and instruction-following workloads on constrained hardware
  • Output quality may reduce on complex code generation, repository-level understanding, and long-context development tasks

IQ4_NL

  • Size reduction of approx 71.25% (6.51 GB) compared to 16-bit (22.64 GB)
  • Advanced 4-bit non-linear quantization designed to better preserve coding quality and instruction-following performance
  • More suitable for software engineering workflows, code generation, debugging assistance, and technical tasks
  • Designed to reduce quantization loss compared to more aggressive formats
  • Slightly increased computational overhead during inference

IQ4_XS

  • Size reduction of approx 72.31% (6.27 GB) compared to 16-bit (22.64 GB)
  • Balanced 4-bit quantization focused on efficiency and stable coding performance
  • Good trade-off between model size, generation quality, and inference speed
  • Suitable for code completion, code explanation, technical assistance, and general-purpose developer workflows
  • Maintains reliable generation behavior across most practical software engineering workloads

Training Background (Original Model)

Mellum2-12B-A2.5B-Instruct is trained with an emphasis on software engineering, instruction following, code understanding, and practical developer-assistance workflows.

Pretraining

  • Large-scale training across programming languages, source code repositories, and technical documentation
  • Focus on code understanding, code generation, and software engineering tasks
  • Optimized for downstream coding and developer-assistance workloads

Instruction Tuning

  • Refined using instruction-following and developer-oriented datasets
  • Enhanced for structured responses and technical assistance workflows
  • Improved consistency for code generation, debugging, explanation, and software development tasks

Key Capabilities

  • Instruction Following Handles developer prompts and produces structured, context-aware responses.

  • Code Generation Supports generation of code across multiple programming languages and development workflows.

  • Code Understanding Assists with explaining, reviewing, and understanding existing codebases.

  • Developer Assistance Supports debugging, refactoring, implementation guidance, and software engineering workflows.

  • Efficient Local Deployment Quantized variants enable practical offline inference on consumer hardware.

  • Technical Text Generation Suitable for documentation, code explanation, technical Q&A, and structured outputs.


Usage Example

Using llama.cpp

./llama-cli \
  -m SandlogicTechnologies/Mellum2-12B-A2.5B-Instruct_IQ4_NL.gguf \
  -p "Create a Python function that validates JSON input and explain the implementation."

Recommended Usecases

  • Code Generation Workflows Generate functions, classes, scripts, and application components across multiple programming languages.

  • Developer Productivity Tools Support IDE integrations, local coding assistants, and software engineering workflows.

  • Code Review and Analysis Assist with understanding, reviewing, and improving existing code.

  • Technical Documentation Generate explanations, documentation, and developer-oriented content.

  • Research and Experimentation Evaluate coding models, prompting strategies, and local inference workflows.


Acknowledgments

These quantized models are based on the original work by the JetBrains development team.

Special thanks to:

  • The JetBrains team for developing and releasing the Mellum2-12B-A2.5B-Instruct model.

  • Georgi Gerganov and the llama.cpp open-source community for enabling efficient quantization and inference via the GGUF format.


Contact

For questions, feedback, or support, please reach out at support@sandlogic.com or visit https://www.sandlogic.com/

Downloads last month
14
GGUF
Model size
12B params
Architecture
mellum
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for SandLogicTechnologies/Mellum2-12B-A2.5B-Instruct-GGUF

Quantized
(15)
this model