Mindket

Nanbeige4.2-3B by Nanbeige

Newversion 1 · updated

Overview

Compact looped-transformer model of 4.2B parameters for agent work such as tool use, office tasks and coding, in English and Chinese. For developers who want a small open model for agents.

Nanbeige4.2-3B by Nanbeige 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 with transformers
  • About 8.3 GB of disk for the BF16 weights
  • A GPU for comfortable speed
Runs in
  • Python scripts that use transformers
  • An agent scaffold such as OpenClaw, for personal assistant use
  • A local computer, since the weights are small
Start with
pip install -U huggingface_hub
hf download Nanbeige/Nanbeige4.2-3B

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Nanbeige4.2-3B is a compact language model for agent work, built on Nanbeige4.2-3B-Base. It uses a looped transformer that reuses its layers to add capacity without adding parameters. It has 4.2 billion parameters in total and about 3 billion outside the embeddings. It works in English and Chinese.

Who it suits

It suits developers who want a small open model for tool use, office tasks and coding agents on modest hardware.

IndustryWho uses itHow they use itExample
SoftwareAgent developersPower a tool-using or coding agentRunning a code agent on a bug-fix task
Office workProductivity tool makersAutomate document and office tasksFilling in an office workflow with tools
ResearchML researchersStudy looped transformer designsComparing it with larger open models
Personal toolsHobbyistsRun a local assistantPairing it with an agent scaffold for daily tasks

You can skip it if you need a huge model for hard open-ended work, since this one is aimed at the 3B scale.

Where to use it

It runs in Python through the transformers library on Windows, macOS or Linux. The card suggests pairing it with an agent scaffold for personal workflows, naming OpenClaw as one.

  • Python scripts that use transformers
  • An agent scaffold such as OpenClaw, for personal assistant use
  • A local computer, since the weights are small
Use caseWhoWhat they get back
Tool useAgent buildersTool-calling behavior on agent benchmarks
Code agentsDevelopersFixes tested on software engineering tasks
Local assistantHobbyistsHelp with daily, office and research tasks

How to set it up

You need Python and the Hugging Face tool. Hugging Face lists the weights at about 8.3 GB in BF16, or an estimated 2.1 GB at 4-bit. The card's visible part gives no run commands, so follow its usage section.

  • Python with transformers
  • About 8.3 GB of disk for the BF16 weights
  • A GPU for comfortable speed
  1. Install the Hugging Face download tool.
  2. Download the model files, or let transformers fetch them by name.
  3. Load the model and tokenizer, and connect an agent scaffold if you want one.
pip install -U huggingface_hub
hf download Nanbeige/Nanbeige4.2-3B

How to use it

Load it with transformers for chat, or connect it to an agent scaffold so it can use tools. The repository also ships a Python modeling file that carries the makers' newest architecture changes. Three of them are named LoopSplit, depth-attention mHC and n-gram embeddings.

ToolWhat it does
hf downloadFetches the model files to your computer
transformersLoads the model for use in Python
Agent scaffoldGives the model tools and a workflow, such as OpenClaw

Example

You connect the model to a code-agent scaffold and give it a bug report. It reads the code, calls tools, and proposes a fix, which the scaffold can test.

For newcomers and experts

If you are new, load the model in transformers and chat with it first. Add an agent scaffold once you are comfortable with the basics.

If you know the field, supervised tuning drew on real and synthesized environments, with filtering by test cases and rubrics. Reinforcement learning mixed outcome and process rewards to keep a small model stable. The looped design reuses layers to grow capacity.

  1. Nanbeige4.2-3B-Base
  2. Supervised tuning on agent environments
  3. Reinforcement learning with outcome and process rewards
  4. Compact agentic model

Good to know

The makers report higher agent benchmark scores than Gemma4-12B and Qwen3.5-9B, both bigger models. The figures are from their own comparison.

  • License: Apache 2.0
  • Cost to run: no API key, account or paid service is named
  • Data it reaches: the prompts you give it on your machine, plus files downloaded from Hugging Face and whatever your agent scaffold lets it use
  • Not for: results beyond what the makers' own benchmarks show
