# Open-Source Coding Models

> AI-ranked search results for `best open source coding models` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 114 total matches; showing the top 13.

Explore on the web: https://awesome-repositories.com/q/best-open-source-coding-models

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/best-open-source-coding-models).**

## Results

- [meta-llama/codellama](https://awesome-repositories.com/repository/meta-llama-codellama.md) (16,307 ⭐) — CodeLlama is a family of large language models derived from the Llama 2 architecture and specialized for producing, completing, and refactoring source code across multiple programming languages. It functions as a code generation model capable of synthesizing source code from natural language descriptions.

The project includes specific model variants designed for different programming tasks. This includes instruction-tuned models trained to follow complex natural language directions and code infilling models that predict and insert missing code segments into existing files by analyzing surroun
- [facebookresearch/codellama](https://awesome-repositories.com/repository/facebookresearch-codellama.md) (16,307 ⭐) — Code Llama is a large language model based on Llama 2 trained specifically for programming tasks and software development. It provides specialized model types optimized for general code generation, instruction following, and context-aware infilling.

The project includes an instruction-tuned programming model for executing technical tasks via natural language prompts and a code infilling model that predicts missing sections based on surrounding source context. A large context code model is also provided to analyze extensive blocks of source code for improved coherence.

The system covers capab
- [deepseek-ai/deepseek-coder-v2](https://awesome-repositories.com/repository/deepseek-ai-deepseek-coder-v2.md) (6,462 ⭐)
- [qwenlm/qwen2.5](https://awesome-repositories.com/repository/qwenlm-qwen2-5.md) (27,307 ⭐) — Qwen2.5 is a suite of large language model foundation models designed for natural language generation, code production, and complex mathematical reasoning. The project encompasses a multilingual language model capable of processing dozens of languages and a specialized code generation model for technical problem solving and debugging.

The framework is distinguished by its long context capabilities, enabling the analysis of massive inputs ranging from 256K up to 1 million tokens. It further functions as an agentic framework, utilizing standardized templates and parsers to execute autonomous wo
- [baichuan-inc/baichuan2](https://awesome-repositories.com/repository/baichuan-inc-baichuan2.md) (4,098 ⭐) — Baichuan2 is a collection of pre-trained large language models, including base and chat variants, designed for natural language generation and multi-turn conversational AI. It provides an inference engine and a fine-tuning framework to adapt these models to custom datasets and specialized domains.

The project features a quantization toolkit and an inference engine that enable model execution across diverse hardware, including graphics processors, central processors, and specialized accelerators. These tools support low-bit weight quantization to reduce memory usage and increase inference spee
- [facico/chinese-vicuna](https://awesome-repositories.com/repository/facico-chinese-vicuna.md) (4,121 ⭐) — Chinese-Vicuna is a Chinese large language model and instruction-following AI based on the LLaMA architecture. It is specifically designed for natural language understanding and generation in the Chinese language, utilizing an instruction-tuned model to follow complex user prompts across conversations.

The project provides a LoRA fine-tuning framework and quantization systems to enable model adaptation and inference on consumer hardware. It implements quantized inference to reduce memory usage on both CPUs and GPUs, supported by a low-level C++ implementation to minimize system resource requi
- [bigcode-project/starcoder](https://awesome-repositories.com/repository/bigcode-project-starcoder.md) (7,508 ⭐) — Starcoder is a large language model and associated framework designed to generate, complete, and evaluate source code across multiple programming languages. It functions as a source code model that can produce complete function implementations and predict subsequent characters in a line of code based on provided prompts.

The project provides a specialized toolkit for adapting base models to specific coding tasks and instruction-following behaviors. This includes a conversational code assistant framework for training models to generate code via natural language chat, as well as a parameter-eff
- [salesforce/codegen](https://awesome-repositories.com/repository/salesforce-codegen.md) (5,175 ⭐) — CodeGen is a trained large language model and program synthesis model designed to generate functional source code. It utilizes a neural network architecture to synthesize executable code from natural language descriptions or partial code snippets.

The model enables automated program synthesis and AI-assisted coding by predicting and filling in missing sections of code within a program. It transforms natural language descriptions into functional programming logic to automate the creation of boilerplate and logic.
- [salesforce/codet5](https://awesome-repositories.com/repository/salesforce-codet5.md) (3,098 ⭐) — Home of CodeT5: Open Code LLMs for Code Understanding and Generation
- [bigcode-project/starcoder2](https://awesome-repositories.com/repository/bigcode-project-starcoder2.md) (2,075 ⭐) — StarCoder2 is a family of code generation models (3B, 7B, and 15B), trained on 600+ programming languages from The Stack v2 and some natural language text such as Wikipedia, Arxiv, and GitHub issues. The models use Grouped Query Attention, a context window of 16,384 tokens, with sliding window…
- [ibm-granite/granite-code-models](https://awesome-repositories.com/repository/ibm-granite-granite-code-models.md) (1,250 ⭐) — Granite Code Models is a family of transformer-based foundational models designed for software engineering and logical reasoning tasks. These models are trained on high-quality programming datasets to interpret natural language prompts and generate functional source code, explain complex logic, repair code defects, and produce technical documentation.

The project distinguishes itself through specialized training methodologies that align model behavior with complex programming instructions and mathematical problem-solving. By utilizing chain-of-thought reasoning and instruction-tuned parameter
- [zai-org/glm-4](https://awesome-repositories.com/repository/zai-org-glm-4.md) (7,058 ⭐) — GLM-4 is a large language model and fine-tuning framework designed for human-like text production, complex reasoning, and multilingual conversation. It functions as a multimodal system capable of processing high-resolution visual content and as a long-context model designed to analyze documents with a context window of up to one million tokens.

The project differentiates itself through a function calling interface that enables AI agent development by connecting the model to external APIs and real-time web browsing. It includes specialized capabilities for generating functional programming cod
- [salesforce/codegen2](https://awesome-repositories.com/repository/salesforce-codegen2.md) (270 ⭐) — Official research release for the CodeGen2 models (1B, 3B, 7B, 16B) for Program Synthesis as presented in ICLR 2023:
