Coffee-Gym: An Environment for Evaluating and Improving Natural Language Feedback on Erroneous Code
Abstract
This paper presents Coffee-Gym, a comprehensive RL environment for training models that provide feedback on code editing. Coffee-Gym includes two major components: (1) Coffee, a dataset containing humans' code edit traces for coding questions and machine-written feedback for editing erroneous code; (2) CoffeeEval, a reward function that faithfully reflects the helpfulness of feedback by assessing the performance of the revised code in unit tests. With them, Coffee-Gym addresses the unavailability of high-quality datasets for training feedback models with RL, and provides more accurate rewards than the SOTA reward model (i.e., GPT-4). By applying Coffee-Gym, we elicit feedback models that outperform baselines in enhancing open-source code LLMs' code editing, making them comparable with closed-source LLMs. We make the dataset and the model checkpoint publicly available.
Community
Hi @hyungjoochae congrats on this work!
Regarding "We make the dataset and the model checkpoint publicly available." => are you planning to share these on the hub? Would be great to then link them to this paper, enabling people to discover them :) see https://huggingface.co/docs/hub/en/paper-pages#linking-a-paper-to-a-model-dataset-or-space.
Let us know if you need any help!
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Sequence to Sequence Reward Modeling: Improving RLHF by Language Feedback (2024)
- Preference-Guided Reflective Sampling for Aligning Language Models (2024)
- Self-Judge: Selective Instruction Following with Alignment Self-Evaluation (2024)
- CRQBench: A Benchmark of Code Reasoning Questions (2024)
- An Empirical Study on Self-correcting Large Language Models for Data Science Code Generation (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper