Latest / AI & agents

Entropy-Guided Loop

github.com · Open source · Quiet

Notebook that uses token entropy to trigger a refinement pass

Visit github.com ↗Share

  • AI & agents
  • Open source
  • Jupyter Notebook
  • Day-7 check
  • Day-30 check
  • logprobs
  • token entropy
  • uncertainty sampling llm
  • perplexity refinement
  • reasoning loop
Stars
25
Forks
3
Open issues
0
Last commit
Found
15 months ago

GitHub figures as of . They are context, not a ranking.

This Jupyter notebook compares a reasoning model with a non-reasoning model that runs a loop driven by token log probabilities. When uncertainty thresholds fire, the loop makes one refinement pass that includes a report of uncertain tokens. It suits researchers exploring cheaper ways to get reasoning-like answers from small models.

Repository description on GitHub: “A notebook that compares a reasoning model x a non reasoning model that runs a loop using logprobs found uncertainty”

What it does

  • Computes perplexity and token entropy from logprobs during generation
  • Triggers at most one refinement pass when thresholds fire
  • Passes an uncertainty report of uncertain tokens back to the model
  • Compares a reasoning model with a non-reasoning model

Good for

  • Test whether logprob-triggered refinement matches a reasoning model
  • Run an uncertainty-aware generation loop with OpenAI's Responses API

Suits: Researchers seeking cheaper reasoning-like answers from small models.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Entropy-Guided Loop on , when andrewmonostate posted it to Show HN. GitHub listed no published releases for monostate/weave-logprobs-reasoning-loop when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 33 points, 4 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 33 points, 4 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: monostate/weave-logprobs-reasoning-loop
  2. Found: andrewmonostate posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was Entropy-Guided Loop released?
No dated release record is available. Kip found it on Show HN on 3 Sep 2025.
Is Entropy-Guided Loop open source?
Its source is public on GitHub at monostate/weave-logprobs-reasoning-loop; check the repository for licence terms.
Is Entropy-Guided Loop free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Entropy-Guided Loop still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymonostate/weave-logprobs-reasoning-loop
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-45118302. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.