shoom013 commited on
Commit
b24691a
1 Parent(s): 76644ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ Settings.llm = HuggingFaceInferenceAPI(model_name="mistralai/Mistral-Nemo-Instru
66
  # tokenizer_kwargs={"max_length": 4096},
67
  tokenizer_name="mistralai/Mistral-Nemo-Instruct-2407",
68
  )
69
-
70
- Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-m3")
71
  #documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
72
  # Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
73
  # Document(text="Indian parliament elections happened in 2020. ABC Party won."),
 
66
  # tokenizer_kwargs={"max_length": 4096},
67
  tokenizer_name="mistralai/Mistral-Nemo-Instruct-2407",
68
  )
69
+ # "BAAI/bge-m3"
70
+ Settings.embed_model = HuggingFaceEmbedding(model_name="sentence-transformers/all-MiniLM-L6-v2")
71
  #documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
72
  # Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
73
  # Document(text="Indian parliament elections happened in 2020. ABC Party won."),