tin-2b 路 q4f16_1 路 WebLLM (WebGPU)

cagataydev/tin-2b-v3 for WebLLM: it runs in a browser tab on WebGPU, no server. Text weights only (~1044 MB).

The weights are in MLC's standard q4f16_1 format (4-bit, groups of 32), but each group's scale was searched to minimise the activation-weighted error (calibrated on Tin training text) instead of max|w|/7. On the Tin golden write set this recovers the quality of the MLX 4-bit build; the stock conversion lost about half of it. The WebGPU library is WebLLM's prebuilt Qwen3.5-2B q4f16_1 one (same architecture), copied here.

import * as webllm from "https://esm.run/@mlc-ai/web-llm@0.2.89";
const repo = "https://huggingface.co/cagataydev/tin-2b-q4f16_1-MLC";
const engine = await webllm.CreateMLCEngine("tin-2b", { appConfig: { model_list: [{
  model: repo, model_id: "tin-2b", model_lib: repo + "/resolve/main/Qwen3.5-2B-q4f16_1_cs1k-webgpu.wasm" }] } });

Trained with thinking off: prompts end in <|im_start|>assistant\n<think>\n\n</think>\n\n. In Tin, agent A { model: "tin:2b" } in the playground runs on this.

Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for cagataydev/tin-2b-q4f16_1-MLC

Finetuned
Qwen/Qwen3.5-2B
Quantized
(3)
this model