IBMIBM

Granite Code 8B

現行
11.3Kダウンロード115いいねMay 2024公開日8K トークンコンテキストApache 2.0ライセンス60 良好品質

Granite Code 8B (8B parameters) requires approximately 8.6 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 10 GB of VRAM.

はじめに

— コピー&ペーストでローカル実行

Copy-paste commands to run Granite Code 8B on your machine.

Run

ollama run granite-code:8b

Quick specs

Parameters8B
Architecturedense
Context8K tokens
Modalitytext
Min RAM3.1 GB
Rec. RAM4.9 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite

About this model

Granite-8B-Code-Instruct-4K is a 8B parameter model fine tuned from *Granite-8B-Code-Base-4K* on a combination of permissively licensed instruction data to enhance instruction following capabilities including logical reasoning and problem-solving skills.

  • Developers:: IBM Research
  • GitHub Repository:: ibm-granite/granite-code-models
  • Paper:: Granite Code Models: A Family of Open Foundation Models for Code Intelligence
  • Release Date: May 6th, 2024
  • License:: Apache 2.0

関連モデル

あなたのハードウェア

検出中...

おすすめ

最適なハードウェア

Granite Code 8Bのおすすめ

このモデルを実行

量子化オプション

量子化レベル別VRAM推定値

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
3.1 GB
Low
Q3_K_S
3
3.9 GB
Low
NVFP4
4
4.5 GB
Medium
Q4_K_M
4
4.9 GB
Medium
Q5_K_M
5
5.8 GB
High
Q6_K
6
6.6 GB
High
Q8_0
8
8.6 GB
Very High
F16
16
16.4 GB
Maximum

Quality benchmarks

Granite Code 8B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+49.6%
Aider Polyglot
LiveCodeBench

Source: official · 2024-05-07

ハードウェア互換性

全ハードウェアの適合度推定

カリキュレーターを開く

Computing compatibility...

メモリ内訳

Reference: RTX 2060 6GB

Weights4.9 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB

よくある質問

FAQ — Granite Code 8B

関連項目