Download README.md from amshimba/Cbot: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/spaces/amshimba/Cbot/resolve/main/README.md
- Command line
-
hf download hf://spaces/amshimba/Cbot/README.md
-
curl -L -o README.md https://huggingface.co/spaces/amshimba/Cbot/resolve/main/README.md
title: Cbot
colorFrom: gray
colorTo: green
sdk: static
app_file: index.html
pinned: false
short_description: Rule-based chatbot in C, compiled to WebAssembly
models:
- amshimba/Cbot-GGUF
Cbot
A chatbot with no neural network and no training: a C program of pattern rules, a set of experts and an arbiter, in the style of PyBot. It runs entirely in your browser as WebAssembly; nothing you type leaves the page.
Each message is tokenized, spell-corrected and matched against rules. Every expert that recognizes it (math, units, time, memory, knowledge, jokes, small talk) proposes a reply with a confidence score, and the arbiter picks one. Tick Show all proposals to see every candidate.
| Model | Experts per turn | Knowledge base |
|---|---|---|
| cbot | all 10 | full: facts, definitions, Q&A |
| cbot-moe | router picks the top 3 | full |
| cbot-flash | router picks the top 1 | facts only |
The Context setting limits how many turns the bot remembers; older facts expire the way text slides out of a language model's context window.
The same rules are also compiled into transformer weights that llama.cpp runs: amshimba/Cbot-GGUF. They cover everything that depends only on the current message (small talk, facts, definitions, Q&A), not math, time or memory.