Views
No views yet
1const appConfig = {
2 ...webllm.prebuiltAppConfig,
3 model_list: [
4 ...webllm.prebuiltAppConfig.model_list,
5 {
6 model: "https://huggingface.co/mryesiller/devtools-assistant-360m-q4f16_1-MLC",
7 model_id: "devtools-assistant-360m-q4f16_1-MLC",
8 model_lib:
9 "https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/" +
10 "web-llm-models/v0_2_84/base/SmolLM2-360M-Instruct-q4f16_1_cs1k-webgpu.wasm",
11 },
12 ],
13}mlc-ai/SmolLM2-360M-Instruct-q4f16_1-MLC
on every field the library depends on — llama, q4f16_1, context window 8192,
prefill chunk 8192, hidden size 960, vocab 49152 — so that wasm is the right
one. If you rebuild this, check those first; a mismatch shows up as a load
failure, not as a warning.conv_template is chatml, which is what the base model's own tokenizer
template uses and therefore what the fine-tune was trained through.mlc_llm convert_weight + gen_config at q4f16_1. The build
needs a native x86_64 Linux host and a specific dependency set; the
reproducible script is scripts/chatbot-dataset/finetune/mlc_export.sh in the
DevTools repo, which documents why each pin is there.