Mindket

granite-4.1-8b-GGUF

Newversion 1 · updated

Overview

Follows instructions, calls tools and chats with IBM's Granite 4.1 8B model, in GGUF files by Unsloth that include chat template fixes. Made for business assistants and tool-using agents.

granite-4.1-8b-GGUF is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python, for the Hugging Face hub tools
  • llama.cpp or another runner for GGUF files
  • For the transformers sample, torch, accelerate and transformers
Runs in
  • llama.cpp, with the jinja flag so the fixed chat template is used
  • Python with transformers, for the card's sample, which uses the original IBM weights
  • Windows, macOS or Linux with Python, for downloading the files
Start with
pip install -U huggingface_hub
hf download unsloth/granite-4.1-8b-GGUF

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This repository holds GGUF versions of granite-4.1-8b, an 8B instruct model from IBM's Granite Team with long-context support. IBM tuned it from Granite-4.1-8B-Base with supervised finetuning and reinforcement learning alignment. Unsloth made the GGUF files and fixed the chat template.

Who it suits

Teams building assistants for business use, and developers building agents that call tools. The 4-bit weights are estimated at about 4.4 GB, which keeps it within reach of ordinary computers.

IndustryWho uses itHow they use itExample
BusinessOperations teamsBuild assistants that answer questions and summarize documentsSummarize a long report
SoftwareDevelopersBuild agents that call functions and APIsLet the model pick a tool for a request
SupportSupport teamsClassify and extract details from messagesPull key fields out of a ticket
MultilingualGlobal teamsChat in one of the twelve supported languagesAnswer a question in Spanish or Japanese

People who need a tiny model for a phone can skip it, since 8B is mid-size.

Where to use it

  • llama.cpp, with the jinja flag so the fixed chat template is used
  • Python with transformers, for the card's sample, which uses the original IBM weights
  • Windows, macOS or Linux with Python, for downloading the files
Use caseWhoWhat they get back
Summarizing and extractionBusiness teamsShorter text and pulled-out details
Question answering and RAGDevelopersAnswers based on supplied documents
Function callingAgent buildersCalls to tools you define
Code tasksDevelopersCode help, including fill-in-the-middle completions

How to set it up

  • Python, for the Hugging Face hub tools
  • llama.cpp or another runner for GGUF files
  • For the transformers sample, torch, accelerate and transformers
  1. Install the Hugging Face hub tools with pip.
  2. Download the files with the hf command.
  3. With llama.cpp, add the jinja flag so the chat template fixes apply.
  4. To try the card's Python sample instead, install its libraries first.
pip install -U huggingface_hub
hf download unsloth/granite-4.1-8b-GGUF
pip install torch torchvision torchaudio
pip install accelerate
pip install transformers

How to use it

The card's sample loads the original IBM weights with transformers, applies the chat template to a user message, generates up to 100 new tokens and prints the result. For the GGUF files, use your runner and the jinja flag in llama.cpp.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.1-8b"
tokenizer = AutoTokenizer.from_pretrained(model_path)
# drop device_map if running on CPU
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
model.eval()
# change input text as desired
chat = [
    { "role": "user", "content": "Please list one IBM Research laboratory located in the United States. You should only output its name and location." },
]
chat = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
# tokenize the text
input_tokens = tokenizer(chat, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens,
                        max_new_tokens=100)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output[0])
ToolWhat it does
--jinjaA llama.cpp flag that applies the fixed chat template
apply_chat_templateTurns the chat messages into the prompt text
generateProduces the reply, capped here at 100 new tokens
Tool definitionsFollow OpenAI's function definition schema, according to the card

Example

You ask for one IBM Research laboratory in the United States, with only its name and location. The card's sample reply names a laboratory in San Jose, California.

For newcomers and experts

Start with the card's Python sample if you have a GPU, since it shows the whole loop in a few lines. With the GGUF files, remember the jinja flag in llama.cpp so the chat template behaves.

The card says IBM's improved post-training, with supervised finetuning and reinforcement learning alignment, raised tool calling, instruction following and chat quality. It lists summarization, classification, extraction, question answering, RAG, code tasks, function calling, multilingual dialog and fill-in-the-middle completion as capabilities.

  1. Write the chat as user and assistant messages
  2. The chat template builds the prompt
  3. The model generates the reply
  4. The tokenizer decodes it back to text

Good to know

  • Languages: Twelve languages are covered, among them English, Chinese, Japanese, Korean and Arabic. A fine-tune can add more.
  • Template: Unsloth fixed the chat template, so use the jinja flag in llama.cpp.
  • Sample: The Python sample uses the original IBM weights, not these GGUF files.
  • License: Apache 2.0.
  • Cost to run: none named. No API key or paid service appears in the source.
  • Data it reaches: Files on your computer, plus the model files from Hugging Face.
  • Not for: The source names no forbidden uses and no tasks it cannot do.

README and files

README

granite-4.1-8b-GGUF

Follows instructions, calls tools and chats with IBM's Granite 4.1 8B model, in GGUF files by Unsloth that include chat template fixes. Made for business assistants and tool-using agents.

Made by unsloth on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This repository holds GGUF versions of granite-4.1-8b, an 8B instruct model from IBM's Granite Team with long-context support. IBM tuned it from Granite-4.1-8B-Base with supervised finetuning and reinforcement learning alignment. Unsloth made the GGUF files and fixed the chat template.

Who it suits: Teams building assistants for business use, and developers building agents that call tools. The 4-bit weights are estimated at about 4.4 GB, which keeps it within reach of ordinary computers.

Industry | Who uses it | How they use it | Example
Business | Operations teams | Build assistants that answer questions and summarize documents | Summarize a long report
Software | Developers | Build agents that call functions and APIs | Let the model pick a tool for a request
Support | Support teams | Classify and extract details from messages | Pull key fields out of a ticket
Multilingual | Global teams | Chat in one of the twelve supported languages | Answer a question in Spanish or Japanese

People who need a tiny model for a phone can skip it, since 8B is mid-size.

Where to use it:

  • llama.cpp, with the jinja flag so the fixed chat template is used
  • Python with transformers, for the card's sample, which uses the original IBM weights
  • Windows, macOS or Linux with Python, for downloading the files
Use case | Who | What they get back
Summarizing and extraction | Business teams | Shorter text and pulled-out details
Question answering and RAG | Developers | Answers based on supplied documents
Function calling | Agent builders | Calls to tools you define
Code tasks | Developers | Code help, including fill-in-the-middle completions

How to set it up:

  • Python, for the Hugging Face hub tools
  • llama.cpp or another runner for GGUF files
  • For the transformers sample, torch, accelerate and transformers
  1. Install the Hugging Face hub tools with pip.
  2. Download the files with the hf command.
  3. With llama.cpp, add the jinja flag so the chat template fixes apply.
  4. To try the card's Python sample instead, install its libraries first.
pip install -U huggingface_hub
hf download unsloth/granite-4.1-8b-GGUF
pip install torch torchvision torchaudio
pip install accelerate
pip install transformers

How to use it: The card's sample loads the original IBM weights with transformers, applies the chat template to a user message, generates up to 100 new tokens and prints the result. For the GGUF files, use your runner and the jinja flag in llama.cpp.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"
model_path = "ibm-granite/granite-4.1-8b"
tokenizer = AutoTokenizer.from_pretrained(model_path)
# drop device_map if running on CPU
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
model.eval()
# change input text as desired
chat = [
    { "role": "user", "content": "Please list one IBM Research laboratory located in the United States. You should only output its name and location." },
]
chat = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
# tokenize the text
input_tokens = tokenizer(chat, return_tensors="pt").to(device)
# generate output tokens
output = model.generate(**input_tokens,
                        max_new_tokens=100)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# print output
print(output[0])
Tool | What it does
--jinja | A llama.cpp flag that applies the fixed chat template
apply_chat_template | Turns the chat messages into the prompt text
generate | Produces the reply, capped here at 100 new tokens
Tool definitions | Follow OpenAI's function definition schema, according to the card

Example: You ask for one IBM Research laboratory in the United States, with only its name and location. The card's sample reply names a laboratory in San Jose, California.

For newcomers and experts: Start with the card's Python sample if you have a GPU, since it shows the whole loop in a few lines. With the GGUF files, remember the jinja flag in llama.cpp so the chat template behaves.

The card says IBM's improved post-training, with supervised finetuning and reinforcement learning alignment, raised tool calling, instruction following and chat quality. It lists summarization, classification, extraction, question answering, RAG, code tasks, function calling, multilingual dialog and fill-in-the-middle completion as capabilities.

Write the chat as user and assistant messages
The chat template builds the prompt
The model generates the reply
The tokenizer decodes it back to text

Good to know:

  • Languages: Twelve languages are covered, among them English, Chinese, Japanese, Korean and Arabic. A fine-tune can add more.
  • Template: Unsloth fixed the chat template, so use the jinja flag in llama.cpp.
  • Sample: The Python sample uses the original IBM weights, not these GGUF files.
  • License: Apache 2.0.
  • Cost to run: none named. No API key or paid service appears in the source.
  • Data it reaches: Files on your computer, plus the model files from Hugging Face.
  • Not for: The source names no forbidden uses and no tasks it cannot do.

On Hugging Face, 13 November 2026

  • Library: transformers
  • Parameters: 8.8B
  • Weights: about 4.4 GB at 4-bit (estimate)
  • Formats: GGUF
  • Downloads in the last 30 days: 4,426
  • Likes: 56
  • License: apache-2.0
  • Based on: ibm-granite/granite-4.1-8b
  • Tags: transformers, gguf, language, unsloth, granite-4.1, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download unsloth/granite-4.1-8b-GGUF

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
granite-4.1-8b-GGUF This page4,426568.8Bapache-2.0
Granite-4.2-3B (GGUF)Shares language · gguf · conversational276,584473.7Bapache-2.0
granite-4.2-8b GGUFShares language · gguf · conversational282,269498.8Bapache-2.0
Granite-4.0-H-350MShares language · conversational · transformers4,734114340Mapache-2.0
Qwen3.6-35B-A3B-MTP-GGUFShares unsloth · gguf · conversational2,315,1671,05135.5Bapache-2.0
Qwen3.5-9B-GGUFShares unsloth · gguf · conversational1,969,9011,0749Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k