Instructions to use cagataydev/tin-2b-q4f16_1-MLC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLC-LLM
How to use cagataydev/tin-2b-q4f16_1-MLC with MLC-LLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
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
Model tree for cagataydev/tin-2b-q4f16_1-MLC
Base model
Qwen/Qwen3.5-2B-Base