anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Reasons step by step, writes code, calls tools and chats in several languages with a context of up to 128K tokens, extendable to 512K. IBM's dense 8B model, for developers building agents and assistants.
Granite-4.2-8B 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 ibm-granite/granite-4.2-8b
Granite-4.2-8B is a reasoning model from the Granite team at IBM, a dense decoder-only transformer with about 8 billion parameters. It builds on Granite-4.1-8B-Base and thinks through a problem step by step before it answers. The card lists reasoning, code generation, tool calling, agentic workflows and multilingual dialog as its best uses.
Developers and teams who want an open reasoning model for assistants, coding help and agents that call tools. The weights carry the Apache 2.0 license.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Use the reasoning mode for code generation and debugging | Asking it to explain and fix a failing function |
| AI platforms | Agent builders | Run agents whose tool calls come with reasoning | An assistant that picks a tool and says why |
| Customer service | Product teams | Build multilingual dialog systems | A chat assistant that switches between English and Japanese |
Anyone who needs only quick short replies can skip the reasoning cost, since the card also offers a non-thinking mode for that.
| Use case | Who | What they get back |
|---|---|---|
| Reasoning tasks | Developers | Step-by-step answers to math, coding and logic problems |
| Tool calling | Agent builders | Function calls chosen after reasoning about which tool to use |
| Long documents | Analysts | Answers over inputs of up to 128K tokens, extendable to 512K |
pip install -U huggingface_hub hf download ibm-granite/granite-4.2-8b
Once the files are on your computer, you load the model and send it chat messages. The card describes three thinking modes you can pick per query. Full thinking is the default, with non-thinking and low-effort modes for lower latency. Hugging Face points to the model page for the exact run steps.
You give the model a multi-step math word problem with full thinking on. The card says it works through built-in chain-of-thought reasoning before it gives its final answer.
A reasoning model writes out its thinking before it answers, which can make answers on hard problems better and slower. A good first step is to download the files and read the model page to see how to switch the thinking mode.
The design is a dense decoder-only transformer with grouped query attention, 32 attention heads and 8 key-value heads, rotary position embeddings, SwiGLU feed-forward layers and RMSNorm. Input and output embeddings are separate, and precision is bfloat16. Native context is 128K tokens, with a long-context extension to 512K.
Reasons step by step, writes code, calls tools and chats in several languages with a context of up to 128K tokens, extendable to 512K. IBM's dense 8B model, for developers building agents and assistants.
Made by ibm-granite 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: Granite-4.2-8B is a reasoning model from the Granite team at IBM, a dense decoder-only transformer with about 8 billion parameters. It builds on Granite-4.1-8B-Base and thinks through a problem step by step before it answers. The card lists reasoning, code generation, tool calling, agentic workflows and multilingual dialog as its best uses.
Who it suits: Developers and teams who want an open reasoning model for assistants, coding help and agents that call tools. The weights carry the Apache 2.0 license.
Industry | Who uses it | How they use it | Example
Software | Developers | Use the reasoning mode for code generation and debugging | Asking it to explain and fix a failing function
AI platforms | Agent builders | Run agents whose tool calls come with reasoning | An assistant that picks a tool and says why
Customer service | Product teams | Build multilingual dialog systems | A chat assistant that switches between English and Japanese
Anyone who needs only quick short replies can skip the reasoning cost, since the card also offers a non-thinking mode for that.
Where to use it:
Use case | Who | What they get back
Reasoning tasks | Developers | Step-by-step answers to math, coding and logic problems
Tool calling | Agent builders | Function calls chosen after reasoning about which tool to use
Long documents | Analysts | Answers over inputs of up to 128K tokens, extendable to 512K
How to set it up:
pip install -U huggingface_hub
hf download ibm-granite/granite-4.2-8b
How to use it: Once the files are on your computer, you load the model and send it chat messages. The card describes three thinking modes you can pick per query. Full thinking is the default, with non-thinking and low-effort modes for lower latency. Hugging Face points to the model page for the exact run steps.
Example: You give the model a multi-step math word problem with full thinking on. The card says it works through built-in chain-of-thought reasoning before it gives its final answer.
For newcomers and experts: A reasoning model writes out its thinking before it answers, which can make answers on hard problems better and slower. A good first step is to download the files and read the model page to see how to switch the thinking mode.
The design is a dense decoder-only transformer with grouped query attention, 32 attention heads and 8 key-value heads, rotary position embeddings, SwiGLU feed-forward layers and RMSNorm. Input and output embeddings are separate, and precision is bfloat16. Native context is 128K tokens, with a long-context extension to 512K.
Download the files with hf
Load the model with transformers
Send chat messages
Pick a thinking mode
Get reasoning and an answer
Good to know:
Title: Context length in thousands of tokens
Native context: 128 K
With long-context extension: 512 K
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download ibm-granite/granite-4.2-8b
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 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.2-8B This page | 61,674 | 120 | 8.8B | apache-2.0 | |
| granite-4.2-3bShares granite · granite-4.2 · thinking | 41,238 | 135 | 3.7B | apache-2.0 | |
| Granite-4.2-30BShares granite · granite-4.2 · thinking | 36,287 | 143 | 29.3B | apache-2.0 | |
| granite-4.2-3b-GGUFShares granite · granite-4.2 · thinking | 6,928 | 9 | 3.7B | apache-2.0 | |
| gnani-evon-v3.3-30B-A3BShares tool-calling · reasoning · text-generation | 60,825 | 81 | 31.7B | apache-2.0 | |
| Gemma4-12B v2 Coding + Agentic EditionShares thinking · reasoning · text-generation | 92,024 | 1,773 | 11.9B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
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.