Jayfeather1024/Reward-Embeddings
收藏资源简介:
该数据集是PKU-Alignment/PKU-SafeRLHF数据集的处理版本,包含RLHF奖励模型的嵌入特征和相应的原始文本。数据集以成对方式存储,每对数据包含更安全的示例文本、更不安全的示例文本以及它们的嵌入特征。嵌入特征的隐藏维度为4096,奖励模型使用线性层将嵌入特征转换为1维分数值。数据集非常大,因为原始训练数据集规模大且嵌入空间维度高。
This dataset is a processed version of the PKU-Alignment/PKU-SafeRLHF dataset, containing embedding features from the RLHF reward model and their corresponding original texts. The dataset is stored in paired format, where each pair consists of a safer example text, a less safe example text, and their respective embedding features. The embedding features have a hidden dimension of 4096, and the reward model uses a linear layer to convert the embeddings into 1-dimensional score values. The dataset is exceptionally large, due to the substantial scale of the original training dataset and the high dimensionality of the embedding space.
RLHF Reward Model Embedding Features for PKU-Alignment/PKU-SafeRLHF Dataset
数据集描述
- 文件存储:嵌入特征及其对应的原始文本存储在
embeddings_train.jsonl和embeddings_test.jsonl中。 - 数据结构:数据集以成对方式存储,每个数据对包含以下内容:
safer_example:更安全的示例输入文本。not_safer_example:更有害的示例输入文本。safer_embedding:更安全的示例的嵌入特征。not_safer_embedding:更有害的示例的嵌入特征。
- 嵌入维度:隐藏嵌入维度为 4096。奖励模型使用线性层将嵌入特征转换为 1 维的分数值。
- 数据集大小:由于原始训练数据集的规模较大和嵌入空间的高维度,数据集极其庞大。
原始数据集
- 详细信息:如需原始数据集的详细信息,请参考
train.jsonl.xz和test.jsonl.xz。生成嵌入时使用了shuffle=False,因此数据集中的顺序得以保留。
备注
- 数据集来源:此数据集是 PKU-Alignment/PKU-SafeRLHF 的加工版本。




