Granite Code Models
Collection
A series of code models trained by IBM licensed under Apache 2.0 license. We release both the base pretrained and instruct models.
•
23 items
•
Updated
•
180
This is the Q4_K_M converted version of the original ibm-granite/granite-8b-code-instruct-4k
.
Refer to the original model card for more details.
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
# install
make
# run generation
./main -m granite-8b-code-instruct-4k-GGUF/granite-8b-code-instruct.Q4_K_M.gguf -n 128 -p "def generate_random(x: int):" --color
Base model
ibm-granite/granite-8b-code-base-4k