five

hh-rlhf-helpful-base_20250708161703

收藏
魔搭社区2025-07-08 更新2025-07-12 收录
下载链接:
https://modelscope.cn/datasets/pandas007/hh-rlhf-helpful-base_20250708161703
下载链接
链接失效反馈
官方服务:
资源简介:
# HH-RLHF-Helpful-Base Dataset ## Summary The HH-RLHF-Helpful-Base dataset is a processed version of [Anthropic's HH-RLHF](https://huggingface.co/datasets/Anthropic/hh-rlhf) dataset, specifically curated to train models using the [TRL library](https://github.com/huggingface/trl) for preference learning and alignment tasks. It contains pairs of text samples, each labeled as either "chosen" or "rejected," based on human preferences regarding the helpfulness of the responses. This dataset enables models to learn human preferences in generating helpful responses, enhancing their ability to assist users effectively. ## Data Structure - **Format**: [Conversational](https://huggingface.co/docs/trl/main/dataset_formats#conversational) - **Type**: [Preference](https://huggingface.co/docs/trl/main/dataset_formats#preference) Columns: - `"pompt"`: The user query. - `"chosen"`: A response deemed helpful by human evaluators. - `"rejected"`: A response considered less helpful or unhelpful. This structure allows models to learn to prefer the _chosen_ response over the _rejected_ one, thereby aligning with human preferences in helpfulness. ## Generation script The script used to generate this dataset can be found [here](https://github.com/huggingface/trl/blob/main/examples/datasets/hh-rlhf-helpful-base.py).

# HH-RLHF-Helpful-Base 数据集 ## 摘要 HH-RLHF-Helpful-Base 数据集是[Anthropic公司的HH-RLHF数据集](https://huggingface.co/datasets/Anthropic/hh-rlhf)的处理版本,专为使用[TRL库](https://github.com/huggingface/trl)训练模型以开展偏好学习与对齐任务而整理。该数据集包含成对的文本样本,每对样本均根据人类对回复实用性的偏好标注为“选中回复(chosen)”或“被拒回复(rejected)”。此数据集可助力模型学习生成实用回复时的人类偏好,提升其有效协助用户的能力。 ## 数据结构 - **格式**:[对话式](https://huggingface.co/docs/trl/main/dataset_formats#conversational) - **类型**:[偏好型](https://huggingface.co/docs/trl/main/dataset_formats#preference) 字段说明: - `"prompt"`:用户查询 - `"chosen"`:经人类评估人员认定为实用的回复 - `"rejected"`:被认为实用性欠佳或完全无用的回复 该结构可使模型学习到相较于被拒回复,应优先选用选中回复,从而在回复实用性层面对齐人类偏好。 ## 生成脚本 可用于生成此数据集的脚本详见[此处](https://github.com/huggingface/trl/blob/main/examples/datasets/hh-rlhf-helpful-base.py)。
提供机构:
maas
创建时间:
2025-07-08
搜集汇总
数据集介绍
main_image_url
背景与挑战
背景概述
该数据集是Anthropic HH-RLHF数据集的处理版本,专门用于通过TRL库训练模型进行偏好学习和对齐任务。它包含基于人类对回答帮助性偏好标记的'chosen'和'rejected'文本对,旨在帮助模型学习生成更有帮助的响应。
以上内容由遇见数据集搜集并总结生成
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作