Efi's Demo Lab
Interactive explainer

Tiny memory, streaming signals

Five compact sketches monitor token-distribution changes as LLM output arrives.

Try the method

Interactive explainer

How it works.

Build a reference profile

Summarize trusted text with Count-Min Sketch, HyperLogLog++, AMS, Bloom Filter, and MinHash.

From the original project.

Saved artifacts · click to inspect

plot1 f1 vs memory
Original artifact ↗
plot3 method comparison
Original artifact ↗

Continue in the source.

Open the source notebook in Jupyter, Colab, or the environment described in the README. Data and model downloads may be required.

git clone https://github.com/eforus-overseer/llm-hallucination-sketches.git
Read the setup and requirements ↗