Mellum2 오픈소스 공개: AI 워크플로를 위한 빠른 모델 | The JetBrains AI Blog
Key Points
- 1JetBrains has open-sourced Mellum2, a 12-billion-parameter model designed to address latency, throughput, and cost challenges in production AI within software engineering.
- 2Utilizing a Mixture-of-Experts (MoE) architecture, Mellum2 activates only 2.5 billion parameters per token for efficiency, specializing in natural language and code, and achieves comparable performance at half the inference time of similar models.
- 3Positioned as a "focal model," Mellum2 is intended for tasks like AI workload routing, low-latency RAG pipelines, and powering sub-agents, promoting a system where efficient, specialized models handle frequent operations.
Mellum2 is a 12-billion-parameter large language model open-sourced by JetBrains, specifically engineered for deployment in production AI workflows within software engineering systems. Designed from the ground up with a strong emphasis on real-world applicability, Mellum2 addresses critical challenges in production AI, namely latency, throughput, and cost efficiency. It is released under the Apache 2.0 license, offering a high-performance, cost-effective alternative for on-premise infrastructure.
Initially conceived for code completion, Mellum2 has evolved into a versatile tool capable of processing both natural language and code, supporting functions such as routing, summarization, and intermediate inference steps across modern AI workflows. Its architecture is explicitly designed to resolve bottlenecks prevalent in production-scale systems.
The core methodology of Mellum2 centers around a Mixture-of-Experts (MoE) design. While the model encompasses a total of 12 billion parameters, its MoE architecture ensures that only approximately 2.5 billion parameters are actively engaged per token during inference. This sparsity significantly reduces computational costs while simultaneously facilitating high throughput and low-latency inference, which are crucial for real-time applications.
Furthermore, Mellum2 adopts a specialized, focused training approach. Unlike multimodal models, it is exclusively trained on natural language and code datasets. This specialized focus allows Mellum2 to excel in software engineering contexts, maintaining a lightweight footprint and high inference speed. Performance benchmarks detailed in their technical report indicate that Mellum2 achieves performance comparable to other models of similar scale across code generation, scientific, mathematical, and reasoning tasks, but crucially, it boasts less than half the inference time. This efficiency gain provides a significant advantage for production-grade deployments.
Key use cases for Mellum2 include:
- AI Workload Routing and Orchestration: Enabling dynamic analysis of input prompts to select the most suitable model or tool for a given task.
- Low-Latency RAG (Retrieval Augmented Generation) Pipelines: Facilitating rapid retrieval and summarization of relevant context using Mellum2 to generate immediate responses.
- Fast Sub-Agent Operation in Complex Workflows: Decomposing elaborate agent pipelines into specialized, efficient steps like context gathering, planning, and validation, where Mellum2 can be leveraged for focused, fast processing instead of relying solely on a single, monolithic model.
- Private Local AI Deployment: Supporting on-premises execution to provide organizations with complete control over their code and data, addressing privacy and security concerns.
JetBrains champions a "focal model" philosophy, contending that the future of AI systems lies in a coordinated network of specialized models rather than monolithic ones. As AI system complexity grows, the primary bottlenecks shift from raw model performance to the operational challenges of latency, throughput, and cost in large-scale environments. Mellum2 embodies this philosophy, serving as a rapid, specialized component designed to efficiently handle frequent, latency-sensitive tasks within a broader AI ecosystem, complementing larger frontier models for more complex, less frequent operations.