Kanha — Custom-Trained On-Device Chatbot
This model was trained by Kanha and runs entirely on-device via WebGPU.
What is this?
This is a custom-trained chatbot checkpoint, fine-tuned on a specific website's content using Kanha. It is optimized for on-device inference in the browser via WebGPU — no server-side API calls, no per-query costs, no data leaves the device.
This model is not general-purpose. It is trained to answer questions about a specific website's content.
How to use
Install the SDK and embed the bot:
<script type="module" src="https://cdn.jsdelivr.net/npm/kanha-ai/dist/widget.js"></script>
<kanha-bot model-url="https://huggingface.co/Kanha-AI/dae07326-a05a-4cf2-932d-7b78ac9a437d-large/resolve/main/" model-size="large" model-lib="https://huggingface.co/Kanha-AI/kanha-minicpm5-2b-grounded-matched-2ep-20260910-MLC/resolve/60eab22c37f82f68f214f67ba0d53a79f50b4950/minicpm5-2b-q4f16_1-webgpu.wasm"></kanha-bot>
Or with React:
import { KanhaBot } from 'kanha-ai';
<KanhaBot modelUrl="https://huggingface.co/Kanha-AI/dae07326-a05a-4cf2-932d-7b78ac9a437d-large/resolve/main/" modelSize="large" modelLib="https://huggingface.co/Kanha-AI/kanha-minicpm5-2b-grounded-matched-2ep-20260910-MLC/resolve/60eab22c37f82f68f214f67ba0d53a79f50b4950/minicpm5-2b-q4f16_1-webgpu.wasm" />
MLC model library: https://huggingface.co/Kanha-AI/kanha-minicpm5-2b-grounded-matched-2ep-20260910-MLC/resolve/60eab22c37f82f68f214f67ba0d53a79f50b4950/minicpm5-2b-q4f16_1-webgpu.wasm
About Kanha
Kanha crawls your website, generates training data, fine-tunes a compact model, and serves it directly in your visitors' browsers via WebGPU.
- On-device execution — all inference runs locally, nothing sent to a server
- Privacy-first — user queries never leave the device
- Zero per-query costs — no API calls, no token billing