diff --git a/docs/_posts/ahmedlone127/2024-02-11-bge_m3_xx.md b/docs/_posts/ahmedlone127/2024-02-11-bge_m3_xx.md index af1a24fde46295..b7efcdf8a199c4 100644 --- a/docs/_posts/ahmedlone127/2024-02-11-bge_m3_xx.md +++ b/docs/_posts/ahmedlone127/2024-02-11-bge_m3_xx.md @@ -46,7 +46,7 @@ sentencerDL = SentenceDetectorDLModel.pretrained("sentence_detector_dl", "xx")\ .setInputCols(["document"])\ .setOutputCol("sentence") -embeddings =XlmRoBertaSentenceEmbeddings.pretrained("bge_m3 ","xx") \ +embeddings =XlmRoBertaSentenceEmbeddings.pretrained("bge_m3","xx") \ .setInputCols(["sentence"]) \ .setOutputCol("embeddings") @@ -68,7 +68,7 @@ val sentencerDL = SentenceDetectorDLModel.pretrained("sentence_detector_dl", "xx .setOutputCol("sentence") val embeddings = XlmRoBertaSentenceEmbeddings - .pretrained("bge_m3 ", "xx") + .pretrained("bge_m3", "xx") .setInputCols(Array("sentence")) .setOutputCol("embeddings")