Skip to content

Conversation

@go-with-me000
Copy link

Description:Modified the value of Element and added Bleu test

Main reason:
1.对于Element,backend中的value值从原来的float类型扩展到list类型,可以支持更多情况。
2.增加了Bleu支持,并且针对四个主流框架都进行了测试

Checklist 检查下面各项是否完成

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [$CATEGORY] (例如[bugfix]修复bug,[new]添加新功能,[test]修改测试,[rm]删除旧代码)
  • [y] Changes are complete (i.e. I finished coding on this PR) 修改完成才提PR
  • [y] All changes have test coverage 修改的部分顺利通过测试。对于fastnlp/fastnlp/的修改,测试代码必须提供在fastnlp/test/
  • [y] Code is well-documented 注释写好,API文档会从注释中抽取
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change 修改导致例子或tutorial有变化,请找核心开发人员

Changes: 逐项描述修改的内容

  • 修改了Element的value
  • 增加了Bleu新metric

Mention: 找人review你的PR

@修改过这个文件的人
@核心开发人员

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

Successfully merging this pull request may close these issues.

1 participant