How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="QuantFactory/Homunculus-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

QuantFactory Banner

QuantFactory/Homunculus-GGUF

This is quantized version of arcee-ai/Homunculus created using llama.cpp

Original Model Card

Homunculus Logo

Arcee Homunculus-12B

Homunculus is a 12 billion-parameter instruction model distilled from Qwen3-235B onto the Mistral-Nemo backbone. It was purpose-built to preserve Qwenโ€™s two-mode interaction styleโ€”/think (deliberate chain-of-thought) and /nothink (concise answers)โ€”while running on a single consumer GPU.


โœจ Whatโ€™s special?

Feature Detail
Reasoning-trace transfer Instead of copying just final probabilities, we align full logit trajectories, yielding more faithful reasoning.
Total-Variation-Distance loss To better match the teacherโ€™s confidence distribution and smooth the loss landscape.
Tokenizer replacement The original Mistral tokenizer was swapped for Qwen3's tokenizer.
Dual interaction modes Use /think when you want transparent step-by-step reasoning (good for analysis & debugging). Use /nothink for terse, production-ready answers. Most reliable in the system role field.

Benchmark results

Benchmark Score
GPQADiamond (average of 3) 57.1%
mmlu 67.5%

๐Ÿ”ง Quick Start

from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "arcee-ai/Homunculus"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id, 
    torch_dtype="auto",
    device_map="auto"
)

# /think mode - Chain-of-thought reasoning
messages = [
    {"role": "system", "content": "You are a helpful assistant. /think"},
    {"role": "user", "content": "Why is the sky blue?"},
]
output = model.generate(
    tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt"),
    max_new_tokens=512,
    temperature=0.7
)
print(tokenizer.decode(output[0], skip_special_tokens=True))

# /nothink mode - Direct answers
messages = [
    {"role": "system", "content": "You are a helpful assistant. /nothink"},
    {"role": "user", "content": "Summarize the plot of Hamlet in two sentences."},
]
output = model.generate(
    tokenizer.apply_chat_template(messages, tokenize=True, return_tensors="pt"),
    max_new_tokens=128,
    temperature=0.7
)
print(tokenizer.decode(output[0], skip_special_tokens=True))

๐Ÿ’ก Intended Use & Limitations

Homunculus is designed for:

  • Research on reasoning-trace distillation, Logit Imitation, and mode-switchable assistants.
  • Lightweight production deployments that need strong reasoning at <12 GB VRAM.

Known limitations

  • May inherit biases from the Qwen3 teacher and internet-scale pretraining data.
  • Long-context (>32 k tokens) use is experimentalโ€”expect latency & memory overhead.

Downloads last month
146
GGUF
Model size
12B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

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

Model tree for QuantFactory/Homunculus-GGUF

Quantized
(53)
this model