LibreAI / ローカルLLM / DeepSeek-Coder-V2
// local-llm · deepseek-ai/DeepSeek-Coder-V2

DeepSeek-Coder-V2

DeepSeek-Coder-V2は、deepseek-aiが公開しているオープンソースのローカルLLMプロジェクトです(GitHub: deepseek-ai/DeepSeek-Coder-V2)。GitHubスターは7,014、フォークは1,108で、MITライセンスの下で公開されています。GitHubでの最終更新は2025年11月11日です。

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

★ 7.0k スター⑂ 1.1k フォークMIT更新 2025年11月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

GitHubスター
7,014
フォーク
1,108
ライセンス
MIT
GitHubでの最終更新
2025年11月11日
カテゴリ
ローカルLLM
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

ローカルLLM

Qwen3-Coder

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

★ 16.8k スターNOASSERTION
ガイドを見る →
ローカルLLM

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.7k スターMIT
ガイドを見る →
ローカルLLM

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.2k スターMIT
ガイドを見る →
ローカルLLM

ChatLLM-Web

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

★ 636 スターMIT
ガイドを見る →
ローカルLLM

vllm-omni

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

★ 7.1k スターApache-2.0
ガイドを見る →
ローカルLLM

ComfyUI-GGUF

GGUF Quantization support for native ComfyUI models

★ 4.1k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: ローカルLLM

LibreAIカタログに掲載されたローカルLLMプロジェクトの中で最もスターの多いもの — DeepSeek-Coder-V2が合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る local-llm

さらに見る: ローカルLLM

カタログの中でDeepSeek-Coder-V2とスター数が近いローカルLLMプロジェクト — 前後の棚もそのまま見て回れます。

DeepSeek-Coder-V2を入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。