Downloads · 30 days
21
28% of all-time downloads
stamsam/Qwenjamin_Franklin_V2_4bit
Qwenjamin_Franklin_V2_4bit is a text generation model from stamsam. Use it when you need the model to write or continue text. It is set up for mlx.
Downloads · 30 days
21
28% of all-time downloads
All-time downloads
74
Public
Parameters
9B
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5 GB · 100%
How the weights are stored.
U329B · 100%
From the Hugging Face model README

Qwenjamin Franklin V2 4bit is the compact MLX export of the second-generation Qwenjamin Franklin workshop release.
It keeps the V2 tuning goals for stronger everyday reasoning, stricter JSON and tool behavior, and more reliable false-premise correction while shrinking the footprint for local Apple Silicon use.
This repo is the 4-bit sibling of stamsam/Qwenjamin_Franklin_V2. If you want the full fused PyTorch release and its benchmark table, use that repo instead.
Qwen/Qwen3.5-9Bv55 targeted SFTpip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("stamsam/Qwenjamin_Franklin_V2_4bit")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
python -m mlx_lm generate \
--model stamsam/Qwenjamin_Franklin_V2_4bit \
--prompt "Return only valid JSON." \
--max-tokens 256 \
--temp 0.0
stamsam/Qwenjamin_Franklin_V2.