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
•
175
This is the Q4_K_M converted version of the original ibm-granite/granite-3b-code-base-2k
.
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-3b-code-base-2k-GGUF/granite-3b-code-base.Q4_K_M.gguf -n 128 -p "def generate_random(x: int):" --color