Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ Settings.llm = HuggingFaceLLM(model_name="mistralai/Mistral-Nemo-Instruct-2407",
|
|
| 34 |
tokenizer_name="mistralai/Mistral-Nemo-Instruct-2407",
|
| 35 |
)
|
| 36 |
|
| 37 |
-
Settings.embed_model = HuggingFaceEmbedding(model_name="
|
| 38 |
documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
|
| 39 |
Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
|
| 40 |
Document(text="Indian parliament elections happened in 2020. ABC Party won."),
|
|
|
|
| 34 |
tokenizer_name="mistralai/Mistral-Nemo-Instruct-2407",
|
| 35 |
)
|
| 36 |
|
| 37 |
+
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-m3")
|
| 38 |
documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
|
| 39 |
Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
|
| 40 |
Document(text="Indian parliament elections happened in 2020. ABC Party won."),
|