Comments (1)
Thank you for your question. The main reason we added special judge here is to prevent unknown format errors when calling the API. In fact, you'll find in the prompts of 'generate_program' that we expect 'Next Step' to be an equation composed solely of numbers and equals signs, which makes it more convenient for us to handle. When we use GPT-4 as the model, it is able to correctly understand our needs and almost never produces additional descriptive text that would cause this line of judgment to fail. So we added this judgment simply to avoid unexpected errors during the API execution of GPT-4.
We guess the problem you encountered may be due to GPT-3.5-Turbo, which interprets the prompt in a slightly different way than GPT-4, resulting in unnecessary extra description words in the output. We need to point out that if the output format of the "Next Step" is uncertain and contains additional descriptive text, extracting the "Next Step" equation we need is a non-trivial task. Therefore, in such situations, we choose to ignore this API call and regenerate it.
We will take your question seriously, and in future updates, we will try to solve Game 24 using GPT-3.5-Turbo, and attempt to provide new prompts that are compatible with both GPT-3.5-Turbo and GPT-4.
from cumulative-reasoning.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cumulative-reasoning.