Skip to content

EvalPrediction does not allow for "sources" parameter which "sari" metric requires #15966

Closed
@alisonhc

Description

@alisonhc

class EvalPrediction(NamedTuple):

Hello, I have been following this example and would like to use the sari metric, which requires sources in addition to predictions and references.

Would it be possible to modify this to allow passing in source utterances so that the compute_metrics parameter can successfully pass the appropriate information to my custom compute_metrics function? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions