How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf devendradhakad/autodroid-Abiray-Nanbeige4.2-3B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "devendradhakad/autodroid-Abiray-Nanbeige4.2-3B-GGUF:Q4_K_M" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

Nanbeige4.2-3B - GGUF Quants

This repository contains GGUF quantizations for Nanbeige/Nanbeige4.2-3B.

  • Original Model: Nanbeige/Nanbeige4.2-3B
  • Base Architecture: Looped Transformer (3B non-embedding parameters)
  • Quantization Format: GGUF (Q4_K_M, Q4_K_S, Q5_K_M, Q6_K, Q8_0)

Available Files & Quantization Details

File Name Size Quant Method Description
Nanbeige4.2-3B-Q4_K_M.gguf ~2.57 GB Q4_K_M 4-bit medium. Recommended balance of speed, memory usage, and quality.
Nanbeige4.2-3B-Q4_K_S.gguf ~2.50 GB Q4_K_S 4-bit small. Slightly lower memory footprint.
Nanbeige4.2-3B-Q5_K_M.gguf ~2.99 GB Q5_K_M 5-bit medium. Higher precision with slight increase in size.
Nanbeige4.2-3B-Q6_K.gguf ~3.42 GB Q6_K 6-bit quantization. Very close to FP16 performance.
Nanbeige4.2-3B-Q8_0.gguf ~4.43 GB Q8_0 8-bit quantization. Maximum quality for GGUF.

Usage Guide

1. Running with llama.cpp

For full support, clone the official or nanbeige42 fork of llama.cpp:

# Clone the repository with Nanbeige support
git clone -b nanbeige42 [https://github.com/Nanbeige/llama.cpp.git](https://github.com/Nanbeige/llama.cpp.git)
cd llama.cpp

# Build with CUDA support
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j

# Download a model from this repository
huggingface-cli download Abiray/Nanbeige4.2-3B-GGUF Nanbeige4.2-3B-Q4_K_M.gguf --local-dir .

# Run CLI inference
./build/bin/llama-cli -m Nanbeige4.2-3B-Q4_K_M.gguf -ngl 99 -p "Which number is bigger, 9.11 or 9.8?"
Downloads last month
64
GGUF
Model size
4B params
Architecture
nanbeige
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for devendradhakad/autodroid-Abiray-Nanbeige4.2-3B-GGUF

Quantized
(52)
this model