mamba413 commited on
Commit
19e8541
·
verified ·
1 Parent(s): 69356a7

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -39
README.md CHANGED
@@ -1,39 +1,26 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: label
7
- dtype:
8
- class_label:
9
- names:
10
- '0': neg
11
- '1': pos
12
- - name: chosen
13
- struct:
14
- - name: text
15
- dtype: string
16
- - name: rejected
17
- struct:
18
- - name: text
19
- dtype: string
20
- - name: a_1
21
- struct:
22
- - name: text
23
- dtype: string
24
- - name: a_2
25
- struct:
26
- - name: text
27
- dtype: string
28
- splits:
29
- - name: train
30
- num_bytes: 17485
31
- num_examples: 2
32
- download_size: 68789
33
- dataset_size: 17485
34
- configs:
35
- - config_name: default
36
- data_files:
37
- - split: train
38
- path: data/train-*
39
- ---
 
1
+ ---
2
+ tags:
3
+ - trl
4
+ ---
5
+
6
+ # HH-RLHF-Helpful-Base Dataset
7
+
8
+ ## Summary
9
+
10
+ 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.
11
+
12
+ ## Data Structure
13
+
14
+ - **Format**: [Conversational](https://huggingface.co/docs/trl/main/dataset_formats#conversational)
15
+ - **Type**: [Preference](https://huggingface.co/docs/trl/main/dataset_formats#preference)
16
+
17
+ Columns:
18
+ - `"prompt"`: The user query.
19
+ - `"chosen"`: A response deemed helpful by human evaluators.
20
+ - `"rejected"`: A response considered less helpful or unhelpful.
21
+
22
+ This structure allows models to learn to prefer the _chosen_ response over the _rejected_ one, thereby aligning with human preferences in helpfulness.
23
+
24
+ ## Generation script
25
+
26
+ 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).