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

About CodeBLEU #162

Open
gaoruiyang opened this issue Jun 3, 2023 · 0 comments
Open

About CodeBLEU #162

gaoruiyang opened this issue Jun 3, 2023 · 0 comments

Comments

@gaoruiyang
Copy link

image
In Code-Code/code-to-code-trans/evaluator/CodeBLEU/calc_code_bleu.py Line 40, I think 'append' maybe 'extend' so that
len(references) == len(pre_references)*len(hypothesis)
If 'append', len(references) == len(hypothesis) is correct.
Hope to hear your response soon, thx a lot.

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

No branches or pull requests

1 participant