Index-Translate-MLC
Collection
MLC version of Index-Translate โข 2 items โข Updated
How to use chaceday/Index-Translate-9B-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
IndexTeam/Index-Translate-9B converted to the MLC-LLM format (q4f16_1) for in-browser inference with WebLLM / WebGPU.
mlc_llm convert_weight --quantization q4f16_1mlc_llm gen_config --conv-template qwen2 --context-window-size 4096 (default system prompt removed, matching the official client)libs/Qwen3.5-9B-q4f16_1_cs1k-webgpu.wasm: WebGPU model library. Index-Translate-9B has exactly the same architecture and shapes as Qwen3.5-9B, so the official prebuilt library from mlc-ai/binary-mlc-llm-libs (v0_2_86) is reused unchanged.import { CreateMLCEngine } from "@mlc-ai/web-llm";
const modelId = "Index-Translate-9B-q4f16_1-MLC";
const engine = await CreateMLCEngine(modelId, {
appConfig: {
model_list: [
{
model: "https://huggingface.co/chaceday/Index-Translate-9B-q4f16_1-MLC",
model_id: modelId,
model_lib:
"https://huggingface.co/chaceday/Index-Translate-9B-q4f16_1-MLC/resolve/main/libs/Qwen3.5-9B-q4f16_1_cs1k-webgpu.wasm",
overrides: { context_window_size: 4096 },
},
],
},
});
Apache-2.0, same as the original model. All credit goes to the IndexTeam authors (built on Qwen3.5).
Base model
IndexTeam/Index-Translate-9B