Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Prototype advanced LLM algorithms for reasoning and planning.

License

NotificationsYou must be signed in to change notification settings

normal-computing/branches

Repository files navigation

Branches Logo

Branches

Prototype advanced LLM algorithms for reasoning and planning.

Try OnlineReport a BugStay tuned

Branches in action: Tree-search visualization for code generation with self-correction in the HumanEval benchmark

Tree-search visualization during code generation. We visualize a reasoning algorithm which learns from feedback, automatically correcting itself by analyzing error tracebacks to refine its solutions. In this case, we benchmark Python programming problems from the HumanEval dataset.

About

Branches is an AI tool for graph-based prototyping of advanced algorithms for LLM reasoning and planning -- like Tree of Thoughts and Reflexion. Branches is adapted fromFlux.

Designed for researchers and developers, it allows users to directly interact with AI reasoning processes, streamlining the exploration of complex coding challenges and strategic problem-solving.

Code Generation (HumanEval)

Branches automatically expands decision trees to solve programming problems from theHumanEval dataset, visualizing reasoning chains and facilitating self-correction through error tracebacks. This is found on themain branch and is currently hosted.

Game of 24

Branches includes a specialized evaluation mechanism for theGame of 24 puzzle, leveraging a scoring system to enhance breadth-first search (BFS) by prioritizing promising paths. This is found on thegame-of-24 branch.

Features

  • 🌳Automated Tree Expansion: Leveraging Tree of Thoughts for dynamic expansion in problem-solving.
  • 🧠Pre-loaded Prompts: Curated for search-based reasoning to solve specific problems.
  • 💻Code Interpretation: Instant execution and error analysis for self-correcting AI-generated code.
  • 🔍Scoring Mechanism: Advanced BFS for the Game of 24 with node evaluation for search optimization.
  • 📊Interactive Visualization: Graphical representation of tree searches for easy analysis and education. Largely adapted fromFlux.

Usage

To get started with Branches, you can either visitcode-gen-tree.vercel.app for the hosted version or run it locally by following the instructions below.

Deploy to Vercel

npm i -g vercelvercel

Stay Tuned For

Our commitment to enhancing Branches continues, with exciting new developments on the way:

  • More reasoning and planning algorithms beyond the defaults (#10)
  • Node Value Editing and Regenerate Subtree Functionality (#5)
  • UI Color Fixes and Customization Features (#6)
  • Address Model/UI Timeout Issues (#7)
  • Enhance Game of 24 Logic, Model Cost Tracking, and Prompt Engineering (#8)

Contributing

Your contributions make Branches better. Whether it’s bug reports, new features, or feedback, we welcome it all! Report bugs or request features by creating an issuehere.

License

Branches is open-source and continues to uphold theMIT license.

About

Prototype advanced LLM algorithms for reasoning and planning.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp