# ibm-granite/granite-20b-code-instruct-8k

Model from Hugging Face for text generation: ibm-granite/granite-20b-code-instruct-8k · transformers

## Facts

- Type: LLM
- Task: text-generation
- Framework: transformers
- License: apache-2.0 — Permissive open license: commercial use, modification, and redistribution are permitted. (https://spdx.org/licenses/Apache-2.0.html)
- Source: https://huggingface.co/ibm-granite/granite-20b-code-instruct-8k
- Hosting: unknown (no download location recorded)
- Files: 17 listed, none hosted here
- File counts: "listed" is every file in the source repository; only hosted files download from Hugging Bay, and the download plan lists the files it selects for one download, so its count can differ.
- Hosted here: availability unknown
- Full repo upstream: 40.1 GB
- Recommended file: 40.1 GB (9 files)
- Parameters: 20B
- Download: none recorded
- Per-file SHA-256: not available (no files hosted on Hugging Bay)
- Run-ready: no (Hugging Bay has not certified a run path for this model; hosted bytes are downloadable and hash-checkable only)
- Peer-assisted fallbacks: 0 verified, 0 pending review
- Downloads: 4036
- Stars: 44
- Card completeness: 96%

## Description

External Hugging Face catalog record for ibm-granite/granite-20b-code-instruct-8k. Task: text generation. Library: transformers. Datasets referenced by card metadata: bigcode/commitpackft, TIGER-Lab/MathInstruct, meta-math/MetaMathQA, glaiveai/glaive-code-assistant-v3, glaive-function-calling-v2, bugdaryan/sql-create-context-instruction. Base model: ibm-granite/granite-20b-code-base-8k. Includes 12 model-card evaluation signals. Popularity signal at import: 2,715 downloads and 44 likes.

## Model Card Facts

- Declared license: apache-2.0
- Pipeline: text-generation
- Library: transformers
- Base model: ibm-granite/granite-20b-code-base-8k
- Task categories: text-generation
- Referenced datasets: bigcode/commitpackft, TIGER-Lab/MathInstruct, meta-math/MetaMathQA, glaiveai/glaive-code-assistant-v3, glaive-function-calling-v2, bugdaryan/sql-create-context-instruction, garage-bAInd/Open-Platypus, nvidia/HelpSteer
- Metrics: code_eval
- Paper ids: 2405.04324
- Model-index entries: granite-20b-code-instruct-8k
- Evaluation signals: 12 model-card eval results
- File hints: 16 upstream file samples

## Evaluation Signals

- HumanEvalSynthesis(Python): pass@1 = 60.4 (text-generation)
- HumanEvalSynthesis(JavaScript): pass@1 = 53.7 (text-generation)
- HumanEvalSynthesis(Java): pass@1 = 58.5 (text-generation)
- HumanEvalSynthesis(Go): pass@1 = 42.1 (text-generation)
- HumanEvalSynthesis(C++): pass@1 = 45.7 (text-generation)
- HumanEvalSynthesis(Rust): pass@1 = 42.7 (text-generation)
- HumanEvalExplain(Python): pass@1 = 44.5 (text-generation)
- HumanEvalExplain(JavaScript): pass@1 = 42.7 (text-generation)
- HumanEvalExplain(Java): pass@1 = 49.4 (text-generation)
- HumanEvalExplain(Go): pass@1 = 32.3 (text-generation)

## Referenced Data

- Dataset: bigcode/commitpackft
- Dataset: TIGER-Lab/MathInstruct
- Dataset: meta-math/MetaMathQA
- Dataset: glaiveai/glaive-code-assistant-v3
- Dataset: glaive-function-calling-v2
- Dataset: bugdaryan/sql-create-context-instruction
- Dataset: garage-bAInd/Open-Platypus
- Dataset: nvidia/HelpSteer
- Paper: 2405.04324

## File Hints

- .gitattributes (1.5 KB)
- README.md (9.5 KB)
- config.json (645 B)
- generation_config.json (132 B)
- model-00001-of-00009.safetensors (4.6 GB) LFS
- model-00002-of-00009.safetensors (4.6 GB) LFS
- model-00003-of-00009.safetensors (4.6 GB) LFS
- model-00004-of-00009.safetensors (4.6 GB) LFS
- model-00005-of-00009.safetensors (4.6 GB) LFS
- model-00006-of-00009.safetensors (4.6 GB) LFS
- model-00007-of-00009.safetensors (4.6 GB) LFS
- model-00008-of-00009.safetensors (4.6 GB) LFS

## Quality Checklist

- Summary: passed
- Description: passed
- Model card metadata: passed
- License: passed
- Provenance: passed
- File inventory: passed
- Hosted bytes: passed
- Scan result: passed
- Manifest signature: pending

## Safety Notes

- External catalog metadata imported from Hugging Face public API on 2026-09-22T07:17:56.621Z.
- Open license detected as apache-2.0.
- Model-index metadata found for granite-20b-code-instruct-8k.
- Model card references dataset context: bigcode/commitpackft, TIGER-Lab/MathInstruct, meta-math/MetaMathQA, glaiveai/glaive-code-assistant-v3.
- Not locally hosted, mirrored, signed, or rescanned by Hugging Bay.
- Not a run kit: hosted, hash-checked bytes only; run readiness is not certified for this model yet.

## Actions

- Web: https://huggingbay.xyz/artifact/hf-model-ibm-granite-granite-20b-code-instruct-8k
- Files API: https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-20b-code-instruct-8k/files?limit=100
- Metadata: https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-20b-code-instruct-8k/metadata.json
- Distribution: https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-20b-code-instruct-8k/distribution
- Manifest: not available until files are hosted and release checks pass.
- Request mirror: POST https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-20b-code-instruct-8k/mirror-request
- Submit peer fallback for review: POST https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-20b-code-instruct-8k/decentralized-fallbacks
