How to use from
Unsloth Studio
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF to start chatting
Quick Links

mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF

This model was converted to GGUF format from ibm-granite/granite-20b-code-instruct using llama.cpp via the ggml.ai's GGUF-my-repo space. Refer to the original model card for more details on the model.

Use with llama.cpp

Install llama.cpp through brew.

brew install ggerganov/ggerganov/llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF --model granite-20b-code-instruct.Q4_K_M.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF --model granite-20b-code-instruct.Q4_K_M.gguf -c 2048

Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.

git clone https://github.com/ggerganov/llama.cpp &&             cd llama.cpp &&             make &&             ./main -m granite-20b-code-instruct.Q4_K_M.gguf -n 128
Downloads last month
17
GGUF
Model size
20B params
Architecture
starcoder
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF

Quantized
(13)
this model

Datasets used to train mayank-mishra/granite-20b-code-instruct-Q4_K_M-GGUF

Evaluation results