Skip to content

Comments

Add n_sample_hyp and n_sample_ref for SelfBleu\FwBwBleu\NgramFwBwPerplexity#443

Open
hzhwcmhf wants to merge 4 commits intothu-coai:masterfrom
hzhwcmhf:fix-bleu
Open

Add n_sample_hyp and n_sample_ref for SelfBleu\FwBwBleu\NgramFwBwPerplexity#443
hzhwcmhf wants to merge 4 commits intothu-coai:masterfrom
hzhwcmhf:fix-bleu

Conversation

@hzhwcmhf
Copy link
Member

@hzhwcmhf hzhwcmhf commented Jul 6, 2020

使用n_sample_hyp & n_sample_ref替代sample

  • 在两个BLEU指标中n_sample_hyp只控制了方差,n_sample_ref控制了大小,因此需要分开
  • 减小n_sample_hyp能减少计算时间

另外解决了#407

目前缺少测试

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