Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
•
dbd16a5
1
Parent(s):
89b0019
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def retrieval(query, top_k_retriver, docs):
|
|
48 |
return bm25_hits
|
49 |
|
50 |
qa_model = pipeline("question-answering",
|
51 |
-
model = "
|
52 |
|
53 |
def qa_ranker(query, docs_, top_k_ranker):
|
54 |
ans = []
|
|
|
48 |
return bm25_hits
|
49 |
|
50 |
qa_model = pipeline("question-answering",
|
51 |
+
model = "deepset/roberta-base-squad2")
|
52 |
|
53 |
def qa_ranker(query, docs_, top_k_ranker):
|
54 |
ans = []
|