-
Notifications
You must be signed in to change notification settings - Fork 61
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
Generalize make_model_config_json function #200
Merged
dhrubo-os
merged 6 commits into
opensearch-project:main
from
thanawan-atc:improve_make_model_config
Jul 27, 2023
Merged
Generalize make_model_config_json function #200
dhrubo-os
merged 6 commits into
opensearch-project:main
from
thanawan-atc:improve_make_model_config
Jul 27, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
thanawan-atc
requested review from
dhrubo-os,
greaa-aws,
ylwu-amzn,
b4sjoo,
jngz-es and
rbhavna
as code owners
July 26, 2023 20:56
Codecov Report
@@ Coverage Diff @@
## main #200 +/- ##
=======================================
Coverage 91.15% 91.15%
=======================================
Files 37 37
Lines 4091 4092 +1
=======================================
+ Hits 3729 3730 +1
Misses 362 362
|
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
thanawan-atc
changed the title
Improve make_model_config
Generalize make_model_config_json function
Jul 26, 2023
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
dhrubo-os
approved these changes
Jul 26, 2023
rbhavna
approved these changes
Jul 26, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Aug 9, 2023
* Improve make_model_config Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update sentencetransformermodel.py Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> --------- Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> (cherry picked from commit 513ac11)
dhrubo-os
pushed a commit
that referenced
this pull request
Aug 10, 2023
* Improve make_model_config Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update sentencetransformermodel.py Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> * Update CHANGELOG.md Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> --------- Signed-off-by: Thanawan Atchariyachanvanit <[email protected]> (cherry picked from commit 513ac11) Co-authored-by: Thanawan Atchariyachanvanit <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The module (i.e., Pooling, Normalize) does not need to be at the same index in SentenceTransformer._modules. So, we need to modify some code to handle those cases.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.