Text Generation
MLX
Safetensors
jev-style
English
qwen3_5
decision-model
classification
calibration
qwen3.5
single-prefill
conversational
Instructions to use chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16 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("chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16") 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) - jev-style
How to use chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16 with jev-style:
# Apple silicon pip install "jev-style[mlx]"
from jev_style import JevStyle, noul, choice js = JevStyle.from_pretrained("chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16") out = js.decide("I was charged twice for one order.", { "billing": noul("This message is about billing."), "team": choice("Which team should handle it?", ["billing", "shipping", "tech"]), }) print(out["answers"]["team"]["choice"]) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "chaoliangUNSW/Jev-Style-Qwen3.5-2B-Decision-v2-MLX-bf16", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
File size: 11,821 Bytes
87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c 8dc7745 87ad38c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | <?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="720pt" height="446.4pt" viewBox="0 0 720 446.4" xmlns="http://www.w3.org/2000/svg" version="1.1">
<metadata>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<cc:Work>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:date>2026-09-24T02:33:10.801495</dc:date>
<dc:format>image/svg+xml</dc:format>
<dc:creator>
<cc:Agent>
<dc:title>Matplotlib v3.11.2, https://matplotlib.org/</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<defs>
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
</defs>
<g id="figure_1">
<g id="patch_1">
<path d="M 0 446.4
L 720 446.4
L 720 0
L 0 0
z
" style="fill: #ffffff"/>
</g>
<g id="axes_1">
<g id="patch_2">
<path d="M 122.4 361.584
L 315.213559 361.584
L 315.213559 111.6
L 122.4 111.6
z
" style="fill: #ffffff"/>
</g>
<g id="matplotlib.axis_1">
<g id="xtick_1">
<g id="line2d_1">
<path d="M 122.4 361.584
L 122.4 111.6
" clip-path="url(#p1b8c645410)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_2"/>
<g id="text_1">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="122.4" y="380.220719" transform="rotate(-0 122.4 380.220719)">0</text>
</g>
</g>
<g id="xtick_2">
<g id="line2d_3">
<path d="M 186.671186 361.584
L 186.671186 111.6
" clip-path="url(#p1b8c645410)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_4"/>
<g id="text_2">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="186.671186" y="380.220719" transform="rotate(-0 186.671186 380.220719)">5</text>
</g>
</g>
<g id="xtick_3">
<g id="line2d_5">
<path d="M 250.942373 361.584
L 250.942373 111.6
" clip-path="url(#p1b8c645410)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_6"/>
<g id="text_3">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="250.942373" y="380.220719" transform="rotate(-0 250.942373 380.220719)">10</text>
</g>
</g>
<g id="xtick_4">
<g id="line2d_7">
<path d="M 315.213559 361.584
L 315.213559 111.6
" clip-path="url(#p1b8c645410)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_8"/>
<g id="text_4">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="315.213559" y="380.220719" transform="rotate(-0 315.213559 380.220719)">15</text>
</g>
</g>
</g>
<g id="matplotlib.axis_2">
<g id="ytick_1">
<g id="line2d_9"/>
<g id="text_5">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="114.4" y="166.915706" transform="rotate(-0 114.4 166.915706)">Jev-Style v1</text>
</g>
</g>
<g id="ytick_2">
<g id="line2d_10"/>
<g id="text_6">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="114.4" y="243.83386" transform="rotate(-0 114.4 243.83386)">English Laya</text>
</g>
</g>
<g id="ytick_3">
<g id="line2d_11"/>
<g id="text_7">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="114.4" y="320.752014" transform="rotate(-0 114.4 320.752014)">Jev-Style v2</text>
</g>
</g>
</g>
<g id="patch_3">
<path d="M 122.4 361.584
L 315.213559 361.584
" style="fill: none; stroke: #d3dce6; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
<g id="patch_4">
<path d="M 122.4 140.059717
L 241.301695 140.059717
L 241.301695 183.133883
L 122.4 183.133883
z
" clip-path="url(#p1b8c645410)" style="fill: #94a3b8"/>
</g>
<g id="patch_5">
<path d="M 122.4 216.977871
L 276.650847 216.977871
L 276.650847 260.052037
L 122.4 260.052037
z
" clip-path="url(#p1b8c645410)" style="fill: #e78b43"/>
</g>
<g id="patch_6">
<path d="M 122.4 293.896025
L 199.525424 293.896025
L 199.525424 336.970191
L 122.4 336.970191
z
" clip-path="url(#p1b8c645410)" style="fill: #2872c7"/>
</g>
<g id="text_8">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="236.481356" y="165.233519" transform="rotate(-0 236.481356 165.233519)">9.25%</text>
</g>
<g id="text_9">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #ffffff" x="271.830508" y="242.151673" transform="rotate(-0 271.830508 242.151673)">12.00%</text>
</g>
<g id="text_10">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #ffffff" x="194.705085" y="319.069826" transform="rotate(-0 194.705085 319.069826)">6.00%</text>
</g>
<g id="text_11">
<text style="font-weight: 700; font-size: 16px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #172b45" x="122.4" y="94.6" transform="rotate(-0 122.4 94.6)">Decision flip rate (%) ↓</text>
</g>
</g>
<g id="axes_2">
<g id="patch_7">
<path d="M 498.386441 361.584
L 691.2 361.584
L 691.2 111.6
L 498.386441 111.6
z
" style="fill: #ffffff"/>
</g>
<g id="matplotlib.axis_3">
<g id="xtick_5">
<g id="line2d_12">
<path d="M 498.386441 361.584
L 498.386441 111.6
" clip-path="url(#pbcfd6257e4)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_13"/>
<g id="text_12">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="498.386441" y="380.220719" transform="rotate(-0 498.386441 380.220719)">0</text>
</g>
</g>
<g id="xtick_6">
<g id="line2d_14">
<path d="M 546.589831 361.584
L 546.589831 111.6
" clip-path="url(#pbcfd6257e4)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_15"/>
<g id="text_13">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="546.589831" y="380.220719" transform="rotate(-0 546.589831 380.220719)">25</text>
</g>
</g>
<g id="xtick_7">
<g id="line2d_16">
<path d="M 594.79322 361.584
L 594.79322 111.6
" clip-path="url(#pbcfd6257e4)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_17"/>
<g id="text_14">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="594.79322" y="380.220719" transform="rotate(-0 594.79322 380.220719)">50</text>
</g>
</g>
<g id="xtick_8">
<g id="line2d_18">
<path d="M 642.99661 361.584
L 642.99661 111.6
" clip-path="url(#pbcfd6257e4)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_19"/>
<g id="text_15">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="642.99661" y="380.220719" transform="rotate(-0 642.99661 380.220719)">75</text>
</g>
</g>
<g id="xtick_9">
<g id="line2d_20">
<path d="M 691.2 361.584
L 691.2 111.6
" clip-path="url(#pbcfd6257e4)" style="fill: none; stroke: #e5ebf2; stroke-width: 0.8; stroke-linecap: square"/>
</g>
<g id="line2d_21"/>
<g id="text_16">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: middle; fill: #53657a" x="691.2" y="380.220719" transform="rotate(-0 691.2 380.220719)">100</text>
</g>
</g>
</g>
<g id="matplotlib.axis_4">
<g id="ytick_4">
<g id="line2d_22"/>
<g id="text_17">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="490.386441" y="166.915706" transform="rotate(-0 490.386441 166.915706)">Jev-Style v1</text>
</g>
</g>
<g id="ytick_5">
<g id="line2d_23"/>
<g id="text_18">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="490.386441" y="243.83386" transform="rotate(-0 490.386441 243.83386)">English Laya</text>
</g>
</g>
<g id="ytick_6">
<g id="line2d_24"/>
<g id="text_19">
<text style="font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="490.386441" y="320.752014" transform="rotate(-0 490.386441 320.752014)">Jev-Style v2</text>
</g>
</g>
</g>
<g id="patch_8">
<path d="M 498.386441 361.584
L 691.2 361.584
" style="fill: none; stroke: #d3dce6; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square"/>
</g>
<g id="patch_9">
<path d="M 498.386441 140.059717
L 627.089492 140.059717
L 627.089492 183.133883
L 498.386441 183.133883
z
" clip-path="url(#pbcfd6257e4)" style="fill: #94a3b8"/>
</g>
<g id="patch_10">
<path d="M 498.386441 216.977871
L 627.571525 216.977871
L 627.571525 260.052037
L 498.386441 260.052037
z
" clip-path="url(#pbcfd6257e4)" style="fill: #e78b43"/>
</g>
<g id="patch_11">
<path d="M 498.386441 293.896025
L 652.637288 293.896025
L 652.637288 336.970191
L 498.386441 336.970191
z
" clip-path="url(#pbcfd6257e4)" style="fill: #2872c7"/>
</g>
<g id="text_20">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #172b45" x="622.269153" y="165.233519" transform="rotate(-0 622.269153 165.233519)">66.75%</text>
</g>
<g id="text_21">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #ffffff" x="622.751186" y="242.151673" transform="rotate(-0 622.751186 242.151673)">67.00%</text>
</g>
<g id="text_22">
<text style="font-weight: 700; font-size: 14px; font-family: 'DejaVu Sans'; text-anchor: end; fill: #ffffff" x="647.816949" y="319.069826" transform="rotate(-0 647.816949 319.069826)">80.00%</text>
</g>
<g id="text_23">
<text style="font-weight: 700; font-size: 16px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #172b45" x="498.386441" y="94.6" transform="rotate(-0 498.386441 94.6)">Permuted accuracy (%) ↑</text>
</g>
</g>
<g id="text_24">
<text style="font-weight: 700; font-size: 20px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #172b45" x="25.2" y="30.820875" transform="rotate(-0 25.2 30.820875)">More stable decisions after option reordering</text>
</g>
<g id="text_25">
<text style="font-size: 12.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #53657a" x="25.2" y="49.728734" transform="rotate(-0 25.2 49.728734)">Same 400 frozen Choice/Bool decisions | CUDA reference comparison</text>
</g>
<g id="text_26">
<text style="font-size: 10.5px; font-family: 'DejaVu Sans'; text-anchor: start; fill: #53657a" x="25.2" y="432.717539" transform="rotate(-0 25.2 432.717539)">Selected semantic options are compared after reversing each permutation.</text>
</g>
</g>
<defs>
<clipPath id="p1b8c645410">
<rect x="122.4" y="111.6" width="192.813559" height="249.984"/>
</clipPath>
<clipPath id="pbcfd6257e4">
<rect x="498.386441" y="111.6" width="192.813559" height="249.984"/>
</clipPath>
</defs>
</svg>
|