-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fixes and removes non-existent dependency on dsp.SentenceTransformersVectorizer from KNN and KNNFewShot #7884
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
Conversation
…rom KNN and KNNFewShot and fixes and re-enables all tests.
chenmoneygithub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, it's a very solid work!
Left some comments for readability improvements, the functionality looks good to me!
|
Thanks! Should have resolved all comments. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran the linter but it seems to have run it against the whole file. It did find lots of fixes.... I can revert if need be but I think this should be done regardless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, I will push a commit to fix it
chenmoneygithub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, I will push a commit to fix it
Fixes and removes the now non-existent dependency on
dsp.SentenceTransformersVectorizerfromKNNand indirectly fromKNNFewShot.Also:
trainsetandvalsetparams from theKNNFewShot.compilecall as they were unused.