SWE-Bench Verified score
Nanbeige4.2-3B63.6
Qwen3.5-9B53.1
Gemma4-12B44.2
Qwen3.5-4B38.8

README and files

README

Nanbeige4.2-3B by Nanbeige

Compact looped-transformer model of 4.2B parameters for agent work such as tool use, office tasks and coding, in English and Chinese. For developers who want a small open model for agents.

Made by Nanbeige 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: Nanbeige4.2-3B is a compact language model for agent work, built on Nanbeige4.2-3B-Base. It uses a looped transformer that reuses its layers to add capacity without adding parameters. It has 4.2 billion parameters in total and about 3 billion outside the embeddings. It works in English and Chinese.

Who it suits: It suits developers who want a small open model for tool use, office tasks and coding agents on modest hardware.

Industry | Who uses it | How they use it | Example
Software | Agent developers | Power a tool-using or coding agent | Running a code agent on a bug-fix task
Office work | Productivity tool makers | Automate document and office tasks | Filling in an office workflow with tools
Research | ML researchers | Study looped transformer designs | Comparing it with larger open models
Personal tools | Hobbyists | Run a local assistant | Pairing it with an agent scaffold for daily tasks

You can skip it if you need a huge model for hard open-ended work, since this one is aimed at the 3B scale.

Where to use it: It runs in Python through the transformers library on Windows, macOS or Linux. The card suggests pairing it with an agent scaffold for personal workflows, naming OpenClaw as one.

  • Python scripts that use transformers
  • An agent scaffold such as OpenClaw, for personal assistant use
  • A local computer, since the weights are small
Use case | Who | What they get back
Tool use | Agent builders | Tool-calling behavior on agent benchmarks
Code agents | Developers | Fixes tested on software engineering tasks
Local assistant | Hobbyists | Help with daily, office and research tasks

How to set it up: You need Python and the Hugging Face tool. Hugging Face lists the weights at about 8.3 GB in BF16, or an estimated 2.1 GB at 4-bit. The card's visible part gives no run commands, so follow its usage section.

  • Python with transformers
  • About 8.3 GB of disk for the BF16 weights
  • A GPU for comfortable speed
  1. Install the Hugging Face download tool.
  2. Download the model files, or let transformers fetch them by name.
  3. Load the model and tokenizer, and connect an agent scaffold if you want one.
pip install -U huggingface_hub
hf download Nanbeige/Nanbeige4.2-3B

How to use it: Load it with transformers for chat, or connect it to an agent scaffold so it can use tools. The repository also ships a Python modeling file that carries the makers' newest architecture changes. Three of them are named LoopSplit, depth-attention mHC and n-gram embeddings.

Tool | What it does
hf download | Fetches the model files to your computer
transformers | Loads the model for use in Python
Agent scaffold | Gives the model tools and a workflow, such as OpenClaw

Example: You connect the model to a code-agent scaffold and give it a bug report. It reads the code, calls tools, and proposes a fix, which the scaffold can test.

For newcomers and experts: If you are new, load the model in transformers and chat with it first. Add an agent scaffold once you are comfortable with the basics.

If you know the field, supervised tuning drew on real and synthesized environments, with filtering by test cases and rubrics. Reinforcement learning mixed outcome and process rewards to keep a small model stable. The looped design reuses layers to grow capacity.

Nanbeige4.2-3B-Base
Supervised tuning on agent environments
Reinforcement learning with outcome and process rewards
Compact agentic model

Good to know: The makers report higher agent benchmark scores than Gemma4-12B and Qwen3.5-9B, both bigger models. The figures are from their own comparison.

  • License: Apache 2.0
  • Cost to run: no API key, account or paid service is named
  • Data it reaches: the prompts you give it on your machine, plus files downloaded from Hugging Face and whatever your agent scaffold lets it use
  • Not for: results beyond what the makers' own benchmarks show
Title: SWE-Bench Verified score
Nanbeige4.2-3B: 63.6
Qwen3.5-9B: 53.1
Gemma4-12B: 44.2
Qwen3.5-4B: 38.8

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 4.2B
  • Weights: about 8.3 GB in BF16; about 2.1 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 96,886
  • Likes: 860
  • License: apache-2.0
  • Languages: en, zh
  • Based on: Nanbeige/Nanbeige4.2-3B-Base
  • Quantized versions: 60
  • Fine-tunes: 18
  • Tags: transformers, safetensors, nanbeige, text-generation, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download Nanbeige/Nanbeige4.2-3B

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

Files
README.md  5 KB

1 file, 5 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
Nanbeige4.2-3B by Nanbeige This page96,8868604.2Bapache-2.0
Nanbeige4.3-33BShares nanbeige · text-generation · conversational21,8431,07733.1Bapache-2.0
Nanbeige4.3-33B-INT4Shares nanbeige · text-generation · conversational7491033.1Bapache-2.0
Nanbeige_Nanbeige4.3-33B-GGUFShares nanbeige · text-generation · conversational151,1913333.1Bapache-2.0
Nanbeige4.3-33B-GGUF-UltraOptimised-Curated-ProtiumShares nanbeige767633.1Bapache-2.0
Qwen3-0.6BShares text-generation · conversational · transformers19,718,5991,894752Mapache-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.

What people say

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.

drgoreNanbeige4.2-3B7 points · 2 repliesJauntyWunderKindAnd holy heck, Nanbeige dropping Nanbeige4.2-3B which is just absolutely dominating the MLM/SLM numbers. So happy to see this team still slaying!! 🚀 A great lead over much bigger Qwen3.5-9B, and absolutely obliterating Gemma4-12B and Gemma4-E4B. /cc @cocore.dev folks! huggingface.co/Nanbeige/Nan...17 likes · 1 replyanon373839How concerned should we be about Astra's recurrent architecture?Sebastian Raschka posted about this architecture: > A lot of hype around OpenAI's Astra model here on my timeline today. Apparently, this goes back to a new article from The Information, which said Astra is a "recurrent depth or looped transformer". > It's always interesting to read about new or…oplikoTbf. LiquidAI also got similarly sized models to work decently without making them looped. But it's still interesting, especially since they claim they're seeing good results from the next iteration that they're planning on releasing in a Q4: huggingface.co/Nanbeige/Nan...3 likes · 2 repliesSwift-1.5-IQ3_S-GSQ-RCO-qfn-anahuggingface.co/Nanbeige/Nan... i love this model and it actually works for me which is saying a lot for a 3b3 likes · 2 repliesJauntyWunderKindNanbeige 4.2[.0]-3b "enhance your calm" edition. Somewhat competent but not really a coding model, but wow wow wow broad reasoning, logic, personal assistant, etc. (Them and Liquid AI LFM's). huggingface.co/Nanbeige/Nan...4 likesKnut JägersbergNanbeige 4.2, high performing tiny looped transformer huggingface.co/Nanbeige/Nan...2 likes柴犬被りLooped Language Modelが話題だけど手元で試すなら huggingface.co/Nanbeige/Nanb… か Original: https://x.com/4ba_ba_baba/status/2096944059604742262 (リンク: https://huggingface.co/Nanbeige/Nanbeige4.2-3B)1 replyAI Planet📰 Reddit r/LocalLLaMA XHToken/Spark-X2.5-4B VS inclusionAI/Ling-3.0-tiny VS Nanbeige/Nanbeige4.2-3B https://www.reddit.com/r/LocalLLaMA/comments/1wao3d5/xhtokensparkx254b_vs_inclusionailing30tiny_vs/ #IA #AI #MLprobbrain.comNanbeige/Nanbeige4.2-3B · 139♥ · 0 dl

Searched

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