alt.freeweights.granite / granite-3b-code-instruct-2k-GGUF
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-3b-code-instruct-2k-GGUF

Date: 2026-11-15Commit: 3bdb764Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 2.13 GB in all. Published by ibm-granite under Apache-2.0.

granite2.13GBgranite-3b-code-instruct-2k-GGUFggufpermissive
FactsParamsnot statedSize2.13 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-3b-code-instruct-2k-GGUF
# manifest sha256 c1b5d5549985… · 2.13 GB · 3 files
$ fw verify ./granite-3b-code-instruct-2k-GGUF ibm-granite/granite-3b-code-instruct-2k-GGUF
From sourceHosted (signed)ibm-granite/granite-3b-code-instruct-2k-GGUFLast check: 2026-11-15 05:20 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of granite-3b-code-base-2k.

Works with

Convert with

Overview

Size
2.13 GB
Weights
2.13 GB (GGUF)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
3, each with a sha256
Publisher
ibm-granite
Added
2026-11-15
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Base model: ibm-granite/granite-3b-code-base-2k

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:20 UTCpassed

Model card

From the publisher at commit 3bdb764. Shown as plain text with links; images open at the publisher.

⚠️ DEPRECATION WARNING ⚠️#

New applications/projects should use the latest mainline Granite language model family, whose code capabilities supercede this model. This model is being made available strictly for historical/scientific purposes. Please see our Granite Collections for the latest Granite releases.


Image: image/png

ibm-granite/granite-3b-code-instruct-2k-GGUF#

This is the Q4_K_M converted version of the original ibm-granite/granite-3b-code-instruct-2k. Refer to the original model card for more details.

Use with llama.cpp#

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

# install
make

# run generation
./main -m granite-3b-code-instruct-2k-GGUF/granite-3b-code-instruct.Q4_K_M.gguf -n 128 -p "def generate_random(x: int):" --color

Files

3 files · 2.13 GBWeights 2.13 GB (GGUF). Sizes and sha256 from the signed manifest.
Hide all 3 files with their sha256
FileSizesha256
.gitattributes1.59 KB95463abcf42b7760b0a06b1069de30946f8c7f015849f144cb16b1dd97a354e7
README.md5.58 KB8e54e7ac3deb937f285d1fa75c12e138eba30e87a7a0f427733a2eeae58a2f58
granite-3b-code-instruct.Q4_K_M.gguf2.13 GB5bd783ab3925f425f17764fd34c1f7119fb64a023ccf9dd48654c3c3f252a8ff
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3bdb764463 pinned now2026-11-15 05:20 UTC3 files · 2.13 GB

Use it

$ fw get ibm-granite/granite-3b-code-instruct-2k-GGUF
# manifest sha256 c1b5d5549985… · 2.13 GB · 3 files
$ fw verify ./granite-3b-code-instruct-2k-GGUF ibm-granite/granite-3b-code-instruct-2k-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-3b-code-instruct-2k-GGUF.json --dir ./granite-3b-code-instruct-2k-GGUF $ python3 fw.py verify ./granite-3b-code-instruct-2k-GGUF ./ibm-granite__granite-3b-code-instruct-2k-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3b-code-instruct-2k-GGUF --revision 3bdb764463138638307e498e75f35901f24f6e87 --local-dir ./granite-3b-code-instruct-2k-GGUF
llama.cppDownload one GGUF variant (granite-3b-code-instruct.Q4_K_M, 2.13 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3b-code-instruct-2k-GGUF --include "granite-3b-code-instruct.Q4_K_M*" --local-dir ./granite-3b-code-instruct-2k-GGUF $ llama-server -m ./granite-3b-code-instruct-2k-GGUF/granite-3b-code-instruct.Q4_K_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./granite-3b-code-instruct-2k-GGUF/granite-3b-code-instruct.Q4_K_M.gguf\n' > Modelfile $ ollama create granite-3b-code-instruct-2k-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
8e54e7ac3deb937f285d1fa75c12e138eba30e87a7a0f427733a2eeae58a2f58
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-3b-code-instruct-2k-GGUFDate: 2026-11-15Commit: 3bdb764Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-3b-code-instruct-2k-GGUF
Pinned commit
3bdb764463138638307e498e75f35901f24f6e87
Manifest
granite-3b-code-instruct-2k-GGUF.json · .minisig
Manifest sha256
c1b5d554998536663f95f68d915e16a4ca281df29b22261b388ca7a7e6478eb5
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:20 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3b-code-instruct-2k-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-3b-code-instruct-2k-GGUF.json.minisig $ minisign -Vm granite-3b-code-instruct-2k-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

ibm-granite/granite-3b-code-base-2k · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-3b-code-instruct-2k-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-3b-code-instruct-2k-GGUF.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3