Comments (3)
If making this change is relatively simple, you can let me know how to make the change and I can open a PR?
from bigcode-evaluation-harness.
Hi, I encounter the same need.
I find that the code can be easily modified to log the per-sample score.
Take the task humaneval as an example, the second return value in compute_code_eval (called in process_result: link) will return the logs (including whether the output is passed) of sample as a list.
In the original implementation, they just use a _
to accept the returned logs. If you want to output the logs to a file, you can just save the value by json.dump
.
from bigcode-evaluation-harness.
Yes as @shuhao02 explained and as I mention in this issue you can dump the results returned by code_eval
metric #211 (comment)
results, details = compute_code_eval(..)
details.to_json("details.json")
Feel free to make a PR to add a flag for the harness, but note that not all tasks use this metric
from bigcode-evaluation-harness.
Related Issues (20)
- Make `bigcode_eval` pip installable HOT 1
- The result of llama2-13b-chat(pass@1 18) is worse than paper(pass@1 37) HOT 2
- API-based evaluation support (humanevalpack_openai.py is too old)
- Run 70b evaluation.
- Fix MBPP bug with transformers 4.38+ HOT 6
- How can I pass num_beams? HOT 2
- Some questions about APPS HOT 1
- Following submission documentation fails to save generated model outputs for our(Jdoodle) private HF model HOT 3
- Value error regarding to "--max_length_generation" HOT 1
- Using custom prompts and postprocessing HOT 1
- MBPP Llama3-8B-Instruct lower pass@1 score expected HOT 1
- Hi
- Using the humanevalpack to test the ChatGLM3 model results in an abnormal score.
- The evaluation results are inconsistent across different GPUs
- Need some context for certain args for Instruct Human Eval HOT 2
- [Possibly system specific] Wild (12% vs 20%) run-to-run swings in `multiple-cpp` reported scores HOT 1
- `multiple-cs`, `multiple-go`, and `multiple-d` are broken (`FileNotFound`) HOT 2
- HumanEval evaluation results mismatch for Codegemma-2b HOT 1
- Humaneval and MBPP results of deepseek-6.7b-coder-instruct are lower than offical report of Deepseek team
- Error of testing codegeex4-all-9b model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigcode-evaluation-harness.