--- language: - en license: other license_name: cael-non-commercial license_link: https://huggingface.co/vynly/CAEL-0.4.2/blob/main/LICENSE pipeline_tag: text-generation tags: - cael - non-neural - cellular-automata - symbolic-reasoning - retrieval - custom-code inference: false --- # CAEL 0.4.2 [![HF downloads (30 days)](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fhuggingface.co%2Fapi%2Fmodels%2Fvynly%2FCAEL-0.4.2&query=%24.downloads&label=HF%20downloads%20%2830%20days%29&color=blue)](https://huggingface.co/vynly/CAEL-0.4.2) [![version 0.4.2](https://img.shields.io/badge/version-0.4.2-blue)](https://github.com/Vovala14/CAEL/releases/tag/v0.4.2) ![CPU only](https://img.shields.io/badge/CPU-only-green) A chat assistant with **no neural network**: a team of small agents, rules, exact solvers, cellular automata and retrieval over human-written answers, on CPU. **0.4.2** adds: - a fielded retrieval index; - conversation coherence across follow-ups; - a Supporter for emotional conversations over several turns; - story plots with real rewrites; - calculator, memory and note-writing fixes. In a sealed 20-conversation comparison, CAEL 0.4.2 won **12**, lost 7 and tied 1 against **Gemma 3 270M IT**. The developer of CAEL judged the conversations, which is a conflict of interest, and the judging was not blind. CAEL ran with web lookups on; Gemma ran offline. Full notes: [RELEASE_0_4_2.md](RELEASE_0_4_2.md). ## What is new in 0.4.2 - **Fielded retrieval index v2:** - BM25F over title, tags, question body and answer; - the whole conversation as the query; - word associations counted from the index itself ("trickle" → shower, pressure); - a British/American lexicon; - a confidence gate: a thread is quoted only when its title names the user's thing and its trouble. - **Conversation coherence:** - follow-up answers stay on the thing the user is talking about; - pages about films or characters that only share a word are rejected; - advice for the wrong kind of problem is rejected. - **The Supporter:** loneliness, grief, setbacks, a child who is upset, self-doubt, nerves, someone moving away, disputes, overwhelm and anger, over several turns. It acknowledges the feeling, answers "Is it normal?" and "What can I do?", and stays out when asked for no advice. - **Stories:** fear, habit and can't-do plots; "funnier", "happier" and "sadder" really change the ending. - **Calculator, memory and writing:** - shares of an amount, discounts on the full price, recipe scaling in one turn; - moved bookings ("she'll come on Thursday at 4 pm instead"); - thank-you notes ("thanking her for …"). ## Install and run Use Python 3.12. Download and extract [CAEL-0.4.2.zip](https://huggingface.co/vynly/CAEL-0.4.2/resolve/main/CAEL-0.4.2.zip). For full chat, also extract [cael-open-chat-v1.1.zip](https://huggingface.co/vynly/CAEL-0.4.2/resolve/main/cael-open-chat-v1.1.zip) into `models/`, so that `models/cael-open-chat-v1/` holds `open.sqlite` and `fielded.sqlite`. Then from the extracted directory: ```bash python -m pip install -r requirements-unified.txt python -m cael_unified --download python -m cael_unified --ui ``` Open http://127.0.0.1:8765. For terminal chat use `python -m cael_unified --mode chat`. Set `CAEL_WEB_SEARCH=0` to turn off public web lookup. - `--download` fetches the integrity-checked resource bundle. It is still byte-identical 0.3.7 (562,714,794 bytes) and is required. - This is **custom Python code, not a Transformers checkpoint**. - Picture and portrait weights are excluded. ## Size and resources - **Disk:** about 2.6 GB, nearly all data (the resource bundle, the knowledge base and the open-chat index). The code is about 20 MB. - **Memory:** about 100 MB after start-up, about 200–230 MB in a chat. - **CPU:** typical turns take a fraction of a second on one core; turns that need several searches take longer. - **Hardware:** no GPU. ## Honest limits - Practical multi-turn how-to chats can still fall back to general advice of the right kind but not specific to the case. - Facts outside CAEL's knowledge depend on the web. - 20 self-judged conversations is a small sample. ## Files | File | What it is | |---|---| | `CAEL-0.4.2.zip` | Source release (the files committed to git) | | `cael-open-chat-v1.1.zip` | Open-chat index (`open.sqlite`) and the new fielded index (`fielded.sqlite`) | | `bundle_config.json` | Checksum-pinned resource bundle (0.3.7) used by `--download` | | `params.json` | Download parameters and checksums | | `SHA256SUMS.txt` | SHA-256 of every release file | | `RELEASE_0_4_2.md`, `CHANGELOG.md` | Release notes and history | Licence: CAEL non-commercial source-available ([LICENSE](LICENSE)). The open-chat data keeps its own licences: Stack Exchange CC BY-SA 4.0, OpenAssistant Apache 2.0, databricks-dolly-15k CC BY-SA 3.0. Source: [github.com/Vovala14/CAEL](https://github.com/Vovala14/CAEL).