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

humaneval #1417

Open
codeAlwaysPass opened this issue Jul 27, 2024 · 2 comments
Open

humaneval #1417

codeAlwaysPass opened this issue Jul 27, 2024 · 2 comments

Comments

@codeAlwaysPass
Copy link

请问可以提供测试humaneval的相关方法吗,现在想要进行测试但是完全不知道该如何下手,generate_repo返回的是一个Projectrepo类型不能被转换成jsonl,希望作者能加上去,谢谢。

@iorisa
Copy link
Collaborator

iorisa commented Jul 29, 2024

ProjectRepo对应的是一个文件夹路径。如果要转JSON,本质上是将一个文件夹转JSON。
你希望转成什么样的JSON?
@codeAlwaysPass

@codeAlwaysPass
Copy link
Author

我希望转成一个可以让humaneval评估的jsonl文件,目前我是自己写python脚本把文件夹里面的代码写入jsonl,但可能是由于我的代码问题这样得到的jsonl获得的准确率只有0.27。

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

2 participants