-
Notifications
You must be signed in to change notification settings - Fork 142
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
please accept this pull request ASAP PLEASE! #113
Conversation
@BBC-Esq did you try to use the |
Now I understand the problem, the files |
…d dependency to correspond to newer feature, update target name
I made PR BBC-Esq#1 which mimicks the logic of |
Couldn't figure out how to since I'm not a programmer by trade. |
Is this different than my pull request? |
It's a pull request to your pull request, extending the logic you added. |
looking at the changes you made, if you want to name the classes as they were in the released version in https://pypi.org/project/InstructorEmbedding/1.0.1/ which means most probably the commit https://github.com/xlang-ai/instructor-embedding/blob/619dda2bfbab22b3e623cb5893472eacae19f4a1/InstructorEmbedding/instructor.py then the name should be
and just for completeness: the change which renamed these classes, which I think is quite big change and should not have been merged, is #92 classes should not be renamed such easily without some larger discussion I think. And that change to INSTRUCTOR_Pooling is in my PR to this PR.
|
Please take a few minutes to review this pull request and address @racinmat 's questions and modifications as well. If you can't find the time to do this, please transfer ownership of the repo to someone who has the motivation to do the bare minimum in maintaining it and publishing a new package to pypi. Thanks. |
@hongjin-su could you please merge this PR? or #115 ? |
Thanks for @racinmat for reminding me to change this.
refactor: few updates to have the functionality on-par with sentence-transformers and other minor updates
I heavily changed your pull request to my fork before accepting it...Essentially removing that part you're discussing here. I didn't quite understand the need, but if you feel strongly it's possible I was mistaken as this isn't my profession. Let me know! |
First change
Apparently during the last few pull requests the capitalization of a few things as well as the "_" character being omitted were made. This prevents it from working. For example...
The class was initially named
INSTRUCTOR_Pooling
In a pull request it was changed to lowercase instead, and the "_" was removed in the same pull request or possibly another, I can't remember.
This pull request corrects the most recent pull request and classes are correctly named throughout the script. Here's a picture of the lines changed:
Second change
I corrected it to use the local path if specified. I'm not sure if this is the PERFECT solution since the
sentence-transformers
library has autil.py
script that does something similar, but THIS WORKS after many hours. Please merge: