ACL'25: Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch
10
stars
1
commits
Python
primary language
Jun 10, 2025
updated
This repository contains the official implementation for our paper Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch.
Cheems is designed to facilitate the development and evaluation of Chinese reward models, which are crucial for aligning large language models with human preferences. Our framework offers practical guidance, tools, and resources for researchers and practitioners working on Chinese LLM alignment.
git clone https://github.com/AlignRM/CheemsRM.git
cd cheems
pip install -e .
We provide high-quality training and evaluation datasets:
data/cheems_preference.jsonl: Contains paired responses with human preference annotationsdata/cheems_bench/human.jsonl: Human-authored prompt subset.data/cheems_bench/open.jsonl: Open-source prompt subset.To train your reward model:
bash scripts/train_rm.sh
You can customize training parameters by modifying the script or passing environment variable.
Evaluate your reward model or LLM-as-judge on our benchmark:
# Evaluate a specific reward model
export MODEL_NAME=Skywork/Skywork-Reward-Gemma-2-27B-v0.2
# or
# export MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
bash scripts/eval_rm.sh
To evaluate new models:
cheems/eval/rm_predictor.py or cheems/eval/gen_predictor.pyPREDICTOR_MAP in the appropriate fileOur paper presents extensive analyses and benchmarks of various reward models. For detailed results and methodology, please refer to the paper.
If you find Cheems useful for your research or applications, please consider citing:
@misc{wen2025cheemspracticalguidancebuilding,
title={Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch},
author={Xueru Wen and Jie Lou and Zichao Li and Yaojie Lu and Xing Yu and Yuqiu Ji and Guohai Xu and Hongyu Lin and Ben He and Xianpei Han and Le Sun and Debing Zhang},
year={2025},
eprint={2502.17173},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2502.17173},
}
For questions related to the code, paper, or collaboration opportunities, please contact:
wenxueru2022@iscas.ac.cn1 commits
Python
97.8%
Shell
2.2%
ACL'25: Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch
10
stars
1
commits
Python
primary language
Jun 10, 2025
updated
This repository contains the official implementation for our paper Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch.
Cheems is designed to facilitate the development and evaluation of Chinese reward models, which are crucial for aligning large language models with human preferences. Our framework offers practical guidance, tools, and resources for researchers and practitioners working on Chinese LLM alignment.
git clone https://github.com/AlignRM/CheemsRM.git
cd cheems
pip install -e .
We provide high-quality training and evaluation datasets:
data/cheems_preference.jsonl: Contains paired responses with human preference annotationsdata/cheems_bench/human.jsonl: Human-authored prompt subset.data/cheems_bench/open.jsonl: Open-source prompt subset.To train your reward model:
bash scripts/train_rm.sh
You can customize training parameters by modifying the script or passing environment variable.
Evaluate your reward model or LLM-as-judge on our benchmark:
# Evaluate a specific reward model
export MODEL_NAME=Skywork/Skywork-Reward-Gemma-2-27B-v0.2
# or
# export MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
bash scripts/eval_rm.sh
To evaluate new models:
cheems/eval/rm_predictor.py or cheems/eval/gen_predictor.pyPREDICTOR_MAP in the appropriate fileOur paper presents extensive analyses and benchmarks of various reward models. For detailed results and methodology, please refer to the paper.
If you find Cheems useful for your research or applications, please consider citing:
@misc{wen2025cheemspracticalguidancebuilding,
title={Cheems: A Practical Guidance for Building and Evaluating Chinese Reward Models from Scratch},
author={Xueru Wen and Jie Lou and Zichao Li and Yaojie Lu and Xing Yu and Yuqiu Ji and Guohai Xu and Hongyu Lin and Ben He and Xianpei Han and Le Sun and Debing Zhang},
year={2025},
eprint={2502.17173},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2502.17173},
}
For questions related to the code, paper, or collaboration opportunities, please contact:
wenxueru2022@iscas.ac.cn1 commits
Python
97.8%
Shell
2.2%