Text Generation
MLX
Safetensors
Rust
English
qwen3
grammar
logic
rhetoric
math
programming
aarch64
c
nushell
conversational
4-bit precision
Instructions to use dougiefresh/jade_qwen3_4b_mlx_4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use dougiefresh/jade_qwen3_4b_mlx_4bit 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("dougiefresh/jade_qwen3_4b_mlx_4bit") 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 Settings
- LM Studio
- MLX LM
How to use dougiefresh/jade_qwen3_4b_mlx_4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "dougiefresh/jade_qwen3_4b_mlx_4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "dougiefresh/jade_qwen3_4b_mlx_4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dougiefresh/jade_qwen3_4b_mlx_4bit", "messages": [ {"role": "user", "content": "Hello"} ] }'
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,10 +4,13 @@ datasets:
|
|
| 4 |
- dougiefresh/grammar_logic_rhetoric_and_math
|
| 5 |
- dougiefresh/systems_programming_and_administration
|
| 6 |
- dougiefresh/systems_programming_code_conversations
|
|
|
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
-
base_model:
|
|
|
|
| 10 |
tags:
|
|
|
|
| 11 |
- logic
|
| 12 |
- rhetoric
|
| 13 |
- math
|
|
@@ -16,8 +19,17 @@ tags:
|
|
| 16 |
- c
|
| 17 |
- rust
|
| 18 |
- nushell
|
| 19 |
-
- grammar
|
| 20 |
- mlx
|
| 21 |
library_name: mlx
|
| 22 |
pipeline_tag: text-generation
|
| 23 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- dougiefresh/grammar_logic_rhetoric_and_math
|
| 5 |
- dougiefresh/systems_programming_and_administration
|
| 6 |
- dougiefresh/systems_programming_code_conversations
|
| 7 |
+
- dougiefresh/jade_identity
|
| 8 |
language:
|
| 9 |
- en
|
| 10 |
+
base_model:
|
| 11 |
+
- Qwen/Qwen3-4B
|
| 12 |
tags:
|
| 13 |
+
- grammar
|
| 14 |
- logic
|
| 15 |
- rhetoric
|
| 16 |
- math
|
|
|
|
| 19 |
- c
|
| 20 |
- rust
|
| 21 |
- nushell
|
|
|
|
| 22 |
- mlx
|
| 23 |
library_name: mlx
|
| 24 |
pipeline_tag: text-generation
|
| 25 |
---
|
| 26 |
+
|
| 27 |
+
# Jade Qwen 3 4B - 4bit quantization for MLX
|
| 28 |
+
|
| 29 |
+
A systems progamming Qwen finetune.
|
| 30 |
+
|
| 31 |
+

|
| 32 |
+
|
| 33 |
+
## Model description
|
| 34 |
+
|
| 35 |
+
Please view the model [description on the non-quantized version](https://huggingface.co/dougiefresh/jade_qwen3_4b).
|