Spaces:
Sleeping
Sleeping
Rollback qa model
Browse files
qa.py
CHANGED
@@ -9,7 +9,7 @@ ML is known in its application across business problems under the name predictiv
|
|
9 |
"""
|
10 |
question_example = "What are the foundations of Machine learning?"
|
11 |
|
12 |
-
get_question_answering = pipeline("question-answering", model='distilbert-base-
|
13 |
|
14 |
def qa(context, question):
|
15 |
if not context or not question:
|
|
|
9 |
"""
|
10 |
question_example = "What are the foundations of Machine learning?"
|
11 |
|
12 |
+
get_question_answering = pipeline("question-answering", model='distilbert-base-cased-distilled-squad')
|
13 |
|
14 |
def qa(context, question):
|
15 |
if not context or not question:
|