parquet-converter
commited on
Commit
•
270b792
1
Parent(s):
9062568
Update parquet files
Browse files- .gitignore +0 -2
- README.md +0 -102
- heegyu--toxic-spans/csv-test.parquet +3 -0
- heegyu--toxic-spans/csv-train.parquet +3 -0
- test.csv +0 -0
- train.csv +0 -0
.gitignore
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
*.ipynb
|
2 |
-
toxic_spans.csv
|
|
|
|
|
|
README.md
DELETED
@@ -1,102 +0,0 @@
|
|
1 |
-
---
|
2 |
-
license: cc0-1.0
|
3 |
-
---
|
4 |
-
# Toxic Spans
|
5 |
-
TOXICSPANS contains the 11,035 posts we annotated for toxic spans. The unique posts are actually 11,006, since a few were duplicates and were removed in subsequent experiments. A few other posts were used as quiz questions to check the reliability of candidate annotators and were also discarded in subsequent experiments.
|
6 |
-
|
7 |
-
original data from https://github.com/ipavlopoulos/toxic_spans/tree/master/ACL2022
|
8 |
-
|
9 |
-
- 10006 train set
|
10 |
-
- 1000 test set
|
11 |
-
|
12 |
-
## Columns
|
13 |
-
- probability = a dict with the first and the last character offsets of each token (that was rated by at least one annotator as toxic) as a key, and the average toxicity as a value
|
14 |
-
- position = the character offsets of all the toxic spans(avg toxicity > 50%) found by the annotators (ground truth)
|
15 |
-
- text = the average toxicity of each token that was rated by at least one annotator as toxic
|
16 |
-
- type = the type of toxicity of each toxic span
|
17 |
-
- support = the number of annotators per post
|
18 |
-
- text_of_post = the text of the post
|
19 |
-
- position_probability = the average toxicity of each character offset that was found by at least one annotator as toxic
|
20 |
-
- toxic = (Not in original) If the probability of at least 1 token is greather than 0.5
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
### Sample
|
25 |
-
```
|
26 |
-
{
|
27 |
-
"probability": {
|
28 |
-
"(5, 11)": 1.0,
|
29 |
-
"(286, 294)": 0.6666666667,
|
30 |
-
"(120, 126)": 0.6666666667,
|
31 |
-
"(350, 356)": 0.6666666667
|
32 |
-
},
|
33 |
-
"position": [
|
34 |
-
5,
|
35 |
-
6,
|
36 |
-
7,
|
37 |
-
8,
|
38 |
-
9,
|
39 |
-
10,
|
40 |
-
120,
|
41 |
-
121,
|
42 |
-
122,
|
43 |
-
123,
|
44 |
-
124,
|
45 |
-
125,
|
46 |
-
286,
|
47 |
-
287,
|
48 |
-
288,
|
49 |
-
289,
|
50 |
-
290,
|
51 |
-
291,
|
52 |
-
292,
|
53 |
-
293,
|
54 |
-
350,
|
55 |
-
351,
|
56 |
-
352,
|
57 |
-
353,
|
58 |
-
354,
|
59 |
-
355
|
60 |
-
],
|
61 |
-
"text": {
|
62 |
-
"stupid": 1.0,
|
63 |
-
"ignorant": 0.6666666667,
|
64 |
-
"Stupid": 0.6666666667
|
65 |
-
},
|
66 |
-
"type": {
|
67 |
-
"profane\/obscene": 0.3333333333,
|
68 |
-
"insult": 0.6666666667
|
69 |
-
},
|
70 |
-
"support": 3,
|
71 |
-
"text_of_post": "Yes, stupid on steroids does afflict the nation. The biggest problem, of course, is they either don't see themselves as stupid, or are so proud of the fact they are they have no intention of remedying the situation. In fact, that's the definition of stupid in my book: You know you're ignorant, proud of it, and have no intention of alleviating it. Stupid. \n\nI wonder how they'd like their doctors to say to them \"Oh, I didn't go to medical school; that's for elites. The need for a formal education is fake news. I studied at home for a couple of years and got an alternative medical education. Trust me, I'm as good a doctor as any. Now, when did you want to schedule that surgery?\" I wonder how they'd like an unlicensed pilot in charge of getting them from point A to Point B? \n\nI think they're all just lazy. They want all the benefits of an education, but don't want to put in the time.",
|
72 |
-
"position_probability": {
|
73 |
-
"5": 1.0,
|
74 |
-
"6": 1.0,
|
75 |
-
"7": 1.0,
|
76 |
-
"8": 1.0,
|
77 |
-
"9": 1.0,
|
78 |
-
"10": 1.0,
|
79 |
-
"286": 0.6666666667,
|
80 |
-
"287": 0.6666666667,
|
81 |
-
"288": 0.6666666667,
|
82 |
-
"289": 0.6666666667,
|
83 |
-
"290": 0.6666666667,
|
84 |
-
"291": 0.6666666667,
|
85 |
-
"292": 0.6666666667,
|
86 |
-
"293": 0.6666666667,
|
87 |
-
"120": 0.6666666667,
|
88 |
-
"121": 0.6666666667,
|
89 |
-
"122": 0.6666666667,
|
90 |
-
"123": 0.6666666667,
|
91 |
-
"124": 0.6666666667,
|
92 |
-
"125": 0.6666666667,
|
93 |
-
"350": 0.6666666667,
|
94 |
-
"351": 0.6666666667,
|
95 |
-
"352": 0.6666666667,
|
96 |
-
"353": 0.6666666667,
|
97 |
-
"354": 0.6666666667,
|
98 |
-
"355": 0.6666666667
|
99 |
-
},
|
100 |
-
"toxic": true
|
101 |
-
}
|
102 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
heegyu--toxic-spans/csv-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:239331917a4258f129a81b5a467187cc183f50dd6b7e3b42bc4cd831baeb316d
|
3 |
+
size 296088
|
heegyu--toxic-spans/csv-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2baff4bf86e567f62ee39ad8b4d9eabe966a17f1639521e2f656990993b67c9c
|
3 |
+
size 2924052
|
test.csv
DELETED
The diff for this file is too large to render.
See raw diff
|
|
train.csv
DELETED
The diff for this file is too large to render.
See raw diff
|
|