Mellum
Mellum-4b-base is JetBrains' first open-source large language model (LLM) optimized for code-related tasks.
Cost / License
- Free
- Open Source
Application types
Platforms
- Self-Hosted
- Python
Features
- AI-Powered
Tags
- ai-model
- Artificial intelligence
- ai-code-assistant
- Machine Learning
- Text Generation
- huggingface
- jetbrains
Mellum News & Activities
Recent News
- Maoholguin published news article about Mellum
JetBrains has open-sourced Mellum, its AI code generation model, available on Hugging FaceJetBrains has launched Mellum, its first open AI code generation model, on the Hugging Face platfor...
Recent activities
MMsaint added Mellum as alternative to AI Chat Studio
POX added Mellum as alternative to BLACKBOX.AI
seaoflife added Mellum as alternative to Google Opal
Mellum information
What is Mellum?
Mellum-4b-base is JetBrains' first open-source large language model (LLM) optimized for code-related tasks.
Trained on over 4 trillion tokens with a context window of 8192 tokens across multiple programming languages, Mellum-4b-base is tailored specifically for code completion. The model follows a LLaMA-style architecture with 4 billion parameters, making it efficient for both cloud inference (e.g., via vLLM) and local deployment (e.g., using llama.cpp or Ollama).
Mellum was trained using Automatic Mixed Precision (AMP) with bf16 precision. The uploaded version on Hugging Face retains the bf16 format for public use.
Designed for integration into professional developer tooling (e.g., intelligent code suggestions in IDEs), AI-powered coding assistants, and research on code understanding and generation, Mellum is also well-suited for educational applications and fine-tuning experiments.
This release includes a base model, and Python SFT models as well. Models for other languages will be released soon. Keep in mind that base model is not fine-tuned for downstream tasks out-of-the-box, however, it is fully capable of supporting supervised fine-tuning (SFT) and reinforcement learning (RL) for adaptation to specific applications.


