Downloads · 30 days
10
13% of all-time downloads
theprint/theprint-12B-MoE-3A
theprint-12B-MoE-3A is a machine learning model from theprint. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as llama3.2.
An experimental Mixture of Experts (MoE) model combining four specialized Llama 3.2 3B fine-tunes into a single 12B parameter model with ~3B active parameters per token.
Downloads · 30 days
10
13% of all-time downloads
All-time downloads
80
Public
Parameters
9.6B
19.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors19.1 GB · 100%
From the Hugging Face model README
An experimental Mixture of Experts (MoE) model combining four specialized Llama 3.2 3B fine-tunes into a single 12B parameter model with ~3B active parameters per token.
This is my first attempt at building an MoE model. Rather than merging random models, I combined four of my own fine-tunes, each with distinct areas of expertise, to create a model that routes queries to the most appropriate specialist.
Total Parameters: ~12B
Active Parameters: ~3B per token
Architecture: Mixtral-style MoE with hidden gate routing
Base Model: Llama 3.2 3B Instruct
The model contains four specialized experts:
ReasonableMath - Mathematical reasoning and equation solving
ReWiz - Logical reasoning and analysis
VanRossum - Code generation and debugging
Empathetic - Emotional intelligence and relationship guidance
The model uses a hidden-state router to automatically select which expert handles each query based on the input. The router was trained on positive prompt patterns for each expert during the merge process.
Expected routing behavior:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"theprint/theprint-12B-MoE-3A",
device_map="auto",
torch_dtype="bfloat16"
)
tokenizer = AutoTokenizer.from_pretrained("theprint/theprint-12B-MoE-3A")
prompt = "Solve this equation: 3x - 7 = 14"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model uses 4 experts (power of 2) and is compatible with llama.cpp for GGUF conversion and local inference. You can find prepared GGUF-files at theprint/theprint-12B-MoE-3A-GGUF.
Recommended quantizations:
This is an experimental first build. Expect quirks:
The individual experts were fine-tuned separately on domain-specific datasets before being combined into this MoE architecture. No additional training was performed on the combined model - routing behavior is determined by the mergekit process based on positive prompt patterns.
Follows the Llama 3.2 community license from Meta.
Built using mergekit by Arcee AI.