Unverified Commit 8c831939 authored by sdtblck's avatar sdtblck Committed by GitHub
Browse files

Update mlqa.py

parent 6cea1de2
......@@ -232,6 +232,9 @@ class MLQABase(HFTask):
"""
continuation = results
if isinstance(continuation, list):
continuation = continuation[0]
predictions = {
'id': doc['id'],
'prediction_text': continuation,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment