phamson02 commited on
Commit
f1bbe75
1 Parent(s): cad5609
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +1 -0
app.py CHANGED
@@ -75,11 +75,11 @@ def search(query: str, reranking: bool = False, top_k: int = 100):
75
 
76
 
77
  exp = [
78
- "Who is steve jobs?",
79
- "What is coldplay?",
80
- "What is a turing test?",
81
- "What is the most interesting thing about our universe?",
82
- "What are the most beautiful places on earth?",
83
  ]
84
 
85
  desc = "This is a semantic search engine powered by SentenceTransformers (Nils_Reimers) with a retrieval and reranking system on Wikipedia corous. This will return the top 5 results. So Quest on with Transformers."
 
75
 
76
 
77
  exp = [
78
+ ["Who is steve jobs?", False],
79
+ ["What is coldplay?", False],
80
+ ["What is a turing test?", False],
81
+ ["What is the most interesting thing about our universe?", False],
82
+ ["What are the most beautiful places on earth?", False],
83
  ]
84
 
85
  desc = "This is a semantic search engine powered by SentenceTransformers (Nils_Reimers) with a retrieval and reranking system on Wikipedia corous. This will return the top 5 results. So Quest on with Transformers."
requirements.txt CHANGED
@@ -3,4 +3,5 @@ torch
3
  pandas
4
  gradio
5
  underthesea
 
6
  retriever-trainer[colbert] @ git+https://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@github.com/phamson02/retriever_trainer.git@rerank
 
3
  pandas
4
  gradio
5
  underthesea
6
+ fasttext
7
  retriever-trainer[colbert] @ git+https://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@github.com/phamson02/retriever_trainer.git@rerank