Spaces:
Running
Running
Gopikanth123
commited on
Update main.py
Browse files
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="
|
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
|