output features
Browse files
tasks.py
CHANGED
@@ -134,7 +134,7 @@ TaskRegistry.add(
|
|
134 |
preprocessors.span_corruption,
|
135 |
seqio.preprocessors.append_eos_after_trim,
|
136 |
],
|
137 |
-
output_features={"targets": DEFAULT_OUTPUT_FEATURES["targets"],"inputs": seqio.Feature(add_eos=True)},
|
138 |
metric_fns=[]
|
139 |
)
|
140 |
|
|
|
134 |
preprocessors.span_corruption,
|
135 |
seqio.preprocessors.append_eos_after_trim,
|
136 |
],
|
137 |
+
output_features={"targets": DEFAULT_OUTPUT_FEATURES["targets"],"inputs": seqio.Feature(vocabulary=vocabulary,add_eos=True)},
|
138 |
metric_fns=[]
|
139 |
)
|
140 |
|