language:
- en
dataset_info:
features:- name: chosen
dtype: string - name: rejected
dtype: string - name: prompt
dtype: string
splits: - name: train
num_bytes: 93496
num_examples: 50 - name: test
num_bytes: 85145
num_examples: 50
download_size: 111706
dataset_size: 178641
configs:
- name: chosen
- config_name: default
data_files:- split: train
path: data/train-* - split: test
path: data/test-*
- split: train
TRL's Anthropic HH Dataset apply_chat_template
We preprocess the dataset using our standard prompt, chosen, rejected format.
Reproduce this dataset
- Download the
tokenize_ds.pyfrom the https://huggingface.co/datasets/Charles95/hh-rlhf-helpful-base-trl-style-apply-chat-template/tree/0.1.0. - Run
python ./tokenize_ds.py --debug --model Qwen/Qwen2-7B-Instruct --push_to_hub --debug