Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10M - 100M
License:
dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
size_categories:
|
| 6 |
+
- 10M<n<100M
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-generation
|
| 9 |
+
tags:
|
| 10 |
+
- preference
|
| 11 |
+
- reward-model
|
| 12 |
+
- rlhf
|
| 13 |
+
- criteria
|
| 14 |
+
- nectar
|
| 15 |
+
pretty_name: C3PO criterion-conditioned preference pairs
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: criterion
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: criterion/train.parquet
|
| 21 |
+
- split: validation
|
| 22 |
+
path: criterion/valid.parquet
|
| 23 |
+
- split: test
|
| 24 |
+
path: criterion/test.parquet
|
| 25 |
+
- config_name: holistic
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: holistic/train.parquet
|
| 29 |
+
- split: validation
|
| 30 |
+
path: holistic/valid.parquet
|
| 31 |
+
- split: test
|
| 32 |
+
path: holistic/test.parquet
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
# C3PO: criterion-conditioned preference pairs from Nectar
|
| 36 |
+
|
| 37 |
+
Anonymous release accompanying a paper under review.
|
| 38 |
+
|
| 39 |
+
This dataset relabels the pairwise preferences of
|
| 40 |
+
[Nectar](https://huggingface.co/datasets/berkeley-nest/Nectar) under a fixed set of
|
| 41 |
+
fifteen named criteria. No new text is generated: every prompt and every response is
|
| 42 |
+
taken verbatim from Nectar. What is added is, for each pair, the criterion under which
|
| 43 |
+
it was judged and the preference label obtained under that criterion.
|
| 44 |
+
|
| 45 |
+
Two configurations are released, built from the same prompts by the same judge:
|
| 46 |
+
|
| 47 |
+
| Config | Pairs | Train | Validation | Test | What it is |
|
| 48 |
+
|---|---|---|---|---|---|
|
| 49 |
+
| `criterion` | 8,643,897 | 7,780,998 | 431,389 | 431,510 | every pair with a consensus winner under an assigned criterion |
|
| 50 |
+
| `holistic` | 2,991,235 | 2,692,015 | 149,661 | 149,559 | the same judge asked for the better response overall, with no criterion |
|
| 51 |
+
|
| 52 |
+
The `holistic` config is the control: same prompts, same candidate pool, same judge,
|
| 53 |
+
same two-order protocol, differing only in the absence of a criterion.
|
| 54 |
+
|
| 55 |
+
## How the pairs were made
|
| 56 |
+
|
| 57 |
+
1. **Criterion assignment.** For each Nectar prompt, the judge picks the three criteria
|
| 58 |
+
from the fixed set of fifteen (below) that best suit the prompt.
|
| 59 |
+
2. **Pairwise judging.** For each assigned criterion, every unordered pair among the
|
| 60 |
+
prompt's seven candidate responses is shown to the judge, which picks the response
|
| 61 |
+
that better satisfies that criterion. Each pair is judged twice, once in each
|
| 62 |
+
presentation order.
|
| 63 |
+
3. **Consensus.** A pair is kept only if the judge names the same winner in both orders.
|
| 64 |
+
Pairs where the two orders disagree, or where the judge declines in either order,
|
| 65 |
+
are dropped.
|
| 66 |
+
4. **Holistic pass.** The same procedure is run once more per pair with no criterion,
|
| 67 |
+
asking for the better response overall. This produces the `holistic` config.
|
| 68 |
+
|
| 69 |
+
The judge for every call is `Qwen3-30B-A3B-Instruct-2507`, decoded greedily.
|
| 70 |
+
|
| 71 |
+
### The fifteen criteria
|
| 72 |
+
|
| 73 |
+
| Criterion | Definition shown to the judge |
|
| 74 |
+
|---|---|
|
| 75 |
+
| clarity | The response is clear, well-written, and easy to understand. |
|
| 76 |
+
| correctness | The response is factually accurate and free of errors. |
|
| 77 |
+
| relevance | The response directly addresses the user's question or request. |
|
| 78 |
+
| completeness | The response thoroughly covers all aspects of the query. |
|
| 79 |
+
| helpfulness | The response provides actionable, useful information. |
|
| 80 |
+
| safety | The response avoids harmful, dangerous, or unethical content. |
|
| 81 |
+
| reasoning | The response demonstrates sound logical reasoning. |
|
| 82 |
+
| creativity | The response shows originality and creative thinking where appropriate. |
|
| 83 |
+
| conciseness | The response is appropriately brief without sacrificing important details. |
|
| 84 |
+
| tone | The response uses an appropriate, respectful, and professional tone. |
|
| 85 |
+
| nuanced explanation | Provides detailed, balanced, and context-specific explanations that account for multiple perspectives and complexities. |
|
| 86 |
+
| technical specificity | Evaluates how precisely and accurately a response addresses the technical aspects of a given topic or problem. |
|
| 87 |
+
| practical applicability | Evaluates how well a response provides actionable and feasible advice that can be applied in real-world situations. |
|
| 88 |
+
| consequence awareness | The extent to which a response acknowledges or ignores potential consequences, risks, or downsides of a particular action or decision. |
|
| 89 |
+
| contextual understanding | Evaluates how well a response demonstrates comprehension of the underlying context, motivations, and implications of a given statement or situation. |
|
| 90 |
+
|
| 91 |
+
## Schema
|
| 92 |
+
|
| 93 |
+
Both configs share one schema.
|
| 94 |
+
|
| 95 |
+
| Column | Type | Meaning |
|
| 96 |
+
|---|---|---|
|
| 97 |
+
| `prompt` | string | the Nectar prompt, unchanged |
|
| 98 |
+
| `chosen` | string | the response the judge preferred, verbatim from Nectar |
|
| 99 |
+
| `rejected` | string | the other response, verbatim from Nectar |
|
| 100 |
+
| `criterion` | string | the criterion the pair was judged under; the empty string in the `holistic` config |
|
| 101 |
+
| `flipped` | bool | `true` when the label disagrees with Nectar's original GPT-4 ranking of the two responses |
|
| 102 |
+
|
| 103 |
+
The criterion is kept as a column rather than written into the prompt, so that users
|
| 104 |
+
can choose their own conditioning template. In the accompanying paper the criterion
|
| 105 |
+
enters the prompt as a system turn, `You are an assistant that values {criterion}.`,
|
| 106 |
+
and the holistic control uses `you are a helpful assistant`.
|
| 107 |
+
|
| 108 |
+
## Splits
|
| 109 |
+
|
| 110 |
+
The split is by prompt: a prompt and all of its pairs fall into exactly one of train,
|
| 111 |
+
validation and test, and the two configs share the same prompt-level split (90/5/5,
|
| 112 |
+
seed 42). A model trained on `criterion/train` has therefore never seen a
|
| 113 |
+
`holistic/test` prompt, and vice versa.
|
| 114 |
+
|
| 115 |
+
## Loading
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
from datasets import load_dataset
|
| 119 |
+
|
| 120 |
+
crit = load_dataset("C3PO-Project/c3po", "criterion")
|
| 121 |
+
hol = load_dataset("C3PO-Project/c3po", "holistic")
|
| 122 |
+
|
| 123 |
+
row = crit["train"][0]
|
| 124 |
+
system = f"You are an assistant that values {row['criterion']}."
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
## Source and license
|
| 128 |
+
|
| 129 |
+
Prompts and responses come from Nectar (Zhu et al., 2024), released under Apache 2.0,
|
| 130 |
+
and this dataset is released under the same license. The labels and the criterion
|
| 131 |
+
assignments are new.
|
| 132 |
+
|
| 133 |
+
## Citation
|
| 134 |
+
|
| 135 |
+
A citation will be added when the accompanying paper is public.
|