File size: 737 Bytes
13c6dfb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684d0a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
task_categories:
- text-generation
- question-answering
language:
- en
pretty_name: StackExchange Paired
size_categories:
- 10M<n<100M
---

# StackExchange Paired

This is a processed version of the [`HuggingFaceH4/stack-exchange-preferences`](https://huggingface.co/datasets/HuggingFaceH4/stack-exchange-preferences). The following steps were applied:

- Parse HTML to Markdown with `markdownify`
- Create pairs `(response_j, response_k)` where j was rated better than k
- Sample at most 10 pairs per question
- Shuffle the dataset globally

This dataset is designed to be used for preference learning. The processing notebook is in [the repository](https://huggingface.co/datasets/lvwerra/stack-exchange-paired/tree/main) as well.