GithubHelp home page GithubHelp logo

iiis-ai / cumulative-reasoning Goto Github PK

View Code? Open in Web Editor NEW
239.0 5.0 25.0 7.71 MB

Official implementation of BGPT @ ICLR 2024 paper "Cumulative Reasoning With Large Language Models" (https://arxiv.org/abs/2308.04371)

Home Page: https://cumulative-reasoning.github.io

Python 91.55% Jupyter Notebook 7.14% Shell 1.31%
llm reasoning large-language-models prompting math

cumulative-reasoning's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cumulative-reasoning's Issues

Issue about Guidance Select

Hello,

Thank you for your great work!

When running the code for Game of 24, I encounter the following error, which seems to be caused by the openai api update:

issue

May I ask how to solve this issue?

I am using openai version 0.28.1, thanks for your suggestions in advance.

About generate_program regular expression

I use gpt-3.5-turbo run the source code,when the tree structure iterates, After generate_program execution, the out['next_step'] attribute will appear like 'Since the input consists of only two numbers, there are no possible forbidden steps. To obtain 24, we can use the following step: 20 - 4 = 16'.Then the regular expression "[^0-9+\-*/.(),=\s]" will matches unrelated strings,so that the next judgment statement jumps into continue,the correct branch 20 - 4 = 16 is ignored .
image

Question about MATH prompt and evaluation metrics

Hi authors,

Thanks for your excellent work! May I ask a few questions about your experiments on the MATH dataset?

  1. Which parts in your prompt correspond to the Proposer, Verifier, and Reporter, respectively? It looks like the hints, intermediate questions and answers, and final answer are all parts of "proposing", but I fail to find anything about "verifying and "reporting". Did I miss anything?

  2. Is the evaluation also done by GPT4, according to this function? How well does it correlate with oracle judgements?

Thanks in advance for any input!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.