CAEL 0.4.2

HF downloads (30 days) version 0.4.2 CPU only

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.

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. For full chat, also extract 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:

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). 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.

Downloads last month
23
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including vynly/CAEL-0.4.2