Mellum2-12B-A2.5B-Base

Mellum2-12B-A2.5B-Base is a foundation language model developed by JetBrains and optimized for software engineering, code generation, code completion, and code understanding workflows. 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 as a pretrained foundation model for software development tasks and serves as the base for downstream instruction-tuned and reasoning-focused variants. The quantized formats significantly reduce memory requirements while preserving strong coding capabilities, enabling practical deployment across consumer hardware and local development environments.

The model is intended primarily for code-centric applications, research, fine-tuning, and software engineering workflows rather than conversational assistant use cases.


Model Overview

  • Model Name: Mellum2-12B-A2.5B-Base
  • Base Model: JetBrains/Mellum2-12B-A2.5B-Base
  • 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-Base 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 code generation and code completion workloads on constrained hardware
  • Output quality may reduce on complex 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 code-completion capability
  • More suitable for software engineering workflows, source-code generation, and technical development 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, source-code generation, and developer-oriented workflows
  • Maintains reliable generation behavior across most practical software engineering workloads

Training Background (Original Model)

Mellum2-12B-A2.5B-Base is trained with an emphasis on software engineering, source-code understanding, code generation, and developer productivity workflows.

Pretraining

  • Large-scale training across programming languages, software repositories, technical documentation, and development resources
  • Focus on code understanding, code completion, and software engineering tasks
  • Optimized for downstream coding and technical development workloads

Foundation Model Objectives

  • Trained as a general-purpose software engineering foundation model
  • Designed to support downstream fine-tuning and instruction tuning workflows
  • Optimized for strong source-code representation and generation capabilities
  • Serves as the foundation for specialized Mellum2 variants

Key Capabilities

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

  • Code Completion Assists with intelligent code completion and developer productivity tasks.

  • Code Understanding Helps analyze, explain, and understand existing codebases.

  • Software Engineering Workflows Supports implementation planning, refactoring, and development-oriented tasks.

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


Usage Example

Using llama.cpp

./llama-cli \
  -m SandlogicTechnologies/Mellum2-12B-A2.5B-Base_IQ4_NL.gguf \
  -p "Write a Python implementation of a binary search tree."

Recommended Usecases

  • Code Completion Systems Power local IDE integrations and developer productivity tools.

  • Code Generation Workflows Generate functions, classes, libraries, and application components.

  • Software Engineering Research Evaluate coding models and software-development benchmarks.

  • Model Fine-Tuning Serve as a foundation model for downstream instruction-tuning and domain adaptation.

  • Developer Tooling Build local coding assistants, source-code analysis tools, and development 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-Base 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
64
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-Base-GGUF

Quantized
(3)
this model