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

add demo notebook and return model #34

Merged
merged 8 commits into from
Nov 22, 2022
Merged

Conversation

mingshl
Copy link
Contributor

@mingshl mingshl commented Nov 21, 2022

Description

add demo notebook and return torch script model in train and save_as_pt function.

Issues Resolved

returning model will be helpful to generate embedding and inference to validate with the results after uploading model to OpenSearch

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.

@mingshl mingshl self-assigned this Nov 21, 2022
@mingshl mingshl added enhancement New feature or request semantic-search labels Nov 21, 2022
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
@mingshl mingshl merged commit 24b1235 into opensearch-project:main Nov 22, 2022
gaiksaya pushed a commit to gaiksaya/opensearch-py-ml that referenced this pull request Feb 10, 2023
* add demo notebook and modify docstring
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* add demo notebook and return model
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* change imports to import
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* add docs and modify demo notebook
Signed-off-by:<Mingshi Liu><mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* edit for docs

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* edit2 for docs

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* edit title in notebook

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

* edit2 title in notebook

Signed-off-by: Mingshi Liu <mingshl@amazon.com>

Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semantic-search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants