microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.51k stars 363 forks source link

The code to calculate CodeBLEU #120

Closed ShangwenWang closed 2 years ago

ShangwenWang commented 2 years ago

Hi everyone,

Thanks for this very valuable work!

I am very interested in text-to-code generation. I note in the paper, there is a metric called CodeBLEU for this task. However, I do not find the corresponding calculation code in this repo. I'd appreciate it if you could share the related code.

Many thanks

ShangwenWang commented 2 years ago

Oh Sorry. I forgot to have a look at other folders.

It is here: https://github.com/microsoft/CodeXGLUE/tree/main/Code-Code/code-to-code-trans/evaluator/CodeBLEU