Skip to content
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

refactoring upload_api + added integration test + added load model ap… #54

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

dhrubo-os
Copy link
Collaborator

…i support

Signed-off-by: Dhrubo Saha dhrubo@amazon.com

Description

[1. refactoring ml commons apis integration
2. added integration test
3. added load model api connectivity
4. CVE issue solved]

Issues Resolved

[49]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

…i support

Signed-off-by: Dhrubo Saha <dhrubo@amazon.com>
Copy link
Contributor

@mingshl mingshl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"After generated a model zip file, the users will need to describe model configuration in a ml-commons_model_config.json file. The `make_model_config_json` function in sentencetransformermodel class will parse the config file from hugging-face config.son file. If users would like to use a different config than the pre-trained sentence transformer, `make_model_config_json` function provide arguuments to change the configuration content and generated a ml-commons_model_config.json file. Plese visit the [SentenceTransformerModel.make_model_config_json](https://opensearch-project.github.io/opensearch-py-ml/reference/api/sentence_transformer.html#opensearch_py_ml.sentence_transformer_model.SentenceTransformerModel.make_model_config_json) for API Reference . \n",
    "\n",

can you please replace the hyperlinks? It looks like the url changed and no longer pointed to the designated page. in this function , use this url instead:
[(https://opensearch-project.github.io/opensearch-py-ml/reference/api/sentence_transformer.make_model_config_json.html)]

would you please check all the hyperlink for the api references in demo notebook and change accordingly?

@dhrubo-os dhrubo-os merged commit 4953790 into opensearch-project:main Dec 19, 2022
gaiksaya pushed a commit to gaiksaya/opensearch-py-ml that referenced this pull request Feb 10, 2023
…i support (opensearch-project#54)

Signed-off-by: Dhrubo Saha <dhrubo@amazon.com>

Signed-off-by: Dhrubo Saha <dhrubo@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants