TactLM-Math-ProcessGRPO-Qwen2.5-0.5B converted to MLC format for in-browser inference with WebLLM. The weights are unquantized fp16 (q0f16), 1.0 GB, so quality matches the original model; there is no quantization loss. The browser needs WebGPU with the shader-f16 feature.
The architecture is unchanged from Qwen2.5-0.5B-Instruct, so this build runs on WebLLM's prebuilt Qwen2.5-0.5B-Instruct-q0f16 model library and needs no custom compilation. Benchmarks, training details and limitations are on the original model's card. The training and evaluation dataset is published separately. Try it at models.zaydsyed.com.
import { CreateMLCEngine, prebuiltAppConfig } from "@mlc-ai/web-llm";
const base = prebuiltAppConfig.model_list.find((m) => m.model_id === "Qwen2.5-0.5B-Instruct-q0f16-MLC");
const id = "TactLM-Math-ProcessGRPO-Qwen2.5-0.5B-q0f16-MLC";
const appConfig = {
...prebuiltAppConfig,
model_list: [{ ...base, model: `https://huggingface.co/zaydsyed/${id}`, model_id: id }],
};
const engine = await CreateMLCEngine(id, { appConfig });
const reply = await engine.chat.completions.create({
messages: [
{ role: "system", content: "Please reason step by step, and put your final answer within \\boxed{}." },
{ role: "user", content: "What is 15% of 240, plus 18?" },
],
temperature: 0.3,
});
console.log(reply.choices[0].message.content);
params_shard_0.bin 272 MBparams_shard_1.bin 30 MBparams_shard_10.bin 30 MBparams_shard_11.bin 30 MBparams_shard_12.bin 30 MBparams_shard_13.bin 30 MBparams_shard_14.bin 30 MBparams_shard_15.bin 30 MBparams_shard_16.bin 30 MBparams_shard_17.bin 30 MBparams_shard_18.bin 30 MBparams_shard_19.bin 30 MBparams_shard_2.bin 30 MBparams_shard_20.bin 30 MBparams_shard_21.bin 30 MBparams_shard_22.bin 30 MBparams_shard_23.bin 30 MBparams_shard_24.bin 30 MBparams_shard_3.bin 30 MBparams_shard_4.bin 30 MBparams_shard_5.bin 30 MBparams_shard_6.bin 30 MBparams_shard_7.bin 30 MBparams_shard_8.bin 30 MBparams_shard_9.bin 30 MB