param-bharat
commited on
Commit
•
8d23c68
1
Parent(s):
c3dbbe7
Upload NLIScorer
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -365,7 +365,7 @@ class NLIScorer(Pipeline):
|
|
365 |
postprocess_kwargs = {}
|
366 |
if "task_type" in kwargs:
|
367 |
preprocess_kwargs["task_type"] = kwargs["task_type"]
|
368 |
-
|
369 |
return preprocess_kwargs, {}, postprocess_kwargs
|
370 |
|
371 |
def preprocess(self, inputs, task_type):
|
|
|
365 |
postprocess_kwargs = {}
|
366 |
if "task_type" in kwargs:
|
367 |
preprocess_kwargs["task_type"] = kwargs["task_type"]
|
368 |
+
postprocess_kwargs["task_type"] = kwargs["task_type"]
|
369 |
return preprocess_kwargs, {}, postprocess_kwargs
|
370 |
|
371 |
def preprocess(self, inputs, task_type):
|