Skip to content

Commit

Permalink
Update 2024-02-11-bge_m3_xx.md (#14244)
Browse files Browse the repository at this point in the history
  • Loading branch information
maziyarpanahi authored May 2, 2024
1 parent 4ac11a0 commit 47bd96b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_posts/ahmedlone127/2024-02-11-bge_m3_xx.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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")

Expand Down

0 comments on commit 47bd96b

Please # to comment.