π Model Description
pipeline_tag: text-generation base_model: ibm-granite/granite-3b-code-base license: apache-2.0 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 library_name: transformers tags: - code - granite model-index: - name: granite-3b-code-instruct results: - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(Python) metrics: - name: pass@1 type: pass@1 value: 51.2 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(JavaScript) metrics: - name: pass@1 type: pass@1 value: 43.9 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(Java) metrics: - name: pass@1 type: pass@1 value: 41.5 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(Go) metrics: - name: pass@1 type: pass@1 value: 31.7 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(C++) metrics: - name: pass@1 type: pass@1 value: 40.2 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalSynthesis(Rust) metrics: - name: pass@1 type: pass@1 value: 29.3 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(Python) metrics: - name: pass@1 type: pass@1 value: 39.6 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(JavaScript) metrics: - name: pass@1 type: pass@1 value: 26.8 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(Java) metrics: - name: pass@1 type: pass@1 value: 39 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(Go) metrics: - name: pass@1 type: pass@1 value: 14 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(C++) metrics: - name: pass@1 type: pass@1 value: 23.8 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalExplain(Rust) metrics: - name: pass@1 type: pass@1 value: 12.8 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(Python) metrics: - name: pass@1 type: pass@1 value: 26.8 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(JavaScript) metrics: - name: pass@1 type: pass@1 value: 28 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(Java) metrics: - name: pass@1 type: pass@1 value: 33.5 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(Go) metrics: - name: pass@1 type: pass@1 value: 27.4 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(C++) metrics: - name: pass@1 type: pass@1 value: 31.7 veriefied: false - task: type: text-generation dataset: type: bigcode/humanevalpack name: HumanEvalFix(Rust) metrics: - name: pass@1 type: pass@1 value: 16.5 veriefied: false
!image/png
This model was quantized by SanctumAI. To leave feedback, join our community in Discord.
Granite 3B Code Instruct GGUF
Model creator: ibm-granite
Original model: granite-3b-code-instruct
Model Summary:
Granite-3B-Code-Instruct is a 3B parameter model fine tuned from Granite-3B-Code-Base 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.
Prompt Template:
If you're using Sanctum app, simply use IBM Granite Code model preset.
Prompt template:
System:
{system_prompt}
Question:
{prompt}
Answer:
Hardware Requirements Estimate
| Name | Quant method | Size | Memory (RAM, vRAM) required (for full context of 32k tokens) |
|---|---|---|---|
| granite-3b-code-instruct.Q2K.gguf | Q2K | 1.34 GB | 4.68 GB |
| granite-3b-code-instruct.Q3KS.gguf | Q3K_S | 1.55 GB | ? |
| granite-3b-code-instruct.Q3KM.gguf | Q3K_M | 1.73 GB | ? |
| granite-3b-code-instruct.Q3KL.gguf | Q3K_L | 1.88 GB | ? |
| granite-3b-code-instruct.Q40.gguf | Q40 | 2.00 GB | ? |
| granite-3b-code-instruct.Q4KS.gguf | Q4K_S | 2.01 GB | ? |
| granite-3b-code-instruct.Q4KM.gguf | Q4K_M | 2.13 GB | ? |
| granite-3b-code-instruct.Q4K.gguf | Q4K | 2.13 GB | ? |
| granite-3b-code-instruct.Q41.gguf | Q41 | 2.21 GB | ? |
| granite-3b-code-instruct.Q50.gguf | Q50 | 2.42 GB | ? |
| granite-3b-code-instruct.Q5KS.gguf | Q5K_S | 2.42 GB | ? |
| granite-3b-code-instruct.Q5KM.gguf | Q5K_M | 2.49 GB | ? |
| granite-3b-code-instruct.Q5K.gguf | Q5K | 2.49 GB | ? |
| granite-3b-code-instruct.Q51.gguf | Q51 | 2.63 GB | ? |
| granite-3b-code-instruct.Q6K.gguf | Q6K | 2.86 GB | ? |
| granite-3b-code-instruct.Q80.gguf | Q80 | 3.71 GB | ? |
| granite-3b-code-instruct.f16.gguf | f16 | 6.97 GB | 4.68 GB |
Disclaimer
Sanctum is not the creator, originator, or owner of any Model featured in the Models section of the Sanctum application. Each Model is created and provided by third parties. Sanctum does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Model listed there. You understand that supported Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Model is the sole responsibility of the person or entity who originated such Model. Sanctum may not monitor or control the Models supported and cannot, and does not, take responsibility for any such Model. Sanctum disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Models. Sanctum further disclaims any warranty that the Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Models, your downloading of any Model, or use of any other Model provided by or through Sanctum.
π GGUF File List
| π Filename | π¦ Size | β‘ Download |
|---|---|---|
|
granite-3b-code-instruct.Q2_K.gguf
LFS
Q2
|
1.25 GB | Download |
|
granite-3b-code-instruct.Q3_K_L.gguf
LFS
Q3
|
1.75 GB | Download |
|
granite-3b-code-instruct.Q3_K_M.gguf
LFS
Q3
|
1.61 GB | Download |
|
granite-3b-code-instruct.Q3_K_S.gguf
LFS
Q3
|
1.45 GB | Download |
|
granite-3b-code-instruct.Q4_0.gguf
Recommended
LFS
Q4
|
1.86 GB | Download |
|
granite-3b-code-instruct.Q4_1.gguf
LFS
Q4
|
2.06 GB | Download |
|
granite-3b-code-instruct.Q4_K.gguf
LFS
Q4
|
1.99 GB | Download |
|
granite-3b-code-instruct.Q4_K_M.gguf
LFS
Q4
|
1.99 GB | Download |
|
granite-3b-code-instruct.Q4_K_S.gguf
LFS
Q4
|
1.88 GB | Download |
|
granite-3b-code-instruct.Q5_0.gguf
LFS
Q5
|
2.25 GB | Download |
|
granite-3b-code-instruct.Q5_1.gguf
LFS
Q5
|
2.45 GB | Download |
|
granite-3b-code-instruct.Q5_K.gguf
LFS
Q5
|
2.32 GB | Download |
|
granite-3b-code-instruct.Q5_K_M.gguf
LFS
Q5
|
2.32 GB | Download |
|
granite-3b-code-instruct.Q5_K_S.gguf
LFS
Q5
|
2.25 GB | Download |
|
granite-3b-code-instruct.Q6_K.gguf
LFS
Q6
|
2.67 GB | Download |
|
granite-3b-code-instruct.Q8_0.gguf
LFS
Q8
|
3.45 GB | Download |
|
granite-3b-code-instruct.f16.gguf
LFS
FP16
|
6.49 GB | Download |