GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

alal123/starcoder2-3b-Q4_K_M-GGUF overview

alal123/starcoder2 3b Q4 K M GGUF This model was converted to GGUF format from bigcode/starcoder2 3b https://huggingface.co/bigcode/starcoder2 3b using llama.c…

transformersggufcodellama-cppgguf-my-repotext-generationdataset:bigcode/the-stack-v2-trainbase_model:bigcode/starcoder2-3bbase_model:quantized:bigcode/starcoder2-3blicense:bigcode-openrail-mmodel-indexendpoints_compatibleregion:us

Runs locally from ~1.76 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
text-generation
Author

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
starcoder2-3b-q4_k_m.ggufGGUFQ4_K_M1.76 GBDownload

Model Details

Model IDalal123/starcoder2-3b-Q4_K_M-GGUF
Authoralal123
Pipelinetext-generation
Licensebigcode-openrail-m
Base modelbigcode/starcoder2-3b
Last modified2026-07-03T20:33:46.000Z

Model README

---

pipeline_tag: text-generation

inference: true

widget:

  • text: 'def print_hello_world():'

example_title: Hello world

group: Python

datasets:

  • bigcode/the-stack-v2-train

license: bigcode-openrail-m

library_name: transformers

tags:

  • code
  • llama-cpp
  • gguf-my-repo

base_model: bigcode/starcoder2-3b

model-index:

  • name: starcoder2-3b

results:

- task:

type: text-generation

dataset:

name: CruxEval-I

type: cruxeval-i

metrics:

- type: pass@1

value: 32.7

- task:

type: text-generation

dataset:

name: DS-1000

type: ds-1000

metrics:

- type: pass@1

value: 25.0

- task:

type: text-generation

dataset:

name: GSM8K (PAL)

type: gsm8k-pal

metrics:

- type: accuracy

value: 27.7

- task:

type: text-generation

dataset:

name: HumanEval+

type: humanevalplus

metrics:

- type: pass@1

value: 27.4

- task:

type: text-generation

dataset:

name: HumanEval

type: humaneval

metrics:

- type: pass@1

value: 31.7

- task:

type: text-generation

dataset:

name: RepoBench-v1.1

type: repobench-v1.1

metrics:

- type: edit-smiliarity

value: 71.19

---

alal123/starcoder2-3b-Q4_K_M-GGUF

This model was converted to GGUF format from bigcode/starcoder2-3b 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 (works on Mac and Linux)

brew install llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo alal123/starcoder2-3b-Q4_K_M-GGUF --hf-file starcoder2-3b-q4_k_m.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo alal123/starcoder2-3b-Q4_K_M-GGUF --hf-file starcoder2-3b-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.

Step 1: Clone llama.cpp from GitHub.

git clone https://github.com/ggerganov/llama.cpp

Step 2: Move into the llama.cpp folder and build it with LLAMA_CURL=1 flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).

cd llama.cpp && LLAMA_CURL=1 make

Step 3: Run inference through the main binary.

./llama-cli --hf-repo alal123/starcoder2-3b-Q4_K_M-GGUF --hf-file starcoder2-3b-q4_k_m.gguf -p "The meaning to life and the universe is"

or

./llama-server --hf-repo alal123/starcoder2-3b-Q4_K_M-GGUF --hf-file starcoder2-3b-q4_k_m.gguf -c 2048

Run alal123/starcoder2-3b-Q4_K_M-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models