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…
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.
pip install -U huggingface_hub hf download unsloth/granite-4.1-8b-GGUF
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.
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.
| 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 |
pip install -U huggingface_hub hf download unsloth/granite-4.1-8b-GGUF
pip install torch torchvision torchaudio pip install accelerate pip install transformers
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 |
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.
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.
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.
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:
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:
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:
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.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| granite-4.1-8b-GGUF This page | 4,426 | 56 | 8.8B | apache-2.0 | |
| Granite-4.2-3B (GGUF)Shares language · gguf · conversational | 276,584 | 47 | 3.7B | apache-2.0 | |
| granite-4.2-8b GGUFShares language · gguf · conversational | 282,269 | 49 | 8.8B | apache-2.0 | |
| Granite-4.0-H-350MShares language · conversational · transformers | 4,734 | 114 | 340M | apache-2.0 | |
| Qwen3.6-35B-A3B-MTP-GGUFShares unsloth · gguf · conversational | 2,315,167 | 1,051 | 35.5B | apache-2.0 | |
| Qwen3.5-9B-GGUFShares unsloth · gguf · conversational | 1,969,901 | 1,074 | 9B | apache-2.0 |
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…
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…
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…
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…
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.
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…