skillforge-skiller-0.5B

Qwen2.5-0.5B-Instruct fine-tuned to be the on-device assistant behind skillforge.cc.cd/skiller: it both chats and turns raw material into complete, executable skill documents. Shipped in two quantized formats from the same fine-tune:

  • MLC q4f16_1 for WebGPU, loaded in a browser via WebLLM on machines that have a GPU.
  • GGUF Q4_K_M for the CPU, loaded in a browser via wllama (llama.cpp compiled to WebAssembly) on machines that do not.

Both run on the device, with no server.

What it is

  • Base: Qwen/Qwen2.5-0.5B-Instruct
  • Fine-tune: LoRA (r=16) on a mixed set โ€” 54 chat turns under the chat prompt, plus the product's 12 (material -> skill) pairs under the generator prompt. One messages list per example, loss on the assistant turns only, so the model both converses and produces the document shape the app validates for.
  • Architecture: unchanged from the base, so prebuilt kernels run these weights as-is.

The earlier revision was trained on the (material -> skill) pairs alone, under the generator prompt. It could not chat โ€” a greeting came back as a fragment of a definition โ€” because the chat page sends a different prompt and the model had never seen a conversation. The mixed set fixes that without losing the generation task.

MLC q4f16_1 (WebGPU)

  • 8 shards, 277,996,288 bytes, 267 tensors.
  • The prebuilt WebGPU kernels (Qwen2-0.5B-Instruct-q4f16_1_cs1k-webgpu.wasm) run these weights as-is.

GGUF Q4_K_M (CPU)

  • 4 shards, 329,740,704 bytes total (about 330 MB), in gguf/.
  • Token embeddings and the output layer are quantized to q4_0 on top of Q4_K_M, which is what brings the file under the size a browser will download in one go; measured at ~53 tokens/s on a pure-CPU machine.

Files

  • WebGPU: mlc-chat-config.json, tensor-cache.json (what WebLLM reads), ndarray-cache.json, params_shard_0..7.bin, and the tokenizer files.
  • CPU: gguf/skillforge-skiller-0.5B-q4_k_m-00001-of-00004.gguf (and the three following shards). wllama walks the chain from the -00001-of-00004 suffix, so only the first URL is needed.

Usage

WebGPU, with WebLLM

import { CreateMLCEngine } from "@mlc-ai/web-llm";

const engine = await CreateMLCEngine("skillforge-skiller-0.5B", {
  appConfig: {
    model_list: [
      {
        model_id: "skillforge-skiller-0.5B",
        model: "https://huggingface.co/Ciao22/skillforge-skiller-0.5B",
        model_lib:
          "https://raw.githubusercontent.com/mlc-ai/binary-mlc-llm-libs/main/web-llm-models/v0_2_87/base/Qwen2-0.5B-Instruct-q4f16_1_cs1k-webgpu.wasm",
        vram_required_MB: 944.62,
        low_resource_required: true,
        overrides: { context_window_size: 4096 },
      },
    ],
  },
});

WebLLM appends resolve/main/ to model on its own, so the URL must stop at the repository root.

CPU, with wllama

import { Wllama } from "@wllama/wllama";

const wllama = new Wllama({
  "single-thread/wllama.wasm": "/wllama/wllama.wasm",
});

await wllama.loadModelFromUrl(
  "https://huggingface.co/Ciao22/skillforge-skiller-0.5B/resolve/main/gguf/skillforge-skiller-0.5B-q4_k_m-00001-of-00004.gguf",
  { n_ctx: 2048 },
);

The runtime is self-hosted at /wllama/wllama.wasm; a same-origin file needs no extra CSP allowance and cannot be swapped out from under the page.

How it was made

The pipeline is reproducible and CPU-only; the scripts are in skiller-training/. build_mixed.py assembles the dataset and train_mixed.py fine-tunes from the base. mlc_export.py reimplements MLC's quantizer without TVM and is byte-identical to MLC's own converter: exporting the base model reproduces the published mlc-ai/Qwen2.5-0.5B-Instruct-q4f16_1-MLC build exactly. The GGUF comes from the same merged weights through llama.cpp.

Limits

Trained on a small, hand-written set โ€” 54 chat turns and 12 (material -> skill) pairs. It is a half-billion-parameter model: good for short, well-scoped skills and everyday chat, weaker than a large hosted model on long or subtle documents. Use it as the free, private, on-device option, not as a replacement for a frontier model. The CPU path is slower than the WebGPU one and is meant for devices without a GPU.

Downloads last month
276
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Ciao22/skillforge-skiller-0.5B

Adapter
(1,118)
this model