From bceeaec1f28de68eb3ec5f0432f61989f1b8b535 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:11:54 -0700 Subject: [PATCH 1/3] Update Model Upload History - sentence-transformers/paraphrase-mpnet-base-v2 (v.1.0.0)(BOTH) (#321) * GitHub Actions Workflow: Update Model Upload History - sentence-transformers/paraphrase-mpnet-base-v2 (v.1.0.0)(BOTH) Signed-off-by: github-actions[bot] * GitHub Actions Workflow: Update CHANGELOG.md - sentence-transformers/paraphrase-mpnet-base-v2 (v.1.0.0)(BOTH) Signed-off-by: github-actions[bot] --------- Signed-off-by: github-actions[bot] Co-authored-by: dhrubo-os --- CHANGELOG.md | 1 + .../upload_history/MODEL_UPLOAD_HISTORY.md | 2 ++ .../upload_history/supported_models.json | 20 +++++++++++++++++++ 3 files changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f7523160..4cc4426fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Update model upload history - sentence-transformers/distiluse-base-multilingual-cased-v1 (v.1.0.1)(TORCH_SCRIPT) by @dhrubo-os ([#281](https://github.com/opensearch-project/opensearch-py-ml/pull/281)) - Update pretrained_models_all_versions.json (2023-09-14 10:28:41) by @dhrubo-os ([#282](https://github.com/opensearch-project/opensearch-py-ml/pull/282)) - Enable the model upload workflow to add model_content_size_in_bytes & model_content_hash_value to model config automatically @thanawan-atc ([#291](https://github.com/opensearch-project/opensearch-py-ml/pull/291)) +- Update model upload history - sentence-transformers/paraphrase-mpnet-base-v2 (v.1.0.0)(BOTH) by @dhrubo-os ([#321](https://github.com/opensearch-project/opensearch-py-ml/pull/321)) ### Fixed - Enable make_model_config_json to add model description to model config file by @thanawan-atc in ([#203](https://github.com/opensearch-project/opensearch-py-ml/pull/203)) diff --git a/utils/model_uploader/upload_history/MODEL_UPLOAD_HISTORY.md b/utils/model_uploader/upload_history/MODEL_UPLOAD_HISTORY.md index 5496a9986..a6105fedf 100644 --- a/utils/model_uploader/upload_history/MODEL_UPLOAD_HISTORY.md +++ b/utils/model_uploader/upload_history/MODEL_UPLOAD_HISTORY.md @@ -19,3 +19,5 @@ The following table shows sentence transformer model upload history. |2023-08-31 15:22:19|@dhrubo-os|`sentence-transformers/msmarco-distilbert-base-tas-b`|1.0.2|ONNX|N/A|N/A|6042401385| |2023-08-31 15:22:19|@dhrubo-os|`sentence-transformers/msmarco-distilbert-base-tas-b`|1.0.2|TORCH_SCRIPT|N/A|N/A|6042401385| |2023-09-13 18:03:32|@dhrubo-os|`sentence-transformers/distiluse-base-multilingual-cased-v1`|1.0.1|TORCH_SCRIPT|N/A|N/A|6178024517| +|2023-10-18 18:06:15|@dhrubo-os|`sentence-transformers/paraphrase-mpnet-base-v2`|1.0.0|ONNX|N/A|N/A|6568285400| +|2023-10-18 18:06:15|@dhrubo-os|`sentence-transformers/paraphrase-mpnet-base-v2`|1.0.0|TORCH_SCRIPT|N/A|N/A|6568285400| diff --git a/utils/model_uploader/upload_history/supported_models.json b/utils/model_uploader/upload_history/supported_models.json index 916967614..ce09ec4c0 100644 --- a/utils/model_uploader/upload_history/supported_models.json +++ b/utils/model_uploader/upload_history/supported_models.json @@ -28,5 +28,25 @@ "Embedding Dimension": "N/A", "Pooling Mode": "N/A", "Workflow Run ID": "6178024517" + }, + { + "Model Uploader": "@dhrubo-os", + "Upload Time": "2023-10-18 18:06:15", + "Model ID": "sentence-transformers/paraphrase-mpnet-base-v2", + "Model Version": "1.0.0", + "Model Format": "ONNX", + "Embedding Dimension": "N/A", + "Pooling Mode": "N/A", + "Workflow Run ID": "6568285400" + }, + { + "Model Uploader": "@dhrubo-os", + "Upload Time": "2023-10-18 18:06:15", + "Model ID": "sentence-transformers/paraphrase-mpnet-base-v2", + "Model Version": "1.0.0", + "Model Format": "TORCH_SCRIPT", + "Embedding Dimension": "N/A", + "Pooling Mode": "N/A", + "Workflow Run ID": "6568285400" } ] \ No newline at end of file From ff997e5adf32ed34b4f497db72d475eb1f95854d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:21:21 -0700 Subject: [PATCH 2/3] Update Pretrained Model Listing - 2023-10-18 18:11:34 (#322) * GitHub Actions Workflow: Update Pretrained Model Listing Signed-off-by: github-actions[bot] * GitHub Actions Workflow: Update CHANGELOG.md - Signed-off-by: github-actions[bot] --------- Signed-off-by: github-actions[bot] Signed-off-by: Dhrubo Saha Co-authored-by: dhrubo-os Co-authored-by: Dhrubo Saha --- CHANGELOG.md | 1 + .../pretrained_models_all_versions.json | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cc4426fa..8e7b75967 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Update model upload history - sentence-transformers/distiluse-base-multilingual-cased-v1 (v.1.0.1)(TORCH_SCRIPT) by @dhrubo-os ([#281](https://github.com/opensearch-project/opensearch-py-ml/pull/281)) - Update pretrained_models_all_versions.json (2023-09-14 10:28:41) by @dhrubo-os ([#282](https://github.com/opensearch-project/opensearch-py-ml/pull/282)) - Enable the model upload workflow to add model_content_size_in_bytes & model_content_hash_value to model config automatically @thanawan-atc ([#291](https://github.com/opensearch-project/opensearch-py-ml/pull/291)) +- Update pretrained_models_all_versions.json (2023-10-18 18:11:34) by @dhrubo-os ([#322](https://github.com/opensearch-project/opensearch-py-ml/pull/322)) - Update model upload history - sentence-transformers/paraphrase-mpnet-base-v2 (v.1.0.0)(BOTH) by @dhrubo-os ([#321](https://github.com/opensearch-project/opensearch-py-ml/pull/321)) ### Fixed diff --git a/utils/model_uploader/model_listing/pretrained_models_all_versions.json b/utils/model_uploader/model_listing/pretrained_models_all_versions.json index 3fff3aa4e..6a25040ad 100644 --- a/utils/model_uploader/model_listing/pretrained_models_all_versions.json +++ b/utils/model_uploader/model_listing/pretrained_models_all_versions.json @@ -114,25 +114,26 @@ } }, { - "name": "huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", + "name": "huggingface/sentence-transformers/paraphrase-mpnet-base-v2", "versions": { - "1.0.1": { + "1.0.0": { "format": [ "onnx", "torch_script" ], - "description": "This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search." + "description": "This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search." } } }, { - "name": "amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1", + "name": "huggingface/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "versions": { - "1.0.0": { + "1.0.1": { "format": [ + "onnx", "torch_script" ], - "description": "This is a neural sparse encoding model: It transfers text into sparse vector, and then extract nonzero index and value to entry and weights. It serves only in ingestion and customer should use tokenizer model in query." + "description": "This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search." } } } From 5ca5aa8fd2a187200725ae63f047031b3138139c Mon Sep 17 00:00:00 2001 From: Kalyan Date: Tue, 24 Oct 2023 07:45:58 +0530 Subject: [PATCH 3/3] limit pandas version to 2 (#313) Signed-off-by: kalyan --- requirements-dev.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index b51ae0e21..16640f779 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ # # Basic requirements # -pandas>=1.5.2,<3 +pandas>=1.5.2,<2 matplotlib>=3.6.2,<4 numpy>=1.24.0,<2 opensearch-py>=2.2.0 diff --git a/requirements.txt b/requirements.txt index ab798460d..ab4e94821 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # # Basic requirements # -pandas>=1.5.2,<3 +pandas>=1.5.2,<2 matplotlib>=3.6.2,<4 numpy>=1.24.0,<2 opensearch-py>=2.2.0