Upload metric.py with huggingface_hub
Browse files13 unmodified lines14151617181922 unmodified lines42434445464748495054 unmodified lines10510610710810911011113 unmodified linesfrom .dataclass import __file__ as _from .dict_utils import __file__ as _from .file_utils import __file__ as _from .fusion import __file__ as _from .generator_utils import __file__ as _from .hf_utils import __file__ as _22 unmodified linesfrom .recipe import __file__ as _from .register import __file__ as _from .register import register_all_artifactsfrom .schema import __file__ as _from .split_utils import __file__ as _from .splitters import __file__ as _from .stream import MultiStream, Streamfrom .stream import __file__ as _from .task import __file__ as _54 unmodified linesinputs_fields=["prediction", "references"],fields_to_treat_as_list=["references"],operators_field="postprocessors",default_operators=["processors.to_string"],),SplitByValue(["group"]),ApplyStreamOperatorsField(13 unmodified lines1415161718192022 unmodified lines434445464748495051525354 unmodified lines10810911011111211311413 unmodified linesfrom .dataclass import __file__ as _from .dict_utils import __file__ as _from .file_utils import __file__ as _from .formats import __file__ as _from .fusion import __file__ as _from .generator_utils import __file__ as _from .hf_utils import __file__ as _22 unmodified linesfrom .recipe import __file__ as _from .register import __file__ as _from .register import register_all_artifactsfrom .renderers import __file__ as _from .schema import __file__ as _from .split_utils import __file__ as _from .splitters import __file__ as _from .standard import __file__ as _from .stream import MultiStream, Streamfrom .stream import __file__ as _from .task import __file__ as _54 unmodified linesinputs_fields=["prediction", "references"],fields_to_treat_as_list=["references"],operators_field="postprocessors",default_operators=["processors.to_string_stripped"],),SplitByValue(["group"]),ApplyStreamOperatorsField(
metric.py+4-1