Elron commited on
Commit
6f3c593
1 Parent(s): d8edd75

Upload metric.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. metric.py +2 -1
metric.py CHANGED
@@ -11,6 +11,7 @@ from .card import __file__ as _
11
  from .catalog import __file__ as _
12
  from .collections import __file__ as _
13
  from .common import __file__ as _
 
14
  from .file_utils import __file__ as _
15
  from .fusion import __file__ as _
16
  from .generator_utils import __file__ as _
@@ -96,7 +97,7 @@ class MetricRecipe(SequntialOperatorInitilizer):
96
  self.steps = [
97
  FromPredictionsAndOriginalData(),
98
  ApplyValueOperatorsField(
99
- value_field="prediction", operators_field="processors", default_operators=["to_string"]
100
  ),
101
  SplitByValue(["group"]),
102
  ApplyStreamOperatorsField(
 
11
  from .catalog import __file__ as _
12
  from .collections import __file__ as _
13
  from .common import __file__ as _
14
+ from .dataclass import __file__ as _
15
  from .file_utils import __file__ as _
16
  from .fusion import __file__ as _
17
  from .generator_utils import __file__ as _
 
97
  self.steps = [
98
  FromPredictionsAndOriginalData(),
99
  ApplyValueOperatorsField(
100
+ value_field="prediction", operators_field="processors", default_operators=["processors::to_string"]
101
  ),
102
  SplitByValue(["group"]),
103
  ApplyStreamOperatorsField(