-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent definition of a valid solution node #13
Comments
I have same question, and I've noticed that in the |
Yeah, seems weird. FYI, we have re-implemented the reasoning part in this PR. After rough testing, I believe adding |
Many thanks! I will try in my experiment. |
Thanks so much for your contribution and your PR! :D Toward your question why OST_STEP is excluded in the solution extractor, tldr, it is our design choice to let DIRECT_ANSWER (chain of thought) etc to be the final node to answer the question. The is_valid_solution_node() function is likely used to determine if a node can be considered a valid solution during the search process. This might include nodes that are intermediate steps (OST_STEP) because they contribute to the reasoning process and might be necessary for the overall solution path. The extract_solution_from_node() function, on the other hand, is used to extract the final solution from a node. In this context, OST_STEP nodes might not directly provide a final answer or solution, which is why they are excluded. |
Hi there,
Thank you for the excellent work on this project!
While reviewing the code, I noticed an inconsistency in how valid solution nodes are defined within the
Reasoning_MCTS_Node
class. Specifically, in theis_valid_solution_node()
function, a valid solution node includes typesSUBQUESTION
,DIRECT_ANSWER
, orOST_STEP
. However, in theextract_solution_from_node()
function finding the best solution, theOST_STEP
type is excluded.Is there any reason for this exclusion?
Many thanks
The text was updated successfully, but these errors were encountered: