LibreAI / LLM local / DeepSeek-Coder-V2
// local-llm · deepseek-ai/DeepSeek-Coder-V2

DeepSeek-Coder-V2

DeepSeek-Coder-V2 é um projeto de LLM local de código aberto de deepseek-ai (deepseek-ai/DeepSeek-Coder-V2 no GitHub). Tem 7.014 estrelas no GitHub e 1.108 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 11 de novembro de 2025.

DeepSeek-Coder-V2 — DeepSeek's open code model family that challenged closed-source code models.

★ 7,0 mil estrelas⑂ 1,1 mil forksMITatualizado nov 2025
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
7.014
Forks
1.108
Licença
MIT
Última atualização no GitHub
11 de novembro de 2025
Categoria
LLM local
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  1. Clarify your goal

    Choose the variant that fits your hardware — a Lite model for a single workstation GPU, or the full model only if you have a multi-GPU server — and your inference stack (Transformers or SGLang).

  2. Get the project

    Clone deepseek-ai/DeepSeek-Coder-V2 from GitHub (or use the install path in the run steps below) and skim its README for the parts relevant to your goal.

  3. Install and configure

    There is nothing to build: download the weights from the model's Hugging Face page and load them with Transformers or SGLang using the README's examples.

  4. Run your first task

    Run the code-completion example with DeepSeek-Coder-V2-Lite-Base on a short Python snippet, then try the chat example with the Instruct variant.

// recursos

Por que as pessoas gostam tanto

Code generation strength

Evaluated extensively on code generation benchmarks in the repo, positioning it against leading closed models.

Code completion and insertion

Supports fill-in-the-middle style code insertion as well as plain completion, with worked examples for both.

Code fixing

Evaluated on code-fixing tasks, so it can be used to repair broken code, not just write new code.

Chat and base variants

Instruct (chat) and Base variants, in full and Lite sizes, cover assistant use and raw completion/fine-tuning bases.

Mathematical and general ability

The repo also reports mathematical-reasoning and general natural-language evaluations, beyond pure code tasks.

Two inference paths

Run with Hugging Face Transformers for simplicity, or SGLang (the recommended path) for efficient serving.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Clone the repository

    Get the source from the official GitHub repository for DeepSeek-Coder-V2.

    git clone https://github.com/deepseek-ai/DeepSeek-Coder-V2.git
    cd DeepSeek-Coder-V2
  2. Load with Transformers

    Use the README's Hugging Face example to load the Lite base model for code completion.

    python -c "from transformers import AutoTokenizer, AutoModelForCausalLM; m='deepseek-ai/DeepSeek-Coder-V2-Lite-Base'; tok=AutoTokenizer.from_pretrained(m, trust_remote_code=True)"  # full example in README
  3. Or serve with SGLang

    For the full model, follow the README's SGLang section (BF16, tensor parallelism) to serve it efficiently.

    # See README 'Inference with SGLang (recommended)' for the exact serve command and settings
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains DeepSeek-Coder-V2?

deepseek-ai (DeepSeek), through the deepseek-ai/DeepSeek-Coder-V2 repository, with models on Hugging Face and an API platform documented in the repo.

Is DeepSeek-Coder-V2 free to use?

Yes — the project is open source under the MIT license as recorded for this listing. You can use, modify and distribute it under the MIT terms.

Does DeepSeek-Coder-V2 need a paid API key?

Running locally needs no API key — just hardware. DeepSeek also offers a hosted API platform if you prefer not to run the weights yourself.

How does DeepSeek-Coder-V2 compare to a hosted code assistant API?

A hosted API is instant and scales for you, billed per token. DeepSeek-Coder-V2 gives you open weights to run, inspect and fine-tune on your own GPUs — full control and no per-token bill, with real hardware requirements, especially for the full model.

How do I get started with DeepSeek-Coder-V2?

Clone the repository (or use the documented installer), follow the install and configure steps on this page, and run the smallest real task first — run the code-completion example with DeepSeek-Coder-V2-Lite-Base on a short Python snippet, then try the chat example with the Instruct variant.

// continue explorando

Ferramentas semelhantes

LLM local

Qwen3-Coder

Qwen3-Coder - Alibaba's open code model series for agentic coding, up to 1M tokens of context

★ 16,8 mil estrelasNOASSERTION
Ver o guia →
LLM local

maid

Maid is a free and open source application for interfacing with llama.cpp models locally, and with Anthropic, DeepSeek, Ollama, Mistral and OpenAI models rem…

★ 2,7 mil estrelasMIT
Ver o guia →
LLM local

node-llama-cpp

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level

★ 2,2 mil estrelasMIT
Ver o guia →
LLM local

ChatLLM-Web

Private AI chat and model studio that runs in your browser via WebGPU.

★ 636 estrelasMIT
Ver o guia →
LLM local

vllm-omni

vLLM-Omni — efficient inference for omni-modality models: image, audio, video, diffusion and policies.

★ 7,1 mil estrelasApache-2.0
Ver o guia →
LLM local

ComfyUI-GGUF

GGUF Quantization support for native ComfyUI models

★ 4,1 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em LLM local

Os outros projetos de LLM local com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se DeepSeek-Coder-V2 não for o ideal para você.

// mais em local-llm

Mais em LLM local

Projetos de LLM local próximos no catálogo, os mais próximos em estrelas de DeepSeek-Coder-V2: continue explorando dos dois lados dele.

Baixe o DeepSeek-Coder-V2

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.