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
The h2o.findSynonyms failed if the 'word' parameter is uknown for the word2vec model #16192
Comments
Hi @dmresearch15. Thanks for reporting this issue. It looks like there is a bug, that we cannot return results without an error for an unseen word. We definitely need to fix it. |
maurever
changed the title
Seeking clarification while utilising h2o.findSynonyms
The h2o.findSynonyms failed if the 'word' parameter is uknown for the word2vec model
May 9, 2024
I reproduced the error by this code:
|
I'm presently incorporating this into my project. It's helpful to have a timeframe for resolving this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Received the following error when attempting to execute print(h2o.findSynonyms(w2v_model, "National", count = 5)):
Error in eval(substitute(expr), data, enclos = parent.frame()) :
object 'score' not found
Curious about the absence of the 'score' parameter.
In contrast, when employing print(h2o.findSynonyms(w2v_model, "national", count = 5)), the score is generated as expected.
The text was updated successfully, but these errors were encountered: