parquet-converter commited on
Commit
a77ea0a
·
1 Parent(s): 9d2ac89

Update parquet files

Browse files
Files changed (4) hide show
  1. .gitattributes +0 -37
  2. Paul--hatecheck/csv-test.parquet +3 -0
  3. README.md +0 -103
  4. test.csv +0 -0
.gitattributes DELETED
@@ -1,37 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
28
- # Audio files - uncompressed
29
- *.pcm filter=lfs diff=lfs merge=lfs -text
30
- *.sam filter=lfs diff=lfs merge=lfs -text
31
- *.raw filter=lfs diff=lfs merge=lfs -text
32
- # Audio files - compressed
33
- *.aac filter=lfs diff=lfs merge=lfs -text
34
- *.flac filter=lfs diff=lfs merge=lfs -text
35
- *.mp3 filter=lfs diff=lfs merge=lfs -text
36
- *.ogg filter=lfs diff=lfs merge=lfs -text
37
- *.wav filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Paul--hatecheck/csv-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f79faa2da0bdc9ca89bee28c6c5db9416c8228f6ec7f1f4211a414d6d866bd20
3
+ size 151994
README.md DELETED
@@ -1,103 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - crowdsourced
4
- language_creators:
5
- - expert-generated
6
- language:
7
- - en
8
- license:
9
- - cc-by-4.0
10
- multilinguality:
11
- - monolingual
12
- pretty_name: HateCheck
13
- size_categories:
14
- - 1K<n<10K
15
- source_datasets:
16
- - original
17
- task_categories:
18
- - text-classification
19
- task_ids:
20
- - hate-speech-detection
21
- ---
22
-
23
- # Dataset Card for HateCheck
24
-
25
- ## Dataset Description
26
-
27
- HateCheck is a suite of functional test for hate speech detection models.
28
- The dataset contains 3,728 validated test cases in 29 functional tests.
29
- 19 functional tests correspond to distinct types of hate. The other 11 functional tests cover challenging types of non-hate.
30
- This allows for targeted diagnostic insights into model performance.
31
-
32
- In our ACL paper, we found critical weaknesses in all commercial and academic hate speech detection model that we tested with HateCheck.
33
- Please refer to the paper (linked below) for results and further discussion, as well as further information on the dataset and a full data statement.
34
-
35
- - **Paper:** Röttger et al. (2021) - HateCheck: Functional Tests for Hate Speech Detection Model. https://aclanthology.org/2021.acl-long.4/ or https://arxiv.org/abs/2012.15606
36
- - **Repository:** https://github.com/paul-rottger/hatecheck-data
37
- - **Point of Contact:** paul.rottger@oii.ox.ac.uk
38
-
39
-
40
- ## Dataset Structure
41
-
42
- "test.csv" contains all 3,728 validated test cases. Each test case (row) has the following attributes:
43
-
44
- **functionality**
45
- The shorthand for the functionality tested by the test case.
46
-
47
- **case_id**
48
- The unique ID of the test case (assigned to each of the 3,901 cases we initially generated)
49
-
50
- **test_case**
51
- The text of the test case.
52
-
53
- **label_gold**
54
- The gold standard label (hateful/non-hateful) of the test case. All test cases within a given functionality have the same gold standard label.
55
-
56
- **target_ident**
57
- Where applicable, the protected group targeted or referenced by the test case. We cover seven protected groups in the test suite: women, trans people, gay people, black people, disabled people, Muslims and immigrants.
58
-
59
- **direction**
60
- For hateful cases, the binary secondary label indicating whether they are *directed* at an individual as part of a protected group or aimed at the group in *general*.
61
-
62
- **focus_words**
63
- Where applicable, the key word or phrase in a given test case (e.g. "cut their throats").
64
-
65
- **focus_lemma**
66
- Where applicable, the corresponding lemma (e.g. "cut sb. throat").
67
-
68
- **ref_case_id**
69
- For hateful cases, where applicable, the ID of the simpler hateful case which was perturbed to generate them.
70
- For non-hateful cases, where applicable, the ID of the hateful case which is contrasted.
71
-
72
- **ref_templ_id**
73
- The equivalent, but for template IDs.
74
-
75
- **templ_id**
76
- The unique ID of the template from which the test case was generated (assigned to each of the 866 cases and templates from which we generated the 3,901 initial cases).
77
-
78
-
79
- ## Citation Information
80
-
81
- When using HateCheck, please cite our ACL paper:
82
-
83
- @inproceedings{rottger-etal-2021-hatecheck,
84
- title = "{H}ate{C}heck: Functional Tests for Hate Speech Detection Models",
85
- author = {R{\"o}ttger, Paul and
86
- Vidgen, Bertie and
87
- Nguyen, Dong and
88
- Waseem, Zeerak and
89
- Margetts, Helen and
90
- Pierrehumbert, Janet},
91
- booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
92
- month = aug,
93
- year = "2021",
94
- address = "Online",
95
- publisher = "Association for Computational Linguistics",
96
- url = "https://aclanthology.org/2021.acl-long.4",
97
- doi = "10.18653/v1/2021.acl-long.4",
98
- pages = "41--58",
99
- abstract = "Detecting online hate is a difficult task that even state-of-the-art models struggle with. Typically, hate speech detection models are evaluated by measuring their performance on held-out test data using metrics such as accuracy and F1 score. However, this approach makes it difficult to identify specific model weak points. It also risks overestimating generalisable model performance due to increasingly well-evidenced systematic gaps and biases in hate speech datasets. To enable more targeted diagnostic insights, we introduce HateCheck, a suite of functional tests for hate speech detection models. We specify 29 model functionalities motivated by a review of previous research and a series of interviews with civil society stakeholders. We craft test cases for each functionality and validate their quality through a structured annotation process. To illustrate HateCheck{'}s utility, we test near-state-of-the-art transformer models as well as two popular commercial models, revealing critical model weaknesses.",
100
- }
101
-
102
-
103
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
test.csv DELETED
The diff for this file is too large to render. See raw diff