Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics naming with overwrite args #737

Open
arielge opened this issue Mar 31, 2024 · 0 comments
Open

Metrics naming with overwrite args #737

arielge opened this issue Mar 31, 2024 · 0 comments

Comments

@arielge
Copy link
Member

arielge commented Mar 31, 2024

When loading a metric with overwrite args (for example: metrics.char_edit_distance[reference_field=original_text]), this is not reflected in the result dict returned from the metric, which will have the original metric name.
This creates a problem for example if one wants to call the same metric class twice, but with different overwrite args. In this case, the results dicts of the two metrics will have the same keys and they will overwrite each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant