-
Notifications
You must be signed in to change notification settings - Fork 413
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 preds, target
input arguments for text
metrics [2of2] cer, ter, wer, mer, rouge, squad
#727
Conversation
Codecov Report
@@ Coverage Diff @@
## master #727 +/- ##
=====================================
Coverage 95% 95%
=====================================
Files 170 170
Lines 6769 6775 +6
=====================================
+ Hits 6408 6414 +6
Misses 361 361 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to finish deprecation/compatibility 🐰
3a0f7dc
to
317182c
Compare
preds, target
input arguments for text
metrics [2of2] cer, ter, wer, mer, rouge, squad
This is failing with docstrings. What is the correct way of writing it? I can't find a way online for |
pls check how we did it with PL, probably some spacing is needed (cc: @awaelchli )
|
Tried this. Still failing. Just to confirm: Adding new line between argument name and |
For
And I'll update the rest of the public methods with the same. |
@Borda Updated the code with all the requested changes. Kindly review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MER, SQuAD and TER are new metrics in v0.7
thus there's no need to handle naming changes :]
hi @ashutoshml @stancld maybe jump on a quick call and sync what is the latest way of deprecation, eventually @stancld can directly edit your PR in his IDE :] |
I'm now leaving but will be back in ~2 hrs if you're available :] |
@stancld. I might not be available then (10:30 pm here RN). Whenever you're available, please have a quick look at the current docstring and suggest changes, if any. I'll update them whenever I start working tomorrow morning. |
@Borda Made all the relevant changes. Kindly review |
What does this PR do?
Fixes part of #716
Fixes
cer
mer
ter
wer
rouge
squad
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃
Yes