Gopikanth123 commited on
Commit
2178a82
·
verified ·
1 Parent(s): 67005eb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -33,8 +33,11 @@ Settings.llm = HuggingFaceInferenceAPI(
33
  # model_name="BAAI/bge-small-en-v1.5"
34
  # )
35
  # Replace the embedding model with XLM-R
 
 
 
36
  Settings.embed_model = HuggingFaceEmbedding(
37
- model_name="xlm-roberta-base" # XLM-RoBERTa model for multilingual support
38
  )
39
 
40
  # Configure tokenizer and model if required
 
33
  # model_name="BAAI/bge-small-en-v1.5"
34
  # )
35
  # Replace the embedding model with XLM-R
36
+ # Settings.embed_model = HuggingFaceEmbedding(
37
+ # model_name="xlm-roberta-base" # XLM-RoBERTa model for multilingual support
38
+ # )
39
  Settings.embed_model = HuggingFaceEmbedding(
40
+ model_name="sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
41
  )
42
 
43
  # Configure tokenizer and model if required