We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
evaluation/evaluation.py
for example, the java unittest complete code is like below under evaluation/evaluation.py
java
elif language_type == "java": test_string = prompt + code + "\n" + test
but it seems that codegeex2 generate code (ref to run_demo.py) has including the prompt. So the snippet should be
prompt
elif language_type == "java": test_string = code + "\n" + test
The text was updated successfully, but these errors were encountered:
If use the output[len(prompt):] to split the generate code, it's ok.
Sorry, something went wrong.
No branches or pull requests
for example, the
java
unittest complete code is like below underevaluation/evaluation.py
but it seems that codegeex2 generate code (ref to run_demo.py) has including the
prompt
. So the snippet should beThe text was updated successfully, but these errors were encountered: