Hacker News front pagekyle-pena-nlp5 min readtutorialintermediate
I turned Jev into a (lousy) chatbot
Summary
jevchat is a Python CLI that turns the Typesafe Jev API into a symbol‑level chatbot by repeatedly asking Jev which next character to emit. It offers interchangeable sampling strategies and alphabets, live generation stats, and a benchmark mode that quantifies performance trade‑offs.
- jevchat wraps the Typesafe Jev API as a symbol‑level chat model, sampling next symbols via probability distributions.
- Supports multiple strategies (choice, bisect, buckets, refine) and alphabets (lower26, ascii, tokens, words1k, bpe5k) selectable via CLI flags.
- Provides live stats (symbols/s, API latency) and can run beam search, temperature, repetition penalty, and ensemble queries.
- Benchmark mode compares all mode combinations, showing hypothesis presentation triples top‑1 accuracy on character alphabets.
LLM engineers who want to experiment with low‑level token sampling and cost‑aware chat interfaces will find it useful.
6/10



