How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
# Run inference directly in the terminal:
llama cli -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
# Run inference directly in the terminal:
llama cli -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
Use Docker
docker model run hf.co/ghostinthekernel/Anything-2-4B-GGUF:Q3_K_M
Quick Links

Anything-2 (4B) - GGUF

Anything-2 is the second-generation uncensored AI assistant built on p-e-w/Qwen3-4B-Instruct-2507-heretic, fine-tuned on 25,000 curated samples combining test-case-verified coding tasks (nvidia/OpenCodeInstruct), general reasoning (teknium/OpenHermes-2.5), unfiltered instructions (cognitivecomputations/dolphin), and a 1,000-sample synthetic persona dataset.

Available Quantizations

  • Anything-2-4B-Q4_K_M.gguf (~2.50 GB): Recommended standard balance of precision and speed.
  • Anything-2-4B-Q3_K_M.gguf (~2.05 GB): Ultra-lightweight quantization tailored for 8 GB RAM laptops.

Quickstart with Ollama

# Standard 4-bit version
ollama run iamherebefore/anything-2:4b

# Lightweight version for 8 GB RAM laptops
ollama run iamherebefore/anything-2:4b-lite
Downloads last month
300
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ghostinthekernel/Anything-2-4B-GGUF

Quantized
(16)
this model