cpereira commited on
Commit
a8defeb
·
1 Parent(s): d5e3721

Rollback qa model

Browse files
Files changed (1) hide show
  1. qa.py +1 -1
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-multilingual-cased')
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: