Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -61,7 +61,8 @@ class DataCollatorForCausalLMEval(object):
|
|
61 |
|
62 |
print(instances)
|
63 |
srcs = instances[0]['src']
|
64 |
-
task_type = instances[0]['task_type']
|
|
|
65 |
|
66 |
if task_type == 'retrosynthesis':
|
67 |
src_start_str = self.product_start_str
|
|
|
61 |
|
62 |
print(instances)
|
63 |
srcs = instances[0]['src']
|
64 |
+
task_type = instances[0]['task_type']
|
65 |
+
print(task_type)
|
66 |
|
67 |
if task_type == 'retrosynthesis':
|
68 |
src_start_str = self.product_start_str
|