Commit
·
10fefb0
1
Parent(s):
6606f30
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- webis/Touche23-ValueEval
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
metrics:
|
| 8 |
+
- f1
|
| 9 |
+
tags:
|
| 10 |
+
- social-values
|
| 11 |
+
---
|
| 12 |
+
# Schwartz Value Classifier
|
| 13 |
+
This classifier is intended to predict the existence of social values from text snippets.
|
| 14 |
+
|
| 15 |
+
*Disclaimer: this is not the official repo published by the authors of the paper, and may not truly replicate the performance described in the original study*
|
| 16 |
+
|
| 17 |
+
## Value dimensions
|
| 18 |
+
1. security
|
| 19 |
+
2. power
|
| 20 |
+
3. achievement
|
| 21 |
+
4. hedonism
|
| 22 |
+
5. stimulation
|
| 23 |
+
6. self-direction
|
| 24 |
+
7. universalism
|
| 25 |
+
8. benevolence
|
| 26 |
+
9. conformity
|
| 27 |
+
10. tradition
|
| 28 |
+
|
| 29 |
+
## Datasets
|
| 30 |
+
This model is finetuned on two datasets: ValueNet and Touche23-ValueEval
|
| 31 |
+
We follow the original paper to convert both datasets into a binary classification task for each dimension.
|
| 32 |
+
- ValueNet: a sentence has a positive label if the original label contains 1 (positive) or -1 (negative), and 0 if the original label is 0.
|
| 33 |
+
- ValueEval: a sentence is assigned a positive label if the original label vector is marked 1 for that dimension. Since the original paper follows a 20-dimension refined categorization, we map them back to 10 dimensions. Therefore, the same sentence appears ten times, once for each dimension.
|
| 34 |
+
|
| 35 |
+
## How to use
|
| 36 |
+
Start your sentence with a label that indicates which dimension to measure. An example would be:
|
| 37 |
+
|
| 38 |
+
- <power> [SEP] staying out late after telling my girlfriend I could be home early
|
| 39 |
+
|
| 40 |
+
Please make sure to follow the exact format "<value\_name>" at the beginning of the sentence as this is a special token in the tokenizer: any spaces or different formats will not be encoded correctly.
|
| 41 |
+
|
| 42 |
+
## Performances
|
| 43 |
+
- F1 score (macro): 0.759
|
| 44 |
+
|
| 45 |
+
## References
|
| 46 |
+
Do Differences in Values Influence Disagreements in Online Discussions? (EMNLP'23) [link](https://aclanthology.org/2023.emnlp-main.992/)
|