-
Notifications
You must be signed in to change notification settings - Fork 402
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
Unify the input order for text
(NLG) metrics
#686
Comments
I would try to make it for this |
If this is as simple as changing the order in a couple of metrics, then lets fit it into |
Yes, I think it's a simple change that affects only |
@stancld Incase you aren't working on this, I can take it up. |
@ashutoshml I've been finishing some other stuff, so it'd be great if you can have a look! O:] |
@stancld is there a reason why we should standardize to |
@SkafteNicki I considered that mainly w.r.t. text metrics. Should we rather convert all NLP metrics to |
And actually I see that in the TM version |
Also, naming standardization would help I personally would prefer |
I think that standardization would be needed, for example, if you have a collection and one of the metrics has its inputs in reverse order, could be bad... |
In case we decide on the order |
@SkafteNicki So I guess we will go for |
Slightly confused. |
As also suggested in #687, we will go with |
@stancld Thanks for updating the issue. I'll start working on it this weekend. |
@stancld: Should I modify all the files in |
@ashutoshml @stancld Now I'm really confused. I thought it was |
@mathemusician Use |
🚀 Enhancement
Unify the input order for
text
(NLG) metricsMotivation
We aim to unify text (NLG) metrics in a way that all of them will allow evaluating a hypothesis against multiple references. Nonetheless, there remains another distinction as some metrics presume
preds, targets
input order, while some expecttargets, preds
order. With respect to the whole TM ecosystem, we will go withpreds, targets
.Pitch
Change input order for the following NLG metrics:
BLEUScore
- B.C (add a warning suggested here)CHRFScore
- non B.C. (a new metrics inv0.7
)SacreBLEUScore
- B.C (add a warning suggested here)TER
- non B.C. (a new metrics inv0.7
)Standardize naming convention to have:
predictions
andtargets
everywhere.Alternatives
Keep it as it is.
@SkafteNicki @Borda @ashutoshml
The text was updated successfully, but these errors were encountered: