namin / llm-verified-with-monte-carlo-tree-search

LLM verified with Monte Carlo Tree Search
https://arxiv.org/abs/2402.08147
MIT License
240 stars 27 forks source link

integrated max_completion_depth limit for recursion limit #10

Closed sibiraja closed 10 months ago

sibiraja commented 10 months ago

Added a global recursion limit for the generate_complete function to avoid getting stuck in an infinite recursive loop in case score keeps getting assigned a value of None