Text Generation
MLX
Safetensors
qwen3_5
qwen3.5
qwenjamin-franklin
dequantized
local-first
conversational
Instructions to use stamsam/Qwenjamin_Franklin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use stamsam/Qwenjamin_Franklin with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("stamsam/Qwenjamin_Franklin") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- Pi new
How to use stamsam/Qwenjamin_Franklin with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "stamsam/Qwenjamin_Franklin"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "stamsam/Qwenjamin_Franklin" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use stamsam/Qwenjamin_Franklin with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "stamsam/Qwenjamin_Franklin"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default stamsam/Qwenjamin_Franklin
Run Hermes
hermes
- MLX LM
How to use stamsam/Qwenjamin_Franklin with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "stamsam/Qwenjamin_Franklin"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "stamsam/Qwenjamin_Franklin" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stamsam/Qwenjamin_Franklin", "messages": [ {"role": "user", "content": "Hello"} ] }'
| base_model: Qwen/Qwen3.5-9B | |
| library_name: mlx | |
| pipeline_tag: text-generation | |
| license: apache-2.0 | |
| tags: | |
| - mlx | |
| - qwen3.5 | |
| - qwenjamin-franklin | |
| - dequantized | |
| - local-first | |
| - text-generation | |
|  | |
| # Qwenjamin Franklin | |
| Qwenjamin Franklin is the dequantized raw MLX export of the same tuned `v14` branch used for the 4-bit release. | |
| This repo is for people who want the larger raw MLX artifact from the same local workshop line instead of the compact 4-bit build. | |
| ## What This Release Is | |
| - Fused dequantized MLX model | |
| - Base lineage: `Qwen/Qwen3.5-9B` | |
| - Workshop branch lineage: `v14` broad-benchmark daily-driver | |
| - Best fit: users who want the raw MLX export rather than the smaller 4-bit package | |
| ## Base vs This Model | |
| Internal workshop evals. These scores are project-specific and directional, not public leaderboard claims. | |
| | Eval | Base `Qwen3.5-9B-MLX-4bit` | Qwenjamin Franklin | | |
| |---|---:|---:| | |
| | `workbench_local_agent_smoke` | 63/100 | 72/100 | | |
| | `full40` | 309/400 | 325/400 | | |
| | `json_hard` | 15/30 | 30/30 | | |
| | `parser_gate` | 2/3, 1/3, 1/3 | 3/3, 3/3, 3/3 | | |
| | `code_smoke` | 95/120 | 95/120 | | |
| | `false_smoke` | 102/110 | 110/110 | | |
| | `tool_schema_canary` | 50/175 | 106/175 | | |
| | `no_tool_leakage` | 99/100 | 100/100 | | |
| ## Usage | |
| ```bash | |
| python -m mlx_lm generate \ | |
| --model stamsam/Qwenjamin_Franklin \ | |
| --prompt "Write one complete TypeScript module and return only code." \ | |
| --max-tokens 512 \ | |
| --temp 0.0 | |
| ``` | |
| ## Notes | |
| - This is the larger raw MLX export of the tuned branch. | |
| - For strict JSON or code-only tasks, use explicit output instructions in the prompt. | |
| - Verify important outputs before using them in high-stakes workflows. | |