diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_579_STmodel_product_rem_v3a_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_579_STmodel_product_rem_v3a_en.md new file mode 100644 index 00000000000000..2826dbe6ee9788 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_579_STmodel_product_rem_v3a_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_579_STmodel_product_rem_v3a TFMPNetModel from jamiehudson +author: John Snow Labs +name: mpnet_embedding_579_STmodel_product_rem_v3a +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_579_STmodel_product_rem_v3a` is a English model originally trained by jamiehudson. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_579_STmodel_product_rem_v3a_en_5.1.0_3.0_1692379340262.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_579_STmodel_product_rem_v3a_en_5.1.0_3.0_1692379340262.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_579_STmodel_product_rem_v3a", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_579_STmodel_product_rem_v3a", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_579_STmodel_product_rem_v3a| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ATTACK_BERT_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ATTACK_BERT_en.md new file mode 100644 index 00000000000000..8d7a64142160ff --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ATTACK_BERT_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_ATTACK_BERT TFMPNetModel from basel +author: John Snow Labs +name: mpnet_embedding_ATTACK_BERT +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_ATTACK_BERT` is a English model originally trained by basel. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ATTACK_BERT_en_5.1.0_3.0_1692376584683.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ATTACK_BERT_en_5.1.0_3.0_1692376584683.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_ATTACK_BERT", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_ATTACK_BERT", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_ATTACK_BERT| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_BioLORD_STAMB2_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_BioLORD_STAMB2_v1_en.md new file mode 100644 index 00000000000000..f19db3f3446eac --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_BioLORD_STAMB2_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_BioLORD_STAMB2_v1 TFMPNetModel from FremyCompany +author: John Snow Labs +name: mpnet_embedding_BioLORD_STAMB2_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_BioLORD_STAMB2_v1` is a English model originally trained by FremyCompany. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_BioLORD_STAMB2_v1_en_5.1.0_3.0_1692377544444.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_BioLORD_STAMB2_v1_en_5.1.0_3.0_1692377544444.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_BioLORD_STAMB2_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_BioLORD_STAMB2_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_BioLORD_STAMB2_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Conditional_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Conditional_Classifier_en.md new file mode 100644 index 00000000000000..918b41525c1172 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Conditional_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Conditional_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Conditional_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Conditional_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Conditional_Classifier_en_5.1.0_3.0_1692380267965.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Conditional_Classifier_en_5.1.0_3.0_1692380267965.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Conditional_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Conditional_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Conditional_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Economywide_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Economywide_Classifier_en.md new file mode 100644 index 00000000000000..757624791b4dbd --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Economywide_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Economywide_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Economywide_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Economywide_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Economywide_Classifier_en_5.1.0_3.0_1692379293006.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Economywide_Classifier_en_5.1.0_3.0_1692379293006.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Economywide_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Economywide_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Economywide_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Mitigation_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Mitigation_Classifier_en.md new file mode 100644 index 00000000000000..a1d1ba79c4ef31 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Mitigation_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Mitigation_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Mitigation_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Mitigation_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Mitigation_Classifier_en_5.1.0_3.0_1692380447837.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Mitigation_Classifier_en_5.1.0_3.0_1692380447837.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Mitigation_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Mitigation_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Mitigation_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Netzero_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Netzero_Classifier_en.md new file mode 100644 index 00000000000000..cb3712d55153b6 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Netzero_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Netzero_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Netzero_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Netzero_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Netzero_Classifier_en_5.1.0_3.0_1692380071810.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Netzero_Classifier_en_5.1.0_3.0_1692380071810.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Netzero_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Netzero_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Netzero_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Target_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Target_Classifier_en.md new file mode 100644 index 00000000000000..046ce8c8c4938e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Target_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Target_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Target_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Target_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Target_Classifier_en_5.1.0_3.0_1692381136016.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Target_Classifier_en_5.1.0_3.0_1692381136016.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Target_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Target_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Target_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Transport_GHG_Classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Transport_GHG_Classifier_en.md new file mode 100644 index 00000000000000..0c1cad11d00706 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_CPU_Transport_GHG_Classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_CPU_Transport_GHG_Classifier TFMPNetModel from mtyrrell +author: John Snow Labs +name: mpnet_embedding_CPU_Transport_GHG_Classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_CPU_Transport_GHG_Classifier` is a English model originally trained by mtyrrell. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Transport_GHG_Classifier_en_5.1.0_3.0_1692379880190.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_CPU_Transport_GHG_Classifier_en_5.1.0_3.0_1692379880190.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_CPU_Transport_GHG_Classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_CPU_Transport_GHG_Classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_CPU_Transport_GHG_Classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_DomainAdaptM2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_DomainAdaptM2_en.md new file mode 100644 index 00000000000000..9a0c261ed16d69 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_DomainAdaptM2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_DomainAdaptM2 TFMPNetModel from dani0f +author: John Snow Labs +name: mpnet_embedding_DomainAdaptM2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_DomainAdaptM2` is a English model originally trained by dani0f. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_DomainAdaptM2_en_5.1.0_3.0_1692376943387.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_DomainAdaptM2_en_5.1.0_3.0_1692376943387.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_DomainAdaptM2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_DomainAdaptM2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_DomainAdaptM2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_FewShotIssueClassifier_NLBSE23_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_FewShotIssueClassifier_NLBSE23_en.md new file mode 100644 index 00000000000000..7ce867459489e7 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_FewShotIssueClassifier_NLBSE23_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_FewShotIssueClassifier_NLBSE23 TFMPNetModel from PeppoCola +author: John Snow Labs +name: mpnet_embedding_FewShotIssueClassifier_NLBSE23 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_FewShotIssueClassifier_NLBSE23` is a English model originally trained by PeppoCola. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_FewShotIssueClassifier_NLBSE23_en_5.1.0_3.0_1692375535519.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_FewShotIssueClassifier_NLBSE23_en_5.1.0_3.0_1692375535519.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_FewShotIssueClassifier_NLBSE23", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_FewShotIssueClassifier_NLBSE23", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_FewShotIssueClassifier_NLBSE23| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_InvoiceOrNot_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_InvoiceOrNot_en.md new file mode 100644 index 00000000000000..051f1bead450ea --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_InvoiceOrNot_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_InvoiceOrNot TFMPNetModel from HamzaFarhan +author: John Snow Labs +name: mpnet_embedding_InvoiceOrNot +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_InvoiceOrNot` is a English model originally trained by HamzaFarhan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_InvoiceOrNot_en_5.1.0_3.0_1692379683526.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_InvoiceOrNot_en_5.1.0_3.0_1692379683526.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_InvoiceOrNot", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_InvoiceOrNot", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_InvoiceOrNot| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PDFSegs_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PDFSegs_en.md new file mode 100644 index 00000000000000..2cf1cf933def81 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PDFSegs_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_PDFSegs TFMPNetModel from HamzaFarhan +author: John Snow Labs +name: mpnet_embedding_PDFSegs +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_PDFSegs` is a English model originally trained by HamzaFarhan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PDFSegs_en_5.1.0_3.0_1692378985073.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PDFSegs_en_5.1.0_3.0_1692378985073.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_PDFSegs", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_PDFSegs", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_PDFSegs| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_V2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_V2_en.md new file mode 100644 index 00000000000000..f9d4fca88cea02 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_V2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_PatentSBERTa_V2 TFMPNetModel from AAUBS +author: John Snow Labs +name: mpnet_embedding_PatentSBERTa_V2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_PatentSBERTa_V2` is a English model originally trained by AAUBS. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PatentSBERTa_V2_en_5.1.0_3.0_1692380355761.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PatentSBERTa_V2_en_5.1.0_3.0_1692380355761.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_PatentSBERTa_V2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_PatentSBERTa_V2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_PatentSBERTa_V2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_en.md new file mode 100644 index 00000000000000..070692a5b3a101 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_PatentSBERTa_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_PatentSBERTa TFMPNetModel from AI-Growth-Lab +author: John Snow Labs +name: mpnet_embedding_PatentSBERTa +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_PatentSBERTa` is a English model originally trained by AI-Growth-Lab. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PatentSBERTa_en_5.1.0_3.0_1692375218186.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_PatentSBERTa_en_5.1.0_3.0_1692375218186.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_PatentSBERTa", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_PatentSBERTa", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_PatentSBERTa| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Sentiment140_fewshot_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Sentiment140_fewshot_en.md new file mode 100644 index 00000000000000..6dae79cd0c75f3 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Sentiment140_fewshot_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_Sentiment140_fewshot TFMPNetModel from pig4431 +author: John Snow Labs +name: mpnet_embedding_Sentiment140_fewshot +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_Sentiment140_fewshot` is a English model originally trained by pig4431. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_Sentiment140_fewshot_en_5.1.0_3.0_1692378771805.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_Sentiment140_fewshot_en_5.1.0_3.0_1692378771805.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_Sentiment140_fewshot", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_Sentiment140_fewshot", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_Sentiment140_fewshot| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_SetFit_all_data_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_SetFit_all_data_en.md new file mode 100644 index 00000000000000..4d2f95602e7881 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_SetFit_all_data_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_SetFit_all_data TFMPNetModel from scaperex +author: John Snow Labs +name: mpnet_embedding_SetFit_all_data +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_SetFit_all_data` is a English model originally trained by scaperex. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_SetFit_all_data_en_5.1.0_3.0_1692380518236.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_SetFit_all_data_en_5.1.0_3.0_1692380518236.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_SetFit_all_data", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_SetFit_all_data", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_SetFit_all_data| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Setfit_few_shot_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Setfit_few_shot_classifier_en.md new file mode 100644 index 00000000000000..a5136966704ae5 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_Setfit_few_shot_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_Setfit_few_shot_classifier TFMPNetModel from Kuaaangwen +author: John Snow Labs +name: mpnet_embedding_Setfit_few_shot_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_Setfit_few_shot_classifier` is a English model originally trained by Kuaaangwen. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_Setfit_few_shot_classifier_en_5.1.0_3.0_1692375392849.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_Setfit_few_shot_classifier_en_5.1.0_3.0_1692375392849.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_Setfit_few_shot_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_Setfit_few_shot_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_Setfit_few_shot_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_query_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_query_en.md new file mode 100644 index 00000000000000..02fddd33189f45 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_query_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_abstract_sim_query TFMPNetModel from biu-nlp +author: John Snow Labs +name: mpnet_embedding_abstract_sim_query +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_abstract_sim_query` is a English model originally trained by biu-nlp. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_abstract_sim_query_en_5.1.0_3.0_1692378373665.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_abstract_sim_query_en_5.1.0_3.0_1692378373665.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_abstract_sim_query", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_abstract_sim_query", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_abstract_sim_query| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.5 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_sentence_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_sentence_en.md new file mode 100644 index 00000000000000..7a6ef57f054364 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_abstract_sim_sentence_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_abstract_sim_sentence TFMPNetModel from biu-nlp +author: John Snow Labs +name: mpnet_embedding_abstract_sim_sentence +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_abstract_sim_sentence` is a English model originally trained by biu-nlp. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_abstract_sim_sentence_en_5.1.0_3.0_1692378160891.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_abstract_sim_sentence_en_5.1.0_3.0_1692378160891.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_abstract_sim_sentence", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_abstract_sim_sentence", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_abstract_sim_sentence| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.5 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_action_policy_plans_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_action_policy_plans_classifier_en.md new file mode 100644 index 00000000000000..0287ba11282f9e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_action_policy_plans_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_action_policy_plans_classifier TFMPNetModel from ppsingh +author: John Snow Labs +name: mpnet_embedding_action_policy_plans_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_action_policy_plans_classifier` is a English model originally trained by ppsingh. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_action_policy_plans_classifier_en_5.1.0_3.0_1692375624301.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_action_policy_plans_classifier_en_5.1.0_3.0_1692375624301.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_action_policy_plans_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_action_policy_plans_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_action_policy_plans_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v3_mpnet_base_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v3_mpnet_base_en.md new file mode 100644 index 00000000000000..5f6b39f47d10cd --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v3_mpnet_base_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_datasets_v3_mpnet_base TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_all_datasets_v3_mpnet_base +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_datasets_v3_mpnet_base` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_datasets_v3_mpnet_base_en_5.1.0_3.0_1692375660568.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_datasets_v3_mpnet_base_en_5.1.0_3.0_1692375660568.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_datasets_v3_mpnet_base", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_datasets_v3_mpnet_base", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_datasets_v3_mpnet_base| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v4_mpnet_base_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v4_mpnet_base_en.md new file mode 100644 index 00000000000000..18f330d36d731a --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_datasets_v4_mpnet_base_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_datasets_v4_mpnet_base TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_all_datasets_v4_mpnet_base +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_datasets_v4_mpnet_base` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_datasets_v4_mpnet_base_en_5.1.0_3.0_1692375835999.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_datasets_v4_mpnet_base_en_5.1.0_3.0_1692375835999.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_datasets_v4_mpnet_base", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_datasets_v4_mpnet_base", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_datasets_v4_mpnet_base| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v1_en.md new file mode 100644 index 00000000000000..891a88263da98e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v1 TFMPNetModel from sentence-transformers +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v1` is a English model originally trained by sentence-transformers. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v1_en_5.1.0_3.0_1692377622026.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v1_en_5.1.0_3.0_1692377622026.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_embedding_all_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_embedding_all_en.md new file mode 100644 index 00000000000000..a0ca15be2a9423 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_embedding_all_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_embedding_all TFMPNetModel from LLukas22 +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_embedding_all +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_embedding_all` is a English model originally trained by LLukas22. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_embedding_all_en_5.1.0_3.0_1692375164501.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_embedding_all_en_5.1.0_3.0_1692375164501.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_embedding_all", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_embedding_all", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_embedding_all| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_en.md new file mode 100644 index 00000000000000..80204a205b4e8b --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_feature_extraction TFMPNetModel from guidecare +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_feature_extraction +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_feature_extraction` is a English model originally trained by guidecare. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_feature_extraction_en_5.1.0_3.0_1692380529046.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_feature_extraction_en_5.1.0_3.0_1692380529046.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_feature_extraction", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_feature_extraction", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_feature_extraction| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline_en.md new file mode 100644 index 00000000000000..bf081c166bb3db --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline TFMPNetModel from questgen +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline` is a English model originally trained by questgen. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline_en_5.1.0_3.0_1692379801719.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline_en_5.1.0_3.0_1692379801719.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_feature_extraction_pipeline| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_finetuned_v2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_finetuned_v2_en.md new file mode 100644 index 00000000000000..465721618eee23 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_finetuned_v2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_finetuned_v2 TFMPNetModel from Humair +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_finetuned_v2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_finetuned_v2` is a English model originally trained by Humair. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_finetuned_v2_en_5.1.0_3.0_1692375397544.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_finetuned_v2_en_5.1.0_3.0_1692375397544.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_finetuned_v2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_finetuned_v2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_finetuned_v2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_for_sb_clustering_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_for_sb_clustering_en.md new file mode 100644 index 00000000000000..2c6860f4fe7452 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_for_sb_clustering_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_for_sb_clustering TFMPNetModel from Thabet +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_for_sb_clustering +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_for_sb_clustering` is a English model originally trained by Thabet. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_for_sb_clustering_en_5.1.0_3.0_1692380236972.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_for_sb_clustering_en_5.1.0_3.0_1692380236972.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_for_sb_clustering", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_for_sb_clustering", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_for_sb_clustering| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_ftlegal_v3_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_ftlegal_v3_en.md new file mode 100644 index 00000000000000..76e076e96782cc --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_ftlegal_v3_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_ftlegal_v3 TFMPNetModel from sukantan +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_ftlegal_v3 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_ftlegal_v3` is a English model originally trained by sukantan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_ftlegal_v3_en_5.1.0_3.0_1692377160570.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_ftlegal_v3_en_5.1.0_3.0_1692377160570.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_ftlegal_v3", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_ftlegal_v3", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_ftlegal_v3| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_table_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_table_en.md new file mode 100644 index 00000000000000..d557a3e88e9205 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_table_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_table TFMPNetModel from deepset +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_table +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_table` is a English model originally trained by deepset. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_table_en_5.1.0_3.0_1692379618976.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_table_en_5.1.0_3.0_1692379618976.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_table", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_table", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_table| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_tasky_classification_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_tasky_classification_en.md new file mode 100644 index 00000000000000..6462f5deaec345 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_all_mpnet_base_v2_tasky_classification_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_all_mpnet_base_v2_tasky_classification TFMPNetModel from khalidalt +author: John Snow Labs +name: mpnet_embedding_all_mpnet_base_v2_tasky_classification +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_all_mpnet_base_v2_tasky_classification` is a English model originally trained by khalidalt. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_tasky_classification_en_5.1.0_3.0_1692379990317.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_all_mpnet_base_v2_tasky_classification_en_5.1.0_3.0_1692379990317.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_all_mpnet_base_v2_tasky_classification", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_all_mpnet_base_v2_tasky_classification", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_all_mpnet_base_v2_tasky_classification| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR_fr.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR_fr.md new file mode 100644 index 00000000000000..7fc42dea86c473 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR_fr.md @@ -0,0 +1,88 @@ +--- +layout: model +title: French mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR TFMPNetModel from antoinelouis +author: John Snow Labs +name: mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR +date: 2023-08-18 +tags: [mpnet, fr, open_source, tensorflow] +task: Embeddings +language: fr +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR` is a French model originally trained by antoinelouis. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR_fr_5.1.0_3.0_1692379200090.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR_fr_5.1.0_3.0_1692379200090.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR", "fr")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR", "fr") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_biencoder_all_mpnet_base_v2_mmarcoFR| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|fr| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR_fr.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR_fr.md new file mode 100644 index 00000000000000..e477d499a0aa32 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR_fr.md @@ -0,0 +1,88 @@ +--- +layout: model +title: French mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR TFMPNetModel from antoinelouis +author: John Snow Labs +name: mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR +date: 2023-08-18 +tags: [mpnet, fr, open_source, tensorflow] +task: Embeddings +language: fr +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR` is a French model originally trained by antoinelouis. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR_fr_5.1.0_3.0_1692379417337.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR_fr_5.1.0_3.0_1692379417337.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR", "fr")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR", "fr") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_biencoder_multi_qa_mpnet_base_cos_v1_mmarcoFR| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|fr| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_en.md new file mode 100644 index 00000000000000..bccef97f878860 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_contradiction_psb TFMPNetModel from nategro +author: John Snow Labs +name: mpnet_embedding_contradiction_psb +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_contradiction_psb` is a English model originally trained by nategro. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_contradiction_psb_en_5.1.0_3.0_1692376734761.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_contradiction_psb_en_5.1.0_3.0_1692376734761.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_contradiction_psb", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_contradiction_psb", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_contradiction_psb| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_lds_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_lds_en.md new file mode 100644 index 00000000000000..e7e7b02497623b --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_contradiction_psb_lds_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_contradiction_psb_lds TFMPNetModel from nategro +author: John Snow Labs +name: mpnet_embedding_contradiction_psb_lds +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_contradiction_psb_lds` is a English model originally trained by nategro. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_contradiction_psb_lds_en_5.1.0_3.0_1692376358959.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_contradiction_psb_lds_en_5.1.0_3.0_1692376358959.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_contradiction_psb_lds", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_contradiction_psb_lds", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_contradiction_psb_lds| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_covid_qa_mpnet_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_covid_qa_mpnet_en.md new file mode 100644 index 00000000000000..99a354419a1a37 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_covid_qa_mpnet_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_covid_qa_mpnet TFMPNetModel from shaina +author: John Snow Labs +name: mpnet_embedding_covid_qa_mpnet +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_covid_qa_mpnet` is a English model originally trained by shaina. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_covid_qa_mpnet_en_5.1.0_3.0_1692378777451.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_covid_qa_mpnet_en_5.1.0_3.0_1692378777451.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_covid_qa_mpnet", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_covid_qa_mpnet", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_covid_qa_mpnet| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|402.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average_en.md new file mode 100644 index 00000000000000..cb67773aa568f7 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average TFMPNetModel from teven +author: John Snow Labs +name: mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average` is a English model originally trained by teven. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average_en_5.1.0_3.0_1692375601480.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average_en_5.1.0_3.0_1692375601480.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_cross_all_mpnet_base_v2_finetuned_WebNLG2020_metric_average| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_en.md new file mode 100644 index 00000000000000..e083fc0f2013b3 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_due_eshop_21 TFMPNetModel from konverner +author: John Snow Labs +name: mpnet_embedding_due_eshop_21 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_due_eshop_21` is a English model originally trained by konverner. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_eshop_21_en_5.1.0_3.0_1692376954136.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_eshop_21_en_5.1.0_3.0_1692376954136.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_due_eshop_21", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_due_eshop_21", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_due_eshop_21| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_multilabel_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_multilabel_en.md new file mode 100644 index 00000000000000..4958a984a85246 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_eshop_21_multilabel_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_due_eshop_21_multilabel TFMPNetModel from konverner +author: John Snow Labs +name: mpnet_embedding_due_eshop_21_multilabel +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_due_eshop_21_multilabel` is a English model originally trained by konverner. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_eshop_21_multilabel_en_5.1.0_3.0_1692378545704.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_eshop_21_multilabel_en_5.1.0_3.0_1692378545704.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_due_eshop_21_multilabel", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_due_eshop_21_multilabel", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_due_eshop_21_multilabel| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_retail_25_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_retail_25_en.md new file mode 100644 index 00000000000000..9a2a763086bb5f --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_due_retail_25_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_due_retail_25 TFMPNetModel from konverner +author: John Snow Labs +name: mpnet_embedding_due_retail_25 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_due_retail_25` is a English model originally trained by konverner. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_retail_25_en_5.1.0_3.0_1692377165556.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_due_retail_25_en_5.1.0_3.0_1692377165556.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_due_retail_25", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_due_retail_25", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_due_retail_25| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ecolo_pas_ecolo_v0.1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ecolo_pas_ecolo_v0.1_en.md new file mode 100644 index 00000000000000..764601fa7edb81 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ecolo_pas_ecolo_v0.1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_ecolo_pas_ecolo_v0.1 TFMPNetModel from eclaircies +author: John Snow Labs +name: mpnet_embedding_ecolo_pas_ecolo_v0.1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_ecolo_pas_ecolo_v0.1` is a English model originally trained by eclaircies. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ecolo_pas_ecolo_v0.1_en_5.1.0_3.0_1692375351351.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ecolo_pas_ecolo_v0.1_en_5.1.0_3.0_1692375351351.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_ecolo_pas_ecolo_v0.1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_ecolo_pas_ecolo_v0.1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_ecolo_pas_ecolo_v0.1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_esci_jp_mpnet_crossencoder_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_esci_jp_mpnet_crossencoder_en.md new file mode 100644 index 00000000000000..a7d130c9112a1c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_esci_jp_mpnet_crossencoder_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_esci_jp_mpnet_crossencoder TFMPNetModel from spacemanidol +author: John Snow Labs +name: mpnet_embedding_esci_jp_mpnet_crossencoder +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_esci_jp_mpnet_crossencoder` is a English model originally trained by spacemanidol. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_esci_jp_mpnet_crossencoder_en_5.1.0_3.0_1692380712380.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_esci_jp_mpnet_crossencoder_en_5.1.0_3.0_1692380712380.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_esci_jp_mpnet_crossencoder", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_esci_jp_mpnet_crossencoder", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_esci_jp_mpnet_crossencoder| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_eth_setfit_payment_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_eth_setfit_payment_model_en.md new file mode 100644 index 00000000000000..9b60461052880d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_eth_setfit_payment_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_eth_setfit_payment_model TFMPNetModel from kainxwang +author: John Snow Labs +name: mpnet_embedding_eth_setfit_payment_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_eth_setfit_payment_model` is a English model originally trained by kainxwang. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_eth_setfit_payment_model_en_5.1.0_3.0_1692380076037.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_eth_setfit_payment_model_en_5.1.0_3.0_1692380076037.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_eth_setfit_payment_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_eth_setfit_payment_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_eth_setfit_payment_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_fail_detect_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_fail_detect_en.md new file mode 100644 index 00000000000000..6040e046ce6d0d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_fail_detect_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_fail_detect TFMPNetModel from Ngit +author: John Snow Labs +name: mpnet_embedding_fail_detect +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_fail_detect` is a English model originally trained by Ngit. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_fail_detect_en_5.1.0_3.0_1692379164436.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_fail_detect_en_5.1.0_3.0_1692379164436.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_fail_detect", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_fail_detect", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_fail_detect| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_few_shot_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_few_shot_model_en.md new file mode 100644 index 00000000000000..e7e7fd4bc3e539 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_few_shot_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_few_shot_model TFMPNetModel from jessietextstan +author: John Snow Labs +name: mpnet_embedding_few_shot_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_few_shot_model` is a English model originally trained by jessietextstan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_few_shot_model_en_5.1.0_3.0_1692380439322.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_few_shot_model_en_5.1.0_3.0_1692380439322.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_few_shot_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_few_shot_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_few_shot_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_finetunned_sbert_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_finetunned_sbert_en.md new file mode 100644 index 00000000000000..af3135e5d9c8a2 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_finetunned_sbert_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_finetunned_sbert TFMPNetModel from Kick28 +author: John Snow Labs +name: mpnet_embedding_finetunned_sbert +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_finetunned_sbert` is a English model originally trained by Kick28. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_finetunned_sbert_en_5.1.0_3.0_1692380631621.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_finetunned_sbert_en_5.1.0_3.0_1692380631621.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_finetunned_sbert", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_finetunned_sbert", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_finetunned_sbert| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_mpnet_st_e10_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_mpnet_st_e10_en.md new file mode 100644 index 00000000000000..9326717aa52c89 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_mpnet_st_e10_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_github_issues_mpnet_st_e10 TFMPNetModel from Collab-uniba +author: John Snow Labs +name: mpnet_embedding_github_issues_mpnet_st_e10 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_github_issues_mpnet_st_e10` is a English model originally trained by Collab-uniba. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_github_issues_mpnet_st_e10_en_5.1.0_3.0_1692376620750.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_github_issues_mpnet_st_e10_en_5.1.0_3.0_1692376620750.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_github_issues_mpnet_st_e10", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_github_issues_mpnet_st_e10", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_github_issues_mpnet_st_e10| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_preprocessed_mpnet_st_e10_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_preprocessed_mpnet_st_e10_en.md new file mode 100644 index 00000000000000..dd0307f194cdff --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_github_issues_preprocessed_mpnet_st_e10_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_github_issues_preprocessed_mpnet_st_e10 TFMPNetModel from Collab-uniba +author: John Snow Labs +name: mpnet_embedding_github_issues_preprocessed_mpnet_st_e10 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_github_issues_preprocessed_mpnet_st_e10` is a English model originally trained by Collab-uniba. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_github_issues_preprocessed_mpnet_st_e10_en_5.1.0_3.0_1692378367005.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_github_issues_preprocessed_mpnet_st_e10_en_5.1.0_3.0_1692378367005.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_github_issues_preprocessed_mpnet_st_e10", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_github_issues_preprocessed_mpnet_st_e10", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_github_issues_preprocessed_mpnet_st_e10| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_conditional_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_conditional_en.md new file mode 100644 index 00000000000000..9a88a28d497222 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_conditional_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_ikitracs_conditional TFMPNetModel from ilaria-oneofftech +author: John Snow Labs +name: mpnet_embedding_ikitracs_conditional +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_ikitracs_conditional` is a English model originally trained by ilaria-oneofftech. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ikitracs_conditional_en_5.1.0_3.0_1692376423487.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ikitracs_conditional_en_5.1.0_3.0_1692376423487.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_ikitracs_conditional", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_ikitracs_conditional", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_ikitracs_conditional| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_mitigation_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_mitigation_en.md new file mode 100644 index 00000000000000..2fe54cca2c1b46 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ikitracs_mitigation_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_ikitracs_mitigation TFMPNetModel from ilaria-oneofftech +author: John Snow Labs +name: mpnet_embedding_ikitracs_mitigation +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_ikitracs_mitigation` is a English model originally trained by ilaria-oneofftech. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ikitracs_mitigation_en_5.1.0_3.0_1692379836311.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ikitracs_mitigation_en_5.1.0_3.0_1692379836311.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_ikitracs_mitigation", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_ikitracs_mitigation", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_ikitracs_mitigation| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_en.md new file mode 100644 index 00000000000000..4664c712ad782e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_initial_model TFMPNetModel from ishan +author: John Snow Labs +name: mpnet_embedding_initial_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_initial_model` is a English model originally trained by ishan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_initial_model_en_5.1.0_3.0_1692378787120.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_initial_model_en_5.1.0_3.0_1692378787120.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_initial_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_initial_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_initial_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_v3_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_v3_en.md new file mode 100644 index 00000000000000..f171a65e56c7c1 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_initial_model_v3_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_initial_model_v3 TFMPNetModel from ishan +author: John Snow Labs +name: mpnet_embedding_initial_model_v3 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_initial_model_v3` is a English model originally trained by ishan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_initial_model_v3_en_5.1.0_3.0_1692378725094.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_initial_model_v3_en_5.1.0_3.0_1692378725094.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_initial_model_v3", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_initial_model_v3", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_initial_model_v3| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_deprecation_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_deprecation_classifier_en.md new file mode 100644 index 00000000000000..935bccbccd1285 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_deprecation_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_deprecation_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_deprecation_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_deprecation_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_deprecation_classifier_en_5.1.0_3.0_1692377248542.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_deprecation_classifier_en_5.1.0_3.0_1692377248542.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_deprecation_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_deprecation_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_deprecation_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_expand_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_expand_classifier_en.md new file mode 100644 index 00000000000000..377df7c2b7e566 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_expand_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_expand_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_expand_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_expand_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_expand_classifier_en_5.1.0_3.0_1692378008915.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_expand_classifier_en_5.1.0_3.0_1692378008915.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_expand_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_expand_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_expand_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_ownership_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_ownership_classifier_en.md new file mode 100644 index 00000000000000..30aa3bf0c2ef74 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_ownership_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_ownership_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_ownership_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_ownership_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_ownership_classifier_en_5.1.0_3.0_1692379581982.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_ownership_classifier_en_5.1.0_3.0_1692379581982.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_ownership_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_ownership_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_ownership_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_pointer_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_pointer_classifier_en.md new file mode 100644 index 00000000000000..74e9f64acdd757 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_pointer_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_pointer_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_pointer_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_pointer_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_pointer_classifier_en_5.1.0_3.0_1692377625982.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_pointer_classifier_en_5.1.0_3.0_1692377625982.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_pointer_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_pointer_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_pointer_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_rational_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_rational_classifier_en.md new file mode 100644 index 00000000000000..7bc4b726b21720 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_rational_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_rational_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_rational_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_rational_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_rational_classifier_en_5.1.0_3.0_1692378803769.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_rational_classifier_en_5.1.0_3.0_1692378803769.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_rational_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_rational_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_rational_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_summary_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_summary_classifier_en.md new file mode 100644 index 00000000000000..e29e8ec4811483 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_summary_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_summary_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_summary_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_summary_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_summary_classifier_en_5.1.0_3.0_1692377436133.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_summary_classifier_en_5.1.0_3.0_1692377436133.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_summary_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_summary_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_summary_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_usage_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_usage_classifier_en.md new file mode 100644 index 00000000000000..c9c83299840f67 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_java_usage_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_java_usage_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_java_usage_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_java_usage_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_usage_classifier_en_5.1.0_3.0_1692377814202.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_java_usage_classifier_en_5.1.0_3.0_1692377814202.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_java_usage_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_java_usage_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_java_usage_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_keyphrase_mpnet_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_keyphrase_mpnet_v1_en.md new file mode 100644 index 00000000000000..fbc3401b41f28d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_keyphrase_mpnet_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_keyphrase_mpnet_v1 TFMPNetModel from uclanlp +author: John Snow Labs +name: mpnet_embedding_keyphrase_mpnet_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_keyphrase_mpnet_v1` is a English model originally trained by uclanlp. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_keyphrase_mpnet_v1_en_5.1.0_3.0_1692377753915.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_keyphrase_mpnet_v1_en_5.1.0_3.0_1692377753915.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_keyphrase_mpnet_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_keyphrase_mpnet_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_keyphrase_mpnet_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfit_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfit_model_en.md new file mode 100644 index 00000000000000..65cef5eb694cf5 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfit_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_kw_classification_setfit_model TFMPNetModel from gyuri2020 +author: John Snow Labs +name: mpnet_embedding_kw_classification_setfit_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_kw_classification_setfit_model` is a English model originally trained by gyuri2020. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_kw_classification_setfit_model_en_5.1.0_3.0_1692379109726.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_kw_classification_setfit_model_en_5.1.0_3.0_1692379109726.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_kw_classification_setfit_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_kw_classification_setfit_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_kw_classification_setfit_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfithead_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfithead_model_en.md new file mode 100644 index 00000000000000..a28f3cc26cf82f --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_kw_classification_setfithead_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_kw_classification_setfithead_model TFMPNetModel from gyuri2020 +author: John Snow Labs +name: mpnet_embedding_kw_classification_setfithead_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_kw_classification_setfithead_model` is a English model originally trained by gyuri2020. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_kw_classification_setfithead_model_en_5.1.0_3.0_1692379488047.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_kw_classification_setfithead_model_en_5.1.0_3.0_1692379488047.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_kw_classification_setfithead_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_kw_classification_setfithead_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_kw_classification_setfithead_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_labels_per_job_title_fine_tune_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_labels_per_job_title_fine_tune_en.md new file mode 100644 index 00000000000000..ea158a4635d45a --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_labels_per_job_title_fine_tune_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_labels_per_job_title_fine_tune TFMPNetModel from marianodo +author: John Snow Labs +name: mpnet_embedding_labels_per_job_title_fine_tune +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_labels_per_job_title_fine_tune` is a English model originally trained by marianodo. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_labels_per_job_title_fine_tune_en_5.1.0_3.0_1692377349908.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_labels_per_job_title_fine_tune_en_5.1.0_3.0_1692377349908.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_labels_per_job_title_fine_tune", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_labels_per_job_title_fine_tune", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_labels_per_job_title_fine_tune| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_adaptation_mitigation_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_adaptation_mitigation_classifier_en.md new file mode 100644 index 00000000000000..a45b85dd2423ef --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_adaptation_mitigation_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_adaptation_mitigation_classifier TFMPNetModel from ppsingh +author: John Snow Labs +name: mpnet_embedding_mpnet_adaptation_mitigation_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_adaptation_mitigation_classifier` is a English model originally trained by ppsingh. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_adaptation_mitigation_classifier_en_5.1.0_3.0_1692376773609.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_adaptation_mitigation_classifier_en_5.1.0_3.0_1692376773609.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_adaptation_mitigation_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_adaptation_mitigation_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_adaptation_mitigation_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_articles_ner_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_articles_ner_en.md new file mode 100644 index 00000000000000..7804f757513786 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_articles_ner_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_base_articles_ner TFMPNetModel from evangeliazve +author: John Snow Labs +name: mpnet_embedding_mpnet_base_articles_ner +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_base_articles_ner` is a English model originally trained by evangeliazve. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_articles_ner_en_5.1.0_3.0_1692378970812.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_articles_ner_en_5.1.0_3.0_1692378970812.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_base_articles_ner", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_base_articles_ner", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_base_articles_ner| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|385.7 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_en.md new file mode 100644 index 00000000000000..e36992b8d74edd --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_base TFMPNetModel from microsoft +author: John Snow Labs +name: mpnet_embedding_mpnet_base +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_base` is a English model originally trained by microsoft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_en_5.1.0_3.0_1692377047526.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_en_5.1.0_3.0_1692377047526.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_base", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_base", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_base| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|264.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_snli_mnli_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_snli_mnli_en.md new file mode 100644 index 00000000000000..a85dd22290550b --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_base_snli_mnli_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_base_snli_mnli TFMPNetModel from symanto +author: John Snow Labs +name: mpnet_embedding_mpnet_base_snli_mnli +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_base_snli_mnli` is a English model originally trained by symanto. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_snli_mnli_en_5.1.0_3.0_1692378970961.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_base_snli_mnli_en_5.1.0_3.0_1692378970961.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_base_snli_mnli", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_base_snli_mnli", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_base_snli_mnli| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|407.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_mnr_v2_fine_tuned_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_mnr_v2_fine_tuned_en.md new file mode 100644 index 00000000000000..0292e2bfd78e0b --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_mnr_v2_fine_tuned_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_mnr_v2_fine_tuned TFMPNetModel from BlazingFringe +author: John Snow Labs +name: mpnet_embedding_mpnet_mnr_v2_fine_tuned +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_mnr_v2_fine_tuned` is a English model originally trained by BlazingFringe. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_mnr_v2_fine_tuned_en_5.1.0_3.0_1692379624059.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_mnr_v2_fine_tuned_en_5.1.0_3.0_1692379624059.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_mnr_v2_fine_tuned", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_mnr_v2_fine_tuned", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_mnr_v2_fine_tuned| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_multilabel_sector_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_multilabel_sector_classifier_en.md new file mode 100644 index 00000000000000..cbba07db508f41 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_multilabel_sector_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_multilabel_sector_classifier TFMPNetModel from ppsingh +author: John Snow Labs +name: mpnet_embedding_mpnet_multilabel_sector_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_multilabel_sector_classifier` is a English model originally trained by ppsingh. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_multilabel_sector_classifier_en_5.1.0_3.0_1692380031162.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_multilabel_sector_classifier_en_5.1.0_3.0_1692380031162.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_multilabel_sector_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_multilabel_sector_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_multilabel_sector_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_nli_sts_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_nli_sts_en.md new file mode 100644 index 00000000000000..3bd76a40198054 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_nli_sts_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_nli_sts TFMPNetModel from jamescalam +author: John Snow Labs +name: mpnet_embedding_mpnet_nli_sts +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_nli_sts` is a English model originally trained by jamescalam. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_nli_sts_en_5.1.0_3.0_1692375971185.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_nli_sts_en_5.1.0_3.0_1692375971185.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_nli_sts", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_nli_sts", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_nli_sts| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|402.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_retriever_squad2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_retriever_squad2_en.md new file mode 100644 index 00000000000000..0f10150d16b34d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_retriever_squad2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_retriever_squad2 TFMPNetModel from pinecone +author: John Snow Labs +name: mpnet_embedding_mpnet_retriever_squad2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_retriever_squad2` is a English model originally trained by pinecone. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_retriever_squad2_en_5.1.0_3.0_1692377425348.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_retriever_squad2_en_5.1.0_3.0_1692377425348.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_retriever_squad2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_retriever_squad2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_retriever_squad2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_en.md new file mode 100644 index 00000000000000..e3ffc25679bde7 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_snli TFMPNetModel from jamescalam +author: John Snow Labs +name: mpnet_embedding_mpnet_snli +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_snli` is a English model originally trained by jamescalam. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_snli_en_5.1.0_3.0_1692375412994.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_snli_en_5.1.0_3.0_1692375412994.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_snli", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_snli", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_snli| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|399.4 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_negatives_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_negatives_en.md new file mode 100644 index 00000000000000..38434753e80c99 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_mpnet_snli_negatives_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_mpnet_snli_negatives TFMPNetModel from jamescalam +author: John Snow Labs +name: mpnet_embedding_mpnet_snli_negatives +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_mpnet_snli_negatives` is a English model originally trained by jamescalam. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_snli_negatives_en_5.1.0_3.0_1692375780359.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_mpnet_snli_negatives_en_5.1.0_3.0_1692375780359.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_mpnet_snli_negatives", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_mpnet_snli_negatives", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_mpnet_snli_negatives| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|401.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A_en.md new file mode 100644 index 00000000000000..4125d55cb5e7b3 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A_en_5.1.0_3.0_1692376012864.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A_en_5.1.0_3.0_1692376012864.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_QA_v1_mpnet_asymmetric_A| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q_en.md new file mode 100644 index 00000000000000..97983765fa4b09 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q_en_5.1.0_3.0_1692376212995.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q_en_5.1.0_3.0_1692376212995.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_QA_v1_mpnet_asymmetric_Q| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_cos_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_cos_v1_en.md new file mode 100644 index 00000000000000..0fef444dd2bc79 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_cos_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_qa_mpnet_base_cos_v1 TFMPNetModel from navteca +author: John Snow Labs +name: mpnet_embedding_multi_qa_mpnet_base_cos_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_qa_mpnet_base_cos_v1` is a English model originally trained by navteca. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_cos_v1_en_5.1.0_3.0_1692377234842.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_cos_v1_en_5.1.0_3.0_1692377234842.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_qa_mpnet_base_cos_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_qa_mpnet_base_cos_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_qa_mpnet_base_cos_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass_en.md new file mode 100644 index 00000000000000..695ca8c2aefc6e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass TFMPNetModel from JoBeer +author: John Snow Labs +name: mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass` is a English model originally trained by JoBeer. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass_en_5.1.0_3.0_1692375204024.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass_en_5.1.0_3.0_1692375204024.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_qa_mpnet_base_dot_v1_eclass| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_en.md new file mode 100644 index 00000000000000..c4ff822ac63084 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_qa_mpnet_base_dot_v1 TFMPNetModel from sentence-transformers +author: John Snow Labs +name: mpnet_embedding_multi_qa_mpnet_base_dot_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_qa_mpnet_base_dot_v1` is a English model originally trained by sentence-transformers. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_en_5.1.0_3.0_1692377809432.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_en_5.1.0_3.0_1692377809432.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_qa_mpnet_base_dot_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune_en.md new file mode 100644 index 00000000000000..3af998f5f8239d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune TFMPNetModel from oliviamga2 +author: John Snow Labs +name: mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune` is a English model originally trained by oliviamga2. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune_en_5.1.0_3.0_1692376503346.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune_en_5.1.0_3.0_1692376503346.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_qa_mpnet_base_dot_v1_legal_finetune| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_v1_mpnet_cls_dot_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_v1_mpnet_cls_dot_en.md new file mode 100644 index 00000000000000..3b9b76913b6c0c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_multi_qa_v1_mpnet_cls_dot_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_multi_qa_v1_mpnet_cls_dot TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_multi_qa_v1_mpnet_cls_dot +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_multi_qa_v1_mpnet_cls_dot` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_v1_mpnet_cls_dot_en_5.1.0_3.0_1692376421210.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_multi_qa_v1_mpnet_cls_dot_en_5.1.0_3.0_1692376421210.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_multi_qa_v1_mpnet_cls_dot", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_multi_qa_v1_mpnet_cls_dot", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_multi_qa_v1_mpnet_cls_dot| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_my_awesome_setfit_model_98_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_my_awesome_setfit_model_98_en.md new file mode 100644 index 00000000000000..7960690d037bc6 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_my_awesome_setfit_model_98_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_my_awesome_setfit_model_98 TFMPNetModel from lewtun +author: John Snow Labs +name: mpnet_embedding_my_awesome_setfit_model_98 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_my_awesome_setfit_model_98` is a English model originally trained by lewtun. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_my_awesome_setfit_model_98_en_5.1.0_3.0_1692377344662.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_my_awesome_setfit_model_98_en_5.1.0_3.0_1692377344662.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_my_awesome_setfit_model_98", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_my_awesome_setfit_model_98", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_my_awesome_setfit_model_98| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_negation_categories_classifier_es.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_negation_categories_classifier_es.md new file mode 100644 index 00000000000000..9f51d4f8c362fa --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_negation_categories_classifier_es.md @@ -0,0 +1,88 @@ +--- +layout: model +title: Castilian, Spanish mpnet_embedding_negation_categories_classifier TFMPNetModel from mhammadkhan +author: John Snow Labs +name: mpnet_embedding_negation_categories_classifier +date: 2023-08-18 +tags: [mpnet, es, open_source, tensorflow] +task: Embeddings +language: es +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_negation_categories_classifier` is a Castilian, Spanish model originally trained by mhammadkhan. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_negation_categories_classifier_es_5.1.0_3.0_1692378586323.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_negation_categories_classifier_es_5.1.0_3.0_1692378586323.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_negation_categories_classifier", "es")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_negation_categories_classifier", "es") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_negation_categories_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|es| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nli_mpnet_base_v2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nli_mpnet_base_v2_en.md new file mode 100644 index 00000000000000..2fa2384a26ea39 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nli_mpnet_base_v2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_nli_mpnet_base_v2 TFMPNetModel from sentence-transformers +author: John Snow Labs +name: mpnet_embedding_nli_mpnet_base_v2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_nli_mpnet_base_v2` is a English model originally trained by sentence-transformers. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nli_mpnet_base_v2_en_5.1.0_3.0_1692377999396.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nli_mpnet_base_v2_en_5.1.0_3.0_1692377999396.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_nli_mpnet_base_v2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_nli_mpnet_base_v2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_nli_mpnet_base_v2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|408.5 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_realtime_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_realtime_en.md new file mode 100644 index 00000000000000..e025c59600e3ae --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_realtime_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_nooks_amd_detection_realtime TFMPNetModel from nikcheerla +author: John Snow Labs +name: mpnet_embedding_nooks_amd_detection_realtime +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_nooks_amd_detection_realtime` is a English model originally trained by nikcheerla. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nooks_amd_detection_realtime_en_5.1.0_3.0_1692375770246.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nooks_amd_detection_realtime_en_5.1.0_3.0_1692375770246.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_nooks_amd_detection_realtime", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_nooks_amd_detection_realtime", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_nooks_amd_detection_realtime| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_v2_full_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_v2_full_en.md new file mode 100644 index 00000000000000..dff60b46f15b81 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nooks_amd_detection_v2_full_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_nooks_amd_detection_v2_full TFMPNetModel from nikcheerla +author: John Snow Labs +name: mpnet_embedding_nooks_amd_detection_v2_full +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_nooks_amd_detection_v2_full` is a English model originally trained by nikcheerla. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nooks_amd_detection_v2_full_en_5.1.0_3.0_1692375579854.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nooks_amd_detection_v2_full_en_5.1.0_3.0_1692375579854.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_nooks_amd_detection_v2_full", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_nooks_amd_detection_v2_full", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_nooks_amd_detection_v2_full| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nps_psb_lds_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nps_psb_lds_en.md new file mode 100644 index 00000000000000..aa69e1f8dfcf36 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_nps_psb_lds_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_nps_psb_lds TFMPNetModel from nategro +author: John Snow Labs +name: mpnet_embedding_nps_psb_lds +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_nps_psb_lds` is a English model originally trained by nategro. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nps_psb_lds_en_5.1.0_3.0_1692376546159.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_nps_psb_lds_en_5.1.0_3.0_1692376546159.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_nps_psb_lds", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_nps_psb_lds", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_nps_psb_lds| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.1 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ouvrage_classif_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ouvrage_classif_en.md new file mode 100644 index 00000000000000..f17a6564e9a9e8 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_ouvrage_classif_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_ouvrage_classif TFMPNetModel from TomPWM +author: John Snow Labs +name: mpnet_embedding_ouvrage_classif +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_ouvrage_classif` is a English model originally trained by TomPWM. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ouvrage_classif_en_5.1.0_3.0_1692376002579.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_ouvrage_classif_en_5.1.0_3.0_1692376002579.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_ouvrage_classif", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_ouvrage_classif", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_ouvrage_classif| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2_en.md new file mode 100644 index 00000000000000..cf711e7af57488 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2 TFMPNetModel from moshew +author: John Snow Labs +name: mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2` is a English model originally trained by moshew. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2_en_5.1.0_3.0_1692379417527.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2_en_5.1.0_3.0_1692379417527.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_paraphrase_mpnet_base_v2_SetFit_sst2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_en.md new file mode 100644 index 00000000000000..1dabd46f84cf5d --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_paraphrase_mpnet_base_v2 TFMPNetModel from sentence-transformers +author: John Snow Labs +name: mpnet_embedding_paraphrase_mpnet_base_v2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_paraphrase_mpnet_base_v2` is a English model originally trained by sentence-transformers. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_en_5.1.0_3.0_1692378194037.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_en_5.1.0_3.0_1692378194037.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_paraphrase_mpnet_base_v2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact_en.md new file mode 100644 index 00000000000000..9b2bcf70c35b7e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact TFMPNetModel from anuj55 +author: John Snow Labs +name: mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact` is a English model originally trained by anuj55. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact_en_5.1.0_3.0_1692380188177.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact_en_5.1.0_3.0_1692380188177.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_paraphrase_mpnet_base_v2_finetuned_polifact| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher_en.md new file mode 100644 index 00000000000000..a907840a8b3cc1 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher TFMPNetModel from shahrukhx01 +author: John Snow Labs +name: mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher` is a English model originally trained by shahrukhx01. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher_en_5.1.0_3.0_1692378572822.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher_en_5.1.0_3.0_1692378572822.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_paraphrase_mpnet_base_v2_fuzzy_matcher| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_collaborators_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_collaborators_classifier_en.md new file mode 100644 index 00000000000000..8165d870dd14df --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_collaborators_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_pharo_collaborators_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_pharo_collaborators_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_pharo_collaborators_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_collaborators_classifier_en_5.1.0_3.0_1692379408752.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_collaborators_classifier_en_5.1.0_3.0_1692379408752.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_pharo_collaborators_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_pharo_collaborators_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_pharo_collaborators_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_example_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_example_classifier_en.md new file mode 100644 index 00000000000000..bd766092e29d48 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_example_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_pharo_example_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_pharo_example_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_pharo_example_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_example_classifier_en_5.1.0_3.0_1692379945273.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_example_classifier_en_5.1.0_3.0_1692379945273.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_pharo_example_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_pharo_example_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_pharo_example_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_keyimplementationpoints_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_keyimplementationpoints_classifier_en.md new file mode 100644 index 00000000000000..562a9d4725c4b4 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_keyimplementationpoints_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_pharo_keyimplementationpoints_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_pharo_keyimplementationpoints_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_pharo_keyimplementationpoints_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_keyimplementationpoints_classifier_en_5.1.0_3.0_1692378611446.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_keyimplementationpoints_classifier_en_5.1.0_3.0_1692378611446.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_pharo_keyimplementationpoints_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_pharo_keyimplementationpoints_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_pharo_keyimplementationpoints_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_responsibilities_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_responsibilities_classifier_en.md new file mode 100644 index 00000000000000..438cf2032d7ea4 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_pharo_responsibilities_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_pharo_responsibilities_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_pharo_responsibilities_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_pharo_responsibilities_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_responsibilities_classifier_en_5.1.0_3.0_1692380147031.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_pharo_responsibilities_classifier_en_5.1.0_3.0_1692380147031.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_pharo_responsibilities_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_pharo_responsibilities_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_pharo_responsibilities_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_developmentnotes_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_developmentnotes_classifier_en.md new file mode 100644 index 00000000000000..26b9499d6f8e78 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_developmentnotes_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_python_developmentnotes_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_python_developmentnotes_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_python_developmentnotes_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_developmentnotes_classifier_en_5.1.0_3.0_1692378408726.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_developmentnotes_classifier_en_5.1.0_3.0_1692378408726.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_python_developmentnotes_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_python_developmentnotes_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_python_developmentnotes_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_expand_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_expand_classifier_en.md new file mode 100644 index 00000000000000..f8cc83dd2a7bec --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_expand_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_python_expand_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_python_expand_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_python_expand_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_expand_classifier_en_5.1.0_3.0_1692379201526.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_expand_classifier_en_5.1.0_3.0_1692379201526.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_python_expand_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_python_expand_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_python_expand_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_parameters_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_parameters_classifier_en.md new file mode 100644 index 00000000000000..be0de6ecbc3a87 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_parameters_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_python_parameters_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_python_parameters_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_python_parameters_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_parameters_classifier_en_5.1.0_3.0_1692379002867.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_parameters_classifier_en_5.1.0_3.0_1692379002867.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_python_parameters_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_python_parameters_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_python_parameters_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_summary_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_summary_classifier_en.md new file mode 100644 index 00000000000000..593f49cd16d450 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_summary_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_python_summary_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_python_summary_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_python_summary_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_summary_classifier_en_5.1.0_3.0_1692378198075.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_summary_classifier_en_5.1.0_3.0_1692378198075.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_python_summary_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_python_summary_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_python_summary_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_usage_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_usage_classifier_en.md new file mode 100644 index 00000000000000..204d72ddf8deb7 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_python_usage_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_python_usage_classifier TFMPNetModel from AISE-TUDelft +author: John Snow Labs +name: mpnet_embedding_python_usage_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_python_usage_classifier` is a English model originally trained by AISE-TUDelft. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_usage_classifier_en_5.1.0_3.0_1692379761686.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_python_usage_classifier_en_5.1.0_3.0_1692379761686.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_python_usage_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_python_usage_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_python_usage_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_reddit_single_context_mpnet_base_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_reddit_single_context_mpnet_base_en.md new file mode 100644 index 00000000000000..855c12b30641ce --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_reddit_single_context_mpnet_base_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_reddit_single_context_mpnet_base TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_reddit_single_context_mpnet_base +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_reddit_single_context_mpnet_base` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_reddit_single_context_mpnet_base_en_5.1.0_3.0_1692376625049.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_reddit_single_context_mpnet_base_en_5.1.0_3.0_1692376625049.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_reddit_single_context_mpnet_base", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_reddit_single_context_mpnet_base", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_reddit_single_context_mpnet_base| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.5 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_retriever_coding_guru_adapted_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_retriever_coding_guru_adapted_en.md new file mode 100644 index 00000000000000..89c4d76b6d7c89 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_retriever_coding_guru_adapted_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_retriever_coding_guru_adapted TFMPNetModel from AlekseyKorshuk +author: John Snow Labs +name: mpnet_embedding_retriever_coding_guru_adapted +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_retriever_coding_guru_adapted` is a English model originally trained by AlekseyKorshuk. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_retriever_coding_guru_adapted_en_5.1.0_3.0_1692378566998.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_retriever_coding_guru_adapted_en_5.1.0_3.0_1692378566998.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_retriever_coding_guru_adapted", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_retriever_coding_guru_adapted", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_retriever_coding_guru_adapted| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_intent_20230116_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_intent_20230116_en.md new file mode 100644 index 00000000000000..9c09ccabbc29b2 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_intent_20230116_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_review_intent_20230116 TFMPNetModel from meichen91 +author: John Snow Labs +name: mpnet_embedding_review_intent_20230116 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_review_intent_20230116` is a English model originally trained by meichen91. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_review_intent_20230116_en_5.1.0_3.0_1692376123645.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_review_intent_20230116_en_5.1.0_3.0_1692376123645.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_review_intent_20230116", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_review_intent_20230116", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_review_intent_20230116| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_multiclass_20230116_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_multiclass_20230116_en.md new file mode 100644 index 00000000000000..e6ea0df2da10da --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_review_multiclass_20230116_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_review_multiclass_20230116 TFMPNetModel from meichen91 +author: John Snow Labs +name: mpnet_embedding_review_multiclass_20230116 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_review_multiclass_20230116` is a English model originally trained by meichen91. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_review_multiclass_20230116_en_5.1.0_3.0_1692376308718.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_review_multiclass_20230116_en_5.1.0_3.0_1692376308718.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_review_multiclass_20230116", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_review_multiclass_20230116", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_review_multiclass_20230116| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sb_temfac_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sb_temfac_en.md new file mode 100644 index 00000000000000..68f0ceefd347ff --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sb_temfac_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sb_temfac TFMPNetModel from stealthpy +author: John Snow Labs +name: mpnet_embedding_sb_temfac +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sb_temfac` is a English model originally trained by stealthpy. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sb_temfac_en_5.1.0_3.0_1692375226093.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sb_temfac_en_5.1.0_3.0_1692375226093.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sb_temfac", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sb_temfac", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sb_temfac| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.3 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sbert_paper_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sbert_paper_en.md new file mode 100644 index 00000000000000..18d08e2a8164b7 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sbert_paper_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sbert_paper TFMPNetModel from salsabiilashifa11 +author: John Snow Labs +name: mpnet_embedding_sbert_paper +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sbert_paper` is a English model originally trained by salsabiilashifa11. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sbert_paper_en_5.1.0_3.0_1692377968134.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sbert_paper_en_5.1.0_3.0_1692377968134.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sbert_paper", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sbert_paper", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sbert_paper| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sentence_transformers_bible_reference_final_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sentence_transformers_bible_reference_final_en.md new file mode 100644 index 00000000000000..3e8320dc7970f0 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sentence_transformers_bible_reference_final_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sentence_transformers_bible_reference_final TFMPNetModel from odunola +author: John Snow Labs +name: mpnet_embedding_sentence_transformers_bible_reference_final +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sentence_transformers_bible_reference_final` is a English model originally trained by odunola. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sentence_transformers_bible_reference_final_en_5.1.0_3.0_1692376207996.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sentence_transformers_bible_reference_final_en_5.1.0_3.0_1692376207996.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sentence_transformers_bible_reference_final", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sentence_transformers_bible_reference_final", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sentence_transformers_bible_reference_final| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ag_news_endpoint_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ag_news_endpoint_en.md new file mode 100644 index 00000000000000..ca5b5626b0dff0 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ag_news_endpoint_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ag_news_endpoint TFMPNetModel from philschmid +author: John Snow Labs +name: mpnet_embedding_setfit_ag_news_endpoint +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ag_news_endpoint` is a English model originally trained by philschmid. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ag_news_endpoint_en_5.1.0_3.0_1692377945921.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ag_news_endpoint_en_5.1.0_3.0_1692377945921.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ag_news_endpoint", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ag_news_endpoint", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ag_news_endpoint| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection_es.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection_es.md new file mode 100644 index 00000000000000..fba091d7f83686 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection_es.md @@ -0,0 +1,88 @@ +--- +layout: model +title: Castilian, Spanish mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection TFMPNetModel from hackathon-somos-nlp-2023 +author: John Snow Labs +name: mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection +date: 2023-08-18 +tags: [mpnet, es, open_source, tensorflow] +task: Embeddings +language: es +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection` is a Castilian, Spanish model originally trained by hackathon-somos-nlp-2023. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection_es_5.1.0_3.0_1692376401533.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection_es_5.1.0_3.0_1692376401533.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection", "es")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection", "es") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_alpaca_es_unprocessable_sample_detection| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|es| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_1_en.md new file mode 100644 index 00000000000000..cbbc3cf09bd754 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ds_version_0_0_1 TFMPNetModel from amittian +author: John Snow Labs +name: mpnet_embedding_setfit_ds_version_0_0_1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ds_version_0_0_1` is a English model originally trained by amittian. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_1_en_5.1.0_3.0_1692377361480.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_1_en_5.1.0_3.0_1692377361480.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ds_version_0_0_1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ds_version_0_0_1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ds_version_0_0_1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_2_en.md new file mode 100644 index 00000000000000..5472a869b11882 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ds_version_0_0_2 TFMPNetModel from amittian +author: John Snow Labs +name: mpnet_embedding_setfit_ds_version_0_0_2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ds_version_0_0_2` is a English model originally trained by amittian. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_2_en_5.1.0_3.0_1692377560015.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_2_en_5.1.0_3.0_1692377560015.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ds_version_0_0_2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ds_version_0_0_2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ds_version_0_0_2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_4_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_4_en.md new file mode 100644 index 00000000000000..77367c287800e2 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_4_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ds_version_0_0_4 TFMPNetModel from amittian +author: John Snow Labs +name: mpnet_embedding_setfit_ds_version_0_0_4 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ds_version_0_0_4` is a English model originally trained by amittian. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_4_en_5.1.0_3.0_1692377962339.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_4_en_5.1.0_3.0_1692377962339.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ds_version_0_0_4", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ds_version_0_0_4", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ds_version_0_0_4| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_5_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_5_en.md new file mode 100644 index 00000000000000..f16927af381d81 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ds_version_0_0_5_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ds_version_0_0_5 TFMPNetModel from amittian +author: John Snow Labs +name: mpnet_embedding_setfit_ds_version_0_0_5 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ds_version_0_0_5` is a English model originally trained by amittian. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_5_en_5.1.0_3.0_1692378155593.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ds_version_0_0_5_en_5.1.0_3.0_1692378155593.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ds_version_0_0_5", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ds_version_0_0_5", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ds_version_0_0_5| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ethos_multilabel_example_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ethos_multilabel_example_en.md new file mode 100644 index 00000000000000..b7cfc9b51ed4f0 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ethos_multilabel_example_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ethos_multilabel_example TFMPNetModel from neilthematic +author: John Snow Labs +name: mpnet_embedding_setfit_ethos_multilabel_example +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ethos_multilabel_example` is a English model originally trained by neilthematic. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ethos_multilabel_example_en_5.1.0_3.0_1692376693736.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ethos_multilabel_example_en_5.1.0_3.0_1692376693736.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ethos_multilabel_example", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ethos_multilabel_example", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ethos_multilabel_example| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_finetuned_financial_text_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_finetuned_financial_text_en.md new file mode 100644 index 00000000000000..c7be99ee2518be --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_finetuned_financial_text_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_finetuned_financial_text TFMPNetModel from nickmuchi +author: John Snow Labs +name: mpnet_embedding_setfit_finetuned_financial_text +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_finetuned_financial_text` is a English model originally trained by nickmuchi. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_finetuned_financial_text_en_5.1.0_3.0_1692376937069.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_finetuned_financial_text_en_5.1.0_3.0_1692376937069.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_finetuned_financial_text", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_finetuned_financial_text", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_finetuned_financial_text| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ft_sentinent_eval_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ft_sentinent_eval_en.md new file mode 100644 index 00000000000000..307710ac9c639c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ft_sentinent_eval_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ft_sentinent_eval TFMPNetModel from StatsGary +author: John Snow Labs +name: mpnet_embedding_setfit_ft_sentinent_eval +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ft_sentinent_eval` is a English model originally trained by StatsGary. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ft_sentinent_eval_en_5.1.0_3.0_1692381718097.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ft_sentinent_eval_en_5.1.0_3.0_1692381718097.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ft_sentinent_eval", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ft_sentinent_eval", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ft_sentinent_eval| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law_en.md new file mode 100644 index 00000000000000..974c24d3f389a1 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law TFMPNetModel from mitra-mir +author: John Snow Labs +name: mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law` is a English model originally trained by mitra-mir. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law_en_5.1.0_3.0_1692381563585.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law_en_5.1.0_3.0_1692381563585.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_model_Feb11_Misinformation_on_Law| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_en.md new file mode 100644 index 00000000000000..c3727f9548b043 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_model TFMPNetModel from Pradipta11 +author: John Snow Labs +name: mpnet_embedding_setfit_model +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_model` is a English model originally trained by Pradipta11. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_en_5.1.0_3.0_1692377155690.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_en_5.1.0_3.0_1692377155690.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_model", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_model", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_model| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_test_sensitve_v1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_test_sensitve_v1_en.md new file mode 100644 index 00000000000000..3b85c67565ca9c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_model_test_sensitve_v1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_model_test_sensitve_v1 TFMPNetModel from Adipta +author: John Snow Labs +name: mpnet_embedding_setfit_model_test_sensitve_v1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_model_test_sensitve_v1` is a English model originally trained by Adipta. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_test_sensitve_v1_en_5.1.0_3.0_1692377739573.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_model_test_sensitve_v1_en_5.1.0_3.0_1692377739573.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_model_test_sensitve_v1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_model_test_sensitve_v1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_model_test_sensitve_v1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_occupation_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_occupation_en.md new file mode 100644 index 00000000000000..2e3bd0d8051043 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_occupation_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_occupation TFMPNetModel from ivanzidov +author: John Snow Labs +name: mpnet_embedding_setfit_occupation +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_occupation` is a English model originally trained by ivanzidov. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_occupation_en_5.1.0_3.0_1692378365223.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_occupation_en_5.1.0_3.0_1692378365223.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_occupation", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_occupation", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_occupation| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ostrom_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ostrom_en.md new file mode 100644 index 00000000000000..1a08532fca1bbf --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_ostrom_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_ostrom TFMPNetModel from mahaswec +author: John Snow Labs +name: mpnet_embedding_setfit_ostrom +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_ostrom` is a English model originally trained by mahaswec. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ostrom_en_5.1.0_3.0_1692380969725.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_ostrom_en_5.1.0_3.0_1692380969725.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_ostrom", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_ostrom", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_ostrom| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm_en.md new file mode 100644 index 00000000000000..5db33b416ff729 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm_en_5.1.0_3.0_1692376886552.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm_en_5.1.0_3.0_1692376886552.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_comm| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_en.md new file mode 100644 index 00000000000000..19754dca56e6e9 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p1 TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p1 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p1` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_en_5.1.0_3.0_1692379514816.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_en_5.1.0_3.0_1692379514816.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p1| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life_en.md new file mode 100644 index 00000000000000..0f0182c48d53ec --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life_en_5.1.0_3.0_1692377068378.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life_en_5.1.0_3.0_1692377068378.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_life| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes_en.md new file mode 100644 index 00000000000000..0947769eab496e --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes_en_5.1.0_3.0_1692380337188.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes_en_5.1.0_3.0_1692380337188.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p1_likes| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr_en.md new file mode 100644 index 00000000000000..93bf47a1c3ee14 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr_en_5.1.0_3.0_1692379700885.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr_en_5.1.0_3.0_1692379700885.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_bhvr| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons_en.md new file mode 100644 index 00000000000000..5df40d6706c611 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons_en_5.1.0_3.0_1692380608777.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons_en_5.1.0_3.0_1692380608777.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_cons| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur_en.md new file mode 100644 index 00000000000000..3a1faacf91fbd8 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur_en_5.1.0_3.0_1692379876045.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur_en_5.1.0_3.0_1692379876045.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_dur| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func_en.md new file mode 100644 index 00000000000000..5f32be3634d7a6 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func_en_5.1.0_3.0_1692375940356.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func_en_5.1.0_3.0_1692375940356.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_func| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev_en.md new file mode 100644 index 00000000000000..a1f5ae7929e72f --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev_en_5.1.0_3.0_1692378917103.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev_en_5.1.0_3.0_1692378917103.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_sev| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig_en.md new file mode 100644 index 00000000000000..3313b45dd2c604 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig_en_5.1.0_3.0_1692380258211.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig_en_5.1.0_3.0_1692380258211.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p3_trig| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev_en.md new file mode 100644 index 00000000000000..53892db8c8776f --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev_en_5.1.0_3.0_1692381069742.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev_en_5.1.0_3.0_1692381069742.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_achiev| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas_en.md new file mode 100644 index 00000000000000..7110724a94f6a0 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas_en_5.1.0_3.0_1692380894097.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas_en_5.1.0_3.0_1692380894097.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_meas| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel_en.md new file mode 100644 index 00000000000000..a8557c91ea2a95 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel_en_5.1.0_3.0_1692381228140.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel_en_5.1.0_3.0_1692381228140.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_rel| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific_en.md new file mode 100644 index 00000000000000..3d90d68f5ef02c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific_en_5.1.0_3.0_1692380711935.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific_en_5.1.0_3.0_1692380711935.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_specific| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time_en.md new file mode 100644 index 00000000000000..e9217efceb9876 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time_en_5.1.0_3.0_1692381391509.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time_en_5.1.0_3.0_1692381391509.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_p4_time| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35_en.md new file mode 100644 index 00000000000000..a7c5b427ca0860 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35 TFMPNetModel from aammari +author: John Snow Labs +name: mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35` is a English model originally trained by aammari. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35_en_5.1.0_3.0_1692381310055.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35_en_5.1.0_3.0_1692381310055.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_setfit_zero_shot_classification_pbsp_q8a_azure_gpt35| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_message_classifier_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_message_classifier_en.md new file mode 100644 index 00000000000000..3b7865654bb278 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_message_classifier_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sml_ukr_message_classifier TFMPNetModel from rodekruis +author: John Snow Labs +name: mpnet_embedding_sml_ukr_message_classifier +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sml_ukr_message_classifier` is a English model originally trained by rodekruis. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sml_ukr_message_classifier_en_5.1.0_3.0_1692375430011.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sml_ukr_message_classifier_en_5.1.0_3.0_1692375430011.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sml_ukr_message_classifier", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sml_ukr_message_classifier", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sml_ukr_message_classifier| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_word_classifier_medium_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_word_classifier_medium_en.md new file mode 100644 index 00000000000000..3e9a6c880b2e29 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sml_ukr_word_classifier_medium_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sml_ukr_word_classifier_medium TFMPNetModel from rodekruis +author: John Snow Labs +name: mpnet_embedding_sml_ukr_word_classifier_medium +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sml_ukr_word_classifier_medium` is a English model originally trained by rodekruis. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sml_ukr_word_classifier_medium_en_5.1.0_3.0_1692377549620.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sml_ukr_word_classifier_medium_en_5.1.0_3.0_1692377549620.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sml_ukr_word_classifier_medium", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sml_ukr_word_classifier_medium", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sml_ukr_word_classifier_medium| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sn_mpnet_base_snli_mnli_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sn_mpnet_base_snli_mnli_en.md new file mode 100644 index 00000000000000..cf40cbaaf3d291 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_sn_mpnet_base_snli_mnli_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_sn_mpnet_base_snli_mnli TFMPNetModel from symanto +author: John Snow Labs +name: mpnet_embedding_sn_mpnet_base_snli_mnli +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_sn_mpnet_base_snli_mnli` is a English model originally trained by symanto. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sn_mpnet_base_snli_mnli_en_5.1.0_3.0_1692379153696.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_sn_mpnet_base_snli_mnli_en_5.1.0_3.0_1692379153696.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_sn_mpnet_base_snli_mnli", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_sn_mpnet_base_snli_mnli", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_sn_mpnet_base_snli_mnli| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_spiced_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_spiced_en.md new file mode 100644 index 00000000000000..d7339e83a36d92 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_spiced_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_spiced TFMPNetModel from copenlu +author: John Snow Labs +name: mpnet_embedding_spiced +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_spiced` is a English model originally trained by copenlu. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_spiced_en_5.1.0_3.0_1692376162204.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_spiced_en_5.1.0_3.0_1692376162204.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_spiced", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_spiced", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_spiced| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stackoverflow_mpnet_base_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stackoverflow_mpnet_base_en.md new file mode 100644 index 00000000000000..5d7166fa502413 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stackoverflow_mpnet_base_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_stackoverflow_mpnet_base TFMPNetModel from flax-sentence-embeddings +author: John Snow Labs +name: mpnet_embedding_stackoverflow_mpnet_base +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_stackoverflow_mpnet_base` is a English model originally trained by flax-sentence-embeddings. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_stackoverflow_mpnet_base_en_5.1.0_3.0_1692376811146.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_stackoverflow_mpnet_base_en_5.1.0_3.0_1692376811146.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_stackoverflow_mpnet_base", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_stackoverflow_mpnet_base", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_stackoverflow_mpnet_base| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.5 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stsb_mpnet_base_v2_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stsb_mpnet_base_v2_en.md new file mode 100644 index 00000000000000..e3776e0d3da104 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_stsb_mpnet_base_v2_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_stsb_mpnet_base_v2 TFMPNetModel from sentence-transformers +author: John Snow Labs +name: mpnet_embedding_stsb_mpnet_base_v2 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_stsb_mpnet_base_v2` is a English model originally trained by sentence-transformers. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_stsb_mpnet_base_v2_en_5.1.0_3.0_1692378378354.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_stsb_mpnet_base_v2_en_5.1.0_3.0_1692378378354.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_stsb_mpnet_base_v2", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_stsb_mpnet_base_v2", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_stsb_mpnet_base_v2| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|408.6 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_food_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_food_en.md new file mode 100644 index 00000000000000..dddc714dce2a1b --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_food_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_test_food TFMPNetModel from Linus4Lyf +author: John Snow Labs +name: mpnet_embedding_test_food +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_test_food` is a English model originally trained by Linus4Lyf. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_test_food_en_5.1.0_3.0_1692378151159.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_test_food_en_5.1.0_3.0_1692378151159.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_test_food", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_test_food", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_test_food| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.9 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_model_001_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_model_001_en.md new file mode 100644 index 00000000000000..0507ba529141ac --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_test_model_001_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_test_model_001 TFMPNetModel from intellya22 +author: John Snow Labs +name: mpnet_embedding_test_model_001 +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_test_model_001` is a English model originally trained by intellya22. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_test_model_001_en_5.1.0_3.0_1692380796219.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_test_model_001_en_5.1.0_3.0_1692380796219.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_test_model_001", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_test_model_001", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_test_model_001| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|410.0 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForMaskedLM_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForMaskedLM_en.md new file mode 100644 index 00000000000000..cce037ebd52a24 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForMaskedLM_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_tiny_random_MPNetForMaskedLM TFMPNetModel from hf-tiny-model-private +author: John Snow Labs +name: mpnet_embedding_tiny_random_MPNetForMaskedLM +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_tiny_random_MPNetForMaskedLM` is a English model originally trained by hf-tiny-model-private. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForMaskedLM_en_5.1.0_3.0_1692375647237.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForMaskedLM_en_5.1.0_3.0_1692375647237.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_tiny_random_MPNetForMaskedLM", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_tiny_random_MPNetForMaskedLM", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_tiny_random_MPNetForMaskedLM| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|1.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForQuestionAnswering_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForQuestionAnswering_en.md new file mode 100644 index 00000000000000..0eb1f3d76262ee --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForQuestionAnswering_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_tiny_random_MPNetForQuestionAnswering TFMPNetModel from hf-tiny-model-private +author: John Snow Labs +name: mpnet_embedding_tiny_random_MPNetForQuestionAnswering +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_tiny_random_MPNetForQuestionAnswering` is a English model originally trained by hf-tiny-model-private. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForQuestionAnswering_en_5.1.0_3.0_1692375853395.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForQuestionAnswering_en_5.1.0_3.0_1692375853395.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_tiny_random_MPNetForQuestionAnswering", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_tiny_random_MPNetForQuestionAnswering", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_tiny_random_MPNetForQuestionAnswering| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|1.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForSequenceClassification_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForSequenceClassification_en.md new file mode 100644 index 00000000000000..e04ecbb65945f0 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForSequenceClassification_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_tiny_random_MPNetForSequenceClassification TFMPNetModel from hf-tiny-model-private +author: John Snow Labs +name: mpnet_embedding_tiny_random_MPNetForSequenceClassification +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_tiny_random_MPNetForSequenceClassification` is a English model originally trained by hf-tiny-model-private. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForSequenceClassification_en_5.1.0_3.0_1692375973996.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForSequenceClassification_en_5.1.0_3.0_1692375973996.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_tiny_random_MPNetForSequenceClassification", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_tiny_random_MPNetForSequenceClassification", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_tiny_random_MPNetForSequenceClassification| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|1.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForTokenClassification_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForTokenClassification_en.md new file mode 100644 index 00000000000000..095e0d6663c917 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetForTokenClassification_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_tiny_random_MPNetForTokenClassification TFMPNetModel from hf-tiny-model-private +author: John Snow Labs +name: mpnet_embedding_tiny_random_MPNetForTokenClassification +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_tiny_random_MPNetForTokenClassification` is a English model originally trained by hf-tiny-model-private. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForTokenClassification_en_5.1.0_3.0_1692376082863.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetForTokenClassification_en_5.1.0_3.0_1692376082863.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_tiny_random_MPNetForTokenClassification", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_tiny_random_MPNetForTokenClassification", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_tiny_random_MPNetForTokenClassification| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|1.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetModel_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetModel_en.md new file mode 100644 index 00000000000000..e8fe17dafa897c --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_tiny_random_MPNetModel_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_tiny_random_MPNetModel TFMPNetModel from hf-tiny-model-private +author: John Snow Labs +name: mpnet_embedding_tiny_random_MPNetModel +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_tiny_random_MPNetModel` is a English model originally trained by hf-tiny-model-private. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetModel_en_5.1.0_3.0_1692376215032.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_tiny_random_MPNetModel_en_5.1.0_3.0_1692376215032.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_tiny_random_MPNetModel", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_tiny_random_MPNetModel", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_tiny_random_MPNetModel| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|1.2 MB| \ No newline at end of file diff --git a/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_vulnerable_groups_en.md b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_vulnerable_groups_en.md new file mode 100644 index 00000000000000..928e15998a7590 --- /dev/null +++ b/docs/_posts/ahmedlone127/2023-08-18-mpnet_embedding_vulnerable_groups_en.md @@ -0,0 +1,88 @@ +--- +layout: model +title: English mpnet_embedding_vulnerable_groups TFMPNetModel from leavoigt +author: John Snow Labs +name: mpnet_embedding_vulnerable_groups +date: 2023-08-18 +tags: [mpnet, en, open_source, tensorflow] +task: Embeddings +language: en +edition: Spark NLP 5.1.0 +spark_version: 3.0 +supported: true +engine: tensorflow +annotator: MPNetEmbeddings +article_header: + type: cover +use_language_switcher: "Python-Scala-Java" +--- + +## Description + +Pretrained mpnet model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`mpnet_embedding_vulnerable_groups` is a English model originally trained by leavoigt. + +{:.btn-box} + + +[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mpnet_embedding_vulnerable_groups_en_5.1.0_3.0_1692377757868.zip){:.button.button-orange.button-orange-trans.arr.button-icon} +[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mpnet_embedding_vulnerable_groups_en_5.1.0_3.0_1692377757868.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3} + +## How to use + + + +
+{% include programmingLanguageSelectScalaPythonNLU.html %} +```python + +document_assembler = DocumentAssembler() \ + .setInputCol("text") \ + .setOutputCol("documents") + +instruction = MPNetEmbeddings \ + .pretrained("mpnet_embedding_vulnerable_groups", "en")\ + .setInputCols(["documents"]) \ + .setOutputCol("mpnet_embeddings") + +pipeline = Pipeline(stages=[ + document_assembler, + instruction, +]) + +pipelineModel = pipeline.fit(data) + +pipelineDF = pipelineModel.transform(data) +``` +```scala + +val document_assembler = new DocumentAssembler() + .setInputCol("text") + .setOutputCol("documents") + +val instruction = MPNetEmbeddings + .pretrained("mpnet_embedding_vulnerable_groups", "en") + .setInputCols(Array("documents")) + .setOutputCol("mpnet_embeddings") + +val pipeline = new Pipeline().setStages(Array(document_assembler, instruction)) + +val pipelineModel = pipeline.fit(data) + +val pipelineDF = pipelineModel.transform(data) + +``` +
+ +{:.model-param} +## Model Information + +{:.table-model} +|---|---| +|Model Name:|mpnet_embedding_vulnerable_groups| +|Compatibility:|Spark NLP 5.1.0+| +|License:|Open Source| +|Edition:|Official| +|Input Labels:|[documents]| +|Output Labels:|[mpnet_embeddings]| +|Language:|en| +|Size:|409.8 MB| \ No newline at end of file