Datasets:
Commit ·
13318e5
1
Parent(s): 9d90aa8
add readme
Browse files
README.md
CHANGED
|
@@ -5,3 +5,28 @@ license: cc-by-4.0
|
|
| 5 |
Touché23-ValueEval
|
| 6 |
==================
|
| 7 |
[link](https://webis.de/data.html#touche23-valueeval)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
Touché23-ValueEval
|
| 6 |
==================
|
| 7 |
[link](https://webis.de/data.html#touche23-valueeval)
|
| 8 |
+
|
| 9 |
+
Usage:
|
| 10 |
+
```
|
| 11 |
+
from datasets import load_dataset
|
| 12 |
+
import ast
|
| 13 |
+
|
| 14 |
+
def convert_labels(example):
|
| 15 |
+
example["Labels"] = [i for i in ast.literal_eval(example["Labels"])]
|
| 16 |
+
return example
|
| 17 |
+
|
| 18 |
+
valueeval23 = load_dataset("webis/Touche23-ValueEval")
|
| 19 |
+
|
| 20 |
+
training_dataset = valueeval23["training"].map(convert_labels)
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
See available dataset parts:
|
| 24 |
+
```
|
| 25 |
+
valueeval23
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
The `Labels` for each example is an array of 1s (argument resorts to value) and 0s (argument does not resort to value). The order is the same as in the original files:
|
| 29 |
+
```
|
| 30 |
+
labels = ["Self-direction: thought", "Self-direction: action", "Stimulation", "Hedonism", "Achievement", "Power: dominance", "Power: resources", "Face", "Security: personal", "Security: societal", "Tradition", "Conformity: rules", "Conformity: interpersonal", "Humility", "Benevolence: caring", "Benevolence: dependability", "Universalism: concern", "Universalism: nature", "Universalism: tolerance", "Universalism: objectivity"]
|
| 31 |
+
```
|
| 32 |
+
|