From 770d5c045098cf79a6ed2431f9adf850fe0c4e4c Mon Sep 17 00:00:00 2001 From: ahmedlone127 Date: Sat, 2 Sep 2023 13:05:15 +0500 Subject: [PATCH] fixing modelhub cards (#13952) * fixing modelhub cards * removing extra folder * Update 2023-08-02-albert_base_uncased_quantized_en.md --- ...bert_embeddings_distilbert_base_german_cased_opt_de.md | 6 +++--- ...mbeddings_distilbert_base_german_cased_quantized_de.md | 6 +++--- .../ahmedlone127/2023-08-01-camembert_base_opt_fr.md | 6 +++--- .../2023-08-01-camembert_base_quantized_fr.md | 6 +++--- .../ahmedlone127/2023-08-02-albert_base_uncased_opt_en.md | 6 +++--- .../2023-08-02-albert_base_uncased_quantized_en.md | 8 ++++---- .../2023-08-02-albert_large_uncased_opt_en.md | 6 +++--- .../2023-08-02-albert_large_uncased_quantized_en.md | 6 +++--- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_opt_de.md b/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_opt_de.md index 381873114ba53c..db910c06c507f1 100644 --- a/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_opt_de.md +++ b/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_opt_de.md @@ -1,6 +1,6 @@ --- layout: model -title: German DistilBERT Embeddings +title: German DistilBERT Embeddings Optimized author: John Snow Labs name: distilbert_embeddings_distilbert_base_german_cased_opt date: 2023-06-28 @@ -48,7 +48,7 @@ tokenizer = Tokenizer() \ .setInputCols("document") \ .setOutputCol("token") -embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased","de") \ +embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased_opt","de") \ .setInputCols(["document", "token"]) \ .setOutputCol("embeddings") @@ -67,7 +67,7 @@ val tokenizer = new Tokenizer() .setInputCols(Array("document")) .setOutputCol("token") -val embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased","de") +val embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased_opt","de") .setInputCols(Array("document", "token")) .setOutputCol("embeddings") diff --git a/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_quantized_de.md b/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_quantized_de.md index 7798f1e06d0585..acff66df5ffd6e 100644 --- a/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_quantized_de.md +++ b/docs/_posts/ahmedlone127/2023-06-28-distilbert_embeddings_distilbert_base_german_cased_quantized_de.md @@ -1,6 +1,6 @@ --- layout: model -title: German DistilBERT Embeddings +title: German DistilBERT Embeddings Quantized author: John Snow Labs name: distilbert_embeddings_distilbert_base_german_cased_quantized date: 2023-06-28 @@ -48,7 +48,7 @@ tokenizer = Tokenizer() \ .setInputCols("document") \ .setOutputCol("token") -embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased","de") \ +embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased_quantized","de") \ .setInputCols(["document", "token"]) \ .setOutputCol("embeddings") @@ -67,7 +67,7 @@ val tokenizer = new Tokenizer() .setInputCols(Array("document")) .setOutputCol("token") -val embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased","de") +val embeddings = DistilBertEmbeddings.pretrained("distilbert_embeddings_distilbert_base_german_cased_quantized","de") .setInputCols(Array("document", "token")) .setOutputCol("embeddings") diff --git a/docs/_posts/ahmedlone127/2023-08-01-camembert_base_opt_fr.md b/docs/_posts/ahmedlone127/2023-08-01-camembert_base_opt_fr.md index 0f0f64d821060b..df6d61c397e1c3 100644 --- a/docs/_posts/ahmedlone127/2023-08-01-camembert_base_opt_fr.md +++ b/docs/_posts/ahmedlone127/2023-08-01-camembert_base_opt_fr.md @@ -1,6 +1,6 @@ --- layout: model -title: CamemBERT Base Model +title: CamemBERT Base Model Optimized author: John Snow Labs name: camembert_base_opt date: 2023-08-01 @@ -39,12 +39,12 @@ For further information or requests, please go to [Camembert Website](https://ca
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = CamemBertEmbeddings.pretrained("camembert_base", "fr") \ +embeddings = CamemBertEmbeddings.pretrained("camembert_base_opt", "fr") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = CamemBertEmbeddings.pretrained("camembert_base", "fr") +val embeddings = CamemBertEmbeddings.pretrained("camembert_base_opt", "fr") .setInputCols("sentence", "token") .setOutputCol("embeddings") ``` diff --git a/docs/_posts/ahmedlone127/2023-08-01-camembert_base_quantized_fr.md b/docs/_posts/ahmedlone127/2023-08-01-camembert_base_quantized_fr.md index 64850ca0c2d212..a6da521f24c82d 100644 --- a/docs/_posts/ahmedlone127/2023-08-01-camembert_base_quantized_fr.md +++ b/docs/_posts/ahmedlone127/2023-08-01-camembert_base_quantized_fr.md @@ -1,6 +1,6 @@ --- layout: model -title: CamemBERT Base Model +title: CamemBERT Base Model Quantized author: John Snow Labs name: camembert_base_quantized date: 2023-08-01 @@ -39,12 +39,12 @@ For further information or requests, please go to [Camembert Website](https://ca
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = CamemBertEmbeddings.pretrained("camembert_base", "fr") \ +embeddings = CamemBertEmbeddings.pretrained("camembert_base_quantized", "fr") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = CamemBertEmbeddings.pretrained("camembert_base", "fr") +val embeddings = CamemBertEmbeddings.pretrained("camembert_base_quantized", "fr") .setInputCols("sentence", "token") .setOutputCol("embeddings") ``` diff --git a/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_opt_en.md b/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_opt_en.md index 21794c5b8aa379..f92a5c23378702 100644 --- a/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_opt_en.md +++ b/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_opt_en.md @@ -1,6 +1,6 @@ --- layout: model -title: ALBERT Embeddings (Base Uncase) +title: ALBERT Embeddings (Base Uncase) Optimized author: John Snow Labs name: albert_base_uncased_opt date: 2023-08-02 @@ -38,12 +38,12 @@ ALBERT is "A Lite" version of BERT, a popular unsupervised language representati
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = AlbertEmbeddings.pretrained("albert_base_uncased", "en") \ +embeddings = AlbertEmbeddings.pretrained("albert_base_uncased_opt", "en") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = AlbertEmbeddings.pretrained("albert_base_uncased", "en") +val embeddings = AlbertEmbeddings.pretrained("albert_base_uncased_opt", "en") .setInputCols("sentence", "token") .setOutputCol("embeddings") ``` diff --git a/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_quantized_en.md b/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_quantized_en.md index 1f373a267014d1..b96536dbb32f91 100644 --- a/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_quantized_en.md +++ b/docs/_posts/ahmedlone127/2023-08-02-albert_base_uncased_quantized_en.md @@ -1,6 +1,6 @@ --- layout: model -title: ALBERT Embeddings (Base Uncase) +title: ALBERT Embeddings (Base Uncase) Quantized author: John Snow Labs name: albert_base_uncased_quantized date: 2023-08-02 @@ -38,12 +38,12 @@ ALBERT is "A Lite" version of BERT, a popular unsupervised language representati
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = AlbertEmbeddings.pretrained("albert_base_uncased", "en") \ +embeddings = AlbertEmbeddings.pretrained("albert_base_uncased_quantized", "en") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = AlbertEmbeddings.pretrained("albert_base_uncased", "en") +val embeddings = AlbertEmbeddings.pretrained("albert_base_uncased_quantized", "en") .setInputCols("sentence", "token") .setOutputCol("embeddings") ``` @@ -75,4 +75,4 @@ embeddings_df ## References -[https://huggingface.co/albert-base-v2](https://huggingface.co/albert-base-v2) \ No newline at end of file +[https://huggingface.co/albert-base-v2](https://huggingface.co/albert-base-v2) diff --git a/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_opt_en.md b/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_opt_en.md index 53d69c5d209c22..cb24f43fd9d38c 100644 --- a/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_opt_en.md +++ b/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_opt_en.md @@ -1,6 +1,6 @@ --- layout: model -title: ALBERT Embeddings (Large Uncase) +title: ALBERT Embeddings (Large Uncase) Optimized author: John Snow Labs name: albert_large_uncased_opt date: 2023-08-02 @@ -38,12 +38,12 @@ ALBERT is "A Lite" version of BERT, a popular unsupervised language representati
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = AlbertEmbeddings.pretrained("albert_large_uncased", "en") \ +embeddings = AlbertEmbeddings.pretrained("albert_large_uncased_opt", "en") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = AlbertEmbeddings.pretrained("albert_large_uncased", "en") +val embeddings = AlbertEmbeddings.pretrained("albert_large_uncased_opt", "en") .setInputCols("sentence", "token") .setOutputCol("embeddings") ``` diff --git a/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_quantized_en.md b/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_quantized_en.md index 0e7cdcec3cac9a..0d639b13be44b7 100644 --- a/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_quantized_en.md +++ b/docs/_posts/ahmedlone127/2023-08-02-albert_large_uncased_quantized_en.md @@ -1,6 +1,6 @@ --- layout: model -title: ALBERT Embeddings (Large Uncase) +title: ALBERT Embeddings (Large Uncase) Quantized author: John Snow Labs name: albert_large_uncased_quantized date: 2023-08-02 @@ -38,12 +38,12 @@ ALBERT is "A Lite" version of BERT, a popular unsupervised language representati
{% include programmingLanguageSelectScalaPythonNLU.html %} ```python -embeddings = AlbertEmbeddings.pretrained("albert_large_uncased", "en") \ +embeddings = AlbertEmbeddings.pretrained("albert_large_uncased_quantized", "en") \ .setInputCols("sentence", "token") \ .setOutputCol("embeddings") ``` ```scala -val embeddings = AlbertEmbeddings.pretrained("albert_large_uncased", "en") +val embeddings = AlbertEmbeddings.pretrained("albert_large_uncased_quantized", "en") .setInputCols("sentence", "token") .setOutputCol("embeddings") ```