- Notifications
You must be signed in to change notification settings - Fork 304
Added metric Brier Score#275
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
kadirnar commented Aug 25, 2022
Hi @lvwerra, Can you share the reformatter code? |
lvwerra commented Aug 25, 2022
Hi @kadirnar, thanks for that awesome contribution! If you are inside the repo (main folder) you can run |
kadirnar commented Aug 25, 2022
Thank you for your support. I am running vscode application as administrator. The codes in the tokenizer_13a.py file have also changed |
lvwerra commented Aug 25, 2022
Seems to be an issue of Which version are you using? Can you run: pip install .[dev]to make sure all the right versions for |
Uh oh!
There was an error while loading. Please reload this page.
lvwerra left a comment
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.
I added a few fixes that should hopefully make the tests pass.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
HuggingFaceDocBuilderDev commented Aug 26, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
The documentation is not available anymore as the PR was closed or merged. |
kadirnar commented Aug 26, 2022
Hi @lvwerra , Why doesn't it pass the tests? |
lvwerra left a comment
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.
Added two suggestions that should fix the issues.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lvwerra commented Aug 26, 2022
Side comment: if there are code suggestions you can just click on "Commit suggestion" so you don't need to do an extra commit locally. |
kadirnar commented Aug 26, 2022
I didn't know that. Thank you for your advice. I will try. |
Co-authored-by: Leandro von Werra <[email protected]>
lvwerra left a comment
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.
Thanks again for working on this! Left a few minor nits and then I think we can merge!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Leandro von Werra <[email protected]>
Co-authored-by: Leandro von Werra <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
lvwerra left a comment
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.
Left one more suggestion to fix the YAML in the README.
Co-authored-by: Leandro von Werra <[email protected]>
kadirnar commented Aug 30, 2022
I didn't know how to fix this error. Thank you very much for your help. |
lvwerra commented Aug 30, 2022
Thanks a lot, looks good now! I'll approve and merge it after we merge another bug fix. |
* Added metric Brier Score * added numpy library and reformatter * Updated the args description. * examples codes updated. * word error fixed * parameter error fixed. * parameter and reference codes have been updated. * The print code has been updated. * output value have been updated. * Update metrics/brier_score/brier_score.py Co-authored-by: Leandro von Werra <[email protected]> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <[email protected]> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <[email protected]> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <[email protected]> Co-authored-by: Leandro von Werra <[email protected]>
I added Brier Score metric. #235