kyegomez / tree-of-thoughts

Plug in and Play Implementation of Tree of Thoughts: Deliberate Problem Solving with Large Language Models that Elevates Model Reasoning by atleast 70%

Home Page:https://discord.gg/qUtxnK2NMf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started with Method 1 & 2

alex-coch opened this issue · comments

commented

Hi,

Method1 doesn't output anything:
python3.9 treeofthoughts.py --problem "design an new transportation system for an all-new city" --search_algorithm="BFS" 2023-05-30 15:11:40,157 - INFO - Note: NumExpr detected 12 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2023-05-30 15:11:40,157 - INFO - NumExpr defaulting to 8 threads.

Method2 gives the issue:
ModuleNotFoundError: No module named 'tree_of_thoughts.huggingModel'

Any ideas?

Hey try upgrading or getting the newest version and let me know what happens!

commented

The same.

Method 1:
git clone https://github.com/kyegomez/tree-of-thoughts python3.9 -m pip install -r requirements.txt ython3.9 treeofthoughts.py --problem "design an new transportation system for an all-new city" --search_algorithm="BFS" 2023-05-31 15:17:44,787 - INFO - Note: NumExpr detected 12 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2023-05-31 15:17:44,788 - INFO - NumExpr defaulting to 8 threads.
it's all

Method 2:
python3.9 -m pip uninstall tree-of-thoughts python3.9 -m pip install tree-of-thoughts ... Successfully installed tree-of-thoughts-0.3.1 python3.9 main.py 4 from tree_of_thoughts.huggingModel import HuggingLanguageModel ModuleNotFoundError: No module named 'tree_of_thoughts.huggingModel'

Remove the hugging model after the dot and see if that works!