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

[Feature] 对metric的重构 #417

Open
hzhwcmhf opened this issue Jun 16, 2020 · 0 comments
Open

[Feature] 对metric的重构 #417

hzhwcmhf opened this issue Jun 16, 2020 · 0 comments
Labels
0.1.1 feature New feature or request new New issue

Comments

@hzhwcmhf
Copy link
Member

hzhwcmhf commented Jun 16, 2020

对metric部分的重构

  1. 部分metric名称更改,待定

  2. 对每一个metric添加返回key的选项。目前每个metric返回的key是固定的,例如BleuCorpusMetric永远只能返回bleu。需要添加支持使得可以自定义返回key

  3. 对更名的metric提供兼容性支持,即保留原来名字和接口。使用时,报Warning,且实际调用新的内容。

  4. 将测试移动到新的metric上。原有部分提供简要的兼容性测试,只要能够构造即可。

@hzhwcmhf hzhwcmhf added new New issue feature New feature or request 0.1.1 labels Jun 16, 2020
@hzhwcmhf hzhwcmhf changed the title [Feature] metric支持自定义返回的key [Feature] 对metric的重构 Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.1.1 feature New feature or request new New issue
Projects
None yet
Development

No branches or pull requests

1 participant