-
Notifications
You must be signed in to change notification settings - Fork 366
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
Error 'HuggingLanguageModel' object has no attribute 'generate_solution' #89
Comments
@rkuo2000 try the new script on the readme |
https://www.kaggle.com/code/rkuo2000/llm-tot Error: '>=' not supported between instances of 'int' and 'str' Setting AttributeError: 'HuggingLanguageModel' object has no attribute 'generate_solution' what script should be runned ? |
Hey @rkuo2000 HuggingfaceLanguageModel doesn't exist, can you try again with the new examples on the readme ? |
I am trying to run with HuggingFace free models, so Huggingface Language Model is no longer supported ? |
@rkuo2000 check the example on the readme md we make big new update |
https://www.kaggle.com/code/rkuo2000/llm-tree-of-thoughts/notebook HuggingfaceLLM could not generate text because of error: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select), try optimizing your arguments |
/opt/conda/lib/python3.10/site-packages/tree_of_thoughts/treeofthoughts.py:481
solution = self.model.generate_solution(initial_prompt, best_state)
AttributeError: 'HuggingLanguageModel' object has no attribute 'generate_solution'
Upvote & Fund
The text was updated successfully, but these errors were encountered: