shoom013 commited on
Commit
38bc394
·
verified ·
1 Parent(s): 17fedb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ Settings.llm = HuggingFaceLLM(model_name="stabilityai/stablelm-zephyr-3b",
29
  tokenizer_name="stabilityai/stablelm-zephyr-3b",
30
  )
31
 
32
- Settings.embed_model = HuggingFaceEmbedding(model_name="facebook/blenderbot-400M-distill")
33
  documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
34
  Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
35
  Document(text="Indian parliament elections happened in 2020. ABC Party won."),
 
29
  tokenizer_name="stabilityai/stablelm-zephyr-3b",
30
  )
31
 
32
+ Settings.embed_model = HuggingFaceEmbedding(model_name="sentence-transformers/all-MiniLM-L6-v2")
33
  documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
34
  Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won."),
35
  Document(text="Indian parliament elections happened in 2020. ABC Party won."),