Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
•
a58a4e4
1
Parent(s):
6e382ec
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def final_qa_pipeline(file, query):
|
|
73 |
|
74 |
bm25 = BM25Okapi(tokenized_corpus)
|
75 |
|
76 |
-
top_k_retriver, top_k_ranker =
|
77 |
lvl1 = retrieval(query, top_k_retriver, docs, bm25)
|
78 |
|
79 |
if len(lvl1) > 0:
|
|
|
73 |
|
74 |
bm25 = BM25Okapi(tokenized_corpus)
|
75 |
|
76 |
+
top_k_retriver, top_k_ranker = 20,1
|
77 |
lvl1 = retrieval(query, top_k_retriver, docs, bm25)
|
78 |
|
79 |
if len(lvl1) > 0:
|