Spaces:
Running

Cbot / README.md
amshimba's picture
Link the compiled weights (amshimba/Cbot-GGUF)
f7878d2 verified
|
Raw History Blame Contribute Delete
1.39 kB
---
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](https://huggingface.co/spaces/huggingface/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](https://huggingface.co/amshimba/Cbot-GGUF). They
cover everything that depends only on the current message (small talk,
facts, definitions, Q&A), not math, time or memory.