5roop commited on
Commit
71550b3
1 Parent(s): cb6d434

Added metadata

Browse files
Files changed (1) hide show
  1. README.md +25 -6
README.md CHANGED
@@ -8,17 +8,34 @@ licenses:
8
  task_categories:
9
  - text-classification
10
 
 
 
 
 
 
 
11
  ---
12
 
13
- # Offensive language dataset of Croatian, English and Slovenian comments FRENK 1.0
14
 
15
- The original FRENK dataset consists of comments to Facebook posts (news articles) of mainstream media outlets from Croatia, Great Britain, and Slovenia, on the topics of migrants and LGBT. The dataset contains whole discussion threads. Each comment is annotated by the type of socially unacceptable discourse (e.g., inappropriate, offensive, violent speech) and its target (e.g., migrants/LGBT, commenters, media). The annotation schema is described in detail in [https://arxiv.org/pdf/1906.02045.pdf]. Usernames in the metadata are pseudo-anonymised and removed from the comments.
 
 
 
 
 
 
 
16
 
17
- The data in each language (Croatian (hr), English (en), Slovenian (sl), and topic (migrants, LGBT) is divided into a training and a testing portion. The training and testing data consist of separate discussion threads, i.e., there is no cross-discussion-thread contamination between training and testing data. The sizes of the splits are the following: Croatian, migrants: 4356 training comments, 978 testing comments; Croatian LGBT: 4494 training comments, 1142 comments; English, migrants: 4540 training comments, 1285 testing comments; English, LGBT: 4819 training comments, 1017 testing comments; Slovenian, migrants: 5145 training comments, 1277 testing comments; Slovenian, LGBT: 2842 training comments, 900 testing comments.
 
 
 
 
 
18
 
19
  For this dataset only the Croatian data was used. Training segment has been split into beginning 90% (published here as training split) and end 10% (published here as dev split).
20
 
21
- # Usage in `Transformers`
22
 
23
  ```python
24
  import datasets
@@ -53,14 +70,15 @@ _CLASS_MAP_MULTICLASS = {
53
  }
54
  ```
55
 
56
- # Data structure
57
 
58
  * `text`: text
59
  * `target`: who is the target of the hate-speech text ("no target", "commenter", "target" (migrants or LGBT, depending on the topic), or "related to" (again, the topic))
60
  * `topic`: whether the text relates to lgbt or migrants hate-speech domains
61
  * `label`: label of the text instance, see above.
62
 
63
- # Data instance
 
64
 
65
  ```
66
  {'text': 'Otroci so odprti in brez predsodkov.Predsodke jim vcepimo starejši,starši,družba,družina...Če otroku lepo razložimo,razume.Nikoli ni dobro,da omejujemo otroka,njegovo inteligenco in duhovnost z lastnim ne razumevanjem nečesa ali nekoga.Predsodek je miselni zapor,prepreka,da bi bili svobodni.Ljubezen je svoboda.Sem ZA spremembo zakona!Srečno :D',
@@ -69,6 +87,7 @@ _CLASS_MAP_MULTICLASS = {
69
  'label': 0}
70
  ```
71
 
 
72
 
73
  When using this dataset please cite the following paper:
74
 
 
8
  task_categories:
9
  - text-classification
10
 
11
+ task_ids:
12
+ - text-classification-other-hate-speech-detection
13
+ - text-classification-other-offensive-language
14
+
15
+ size_categories:
16
+ - 1K<n<10K
17
  ---
18
 
 
19
 
20
+ Slovenian subset of the [FRENK dataset](http://hdl.handle.net/11356/1433). Also available on HuggingFace dataset hub: [English subset](https://huggingface.co/datasets/5roop/FRENK-hate-en), [Croatian subset](https://huggingface.co/datasets/5roop/FRENK-hate-hr).
21
+
22
+ ## Dataset Description
23
+
24
+ - **Homepage:** http://hdl.handle.net/11356/1433
25
+ - **Repository:** http://hdl.handle.net/11356/1433
26
+ - **Paper:** https://arxiv.org/abs/1906.02045
27
+ - **Project page** https://nl.ijs.si/frenk/
28
 
29
+
30
+ ## Description of the original dataset
31
+
32
+ >The original FRENK dataset consists of comments to Facebook posts (news articles) of mainstream media outlets from Croatia, Great Britain, and Slovenia, on the topics of migrants and LGBT. The dataset contains whole discussion threads. Each comment is annotated by the type of socially unacceptable discourse (e.g., inappropriate, offensive, violent speech) and its target (e.g., migrants/LGBT, commenters, media). The annotation schema is described in detail in [https://arxiv.org/pdf/1906.02045.pdf]. Usernames in the metadata are pseudo-anonymised and removed from the comments.
33
+ >
34
+ >The data in each language (Croatian (hr), English (en), Slovenian (sl), and topic (migrants, LGBT) is divided into a training and a testing portion. The training and testing data consist of separate discussion threads, i.e., there is no cross-discussion-thread contamination between training and testing data. The sizes of the splits are the following: Croatian, migrants: 4356 training comments, 978 testing comments; Croatian LGBT: 4494 training comments, 1142 comments; English, migrants: 4540 training comments, 1285 testing comments; English, LGBT: 4819 training comments, 1017 testing comments; Slovenian, migrants: 5145 training comments, 1277 testing comments; Slovenian, LGBT: 2842 training comments, 900 testing comments.
35
 
36
  For this dataset only the Croatian data was used. Training segment has been split into beginning 90% (published here as training split) and end 10% (published here as dev split).
37
 
38
+ ## Usage in `Transformers`
39
 
40
  ```python
41
  import datasets
 
70
  }
71
  ```
72
 
73
+ ## Data structure
74
 
75
  * `text`: text
76
  * `target`: who is the target of the hate-speech text ("no target", "commenter", "target" (migrants or LGBT, depending on the topic), or "related to" (again, the topic))
77
  * `topic`: whether the text relates to lgbt or migrants hate-speech domains
78
  * `label`: label of the text instance, see above.
79
 
80
+ ## Data instance
81
+
82
 
83
  ```
84
  {'text': 'Otroci so odprti in brez predsodkov.Predsodke jim vcepimo starejši,starši,družba,družina...Če otroku lepo razložimo,razume.Nikoli ni dobro,da omejujemo otroka,njegovo inteligenco in duhovnost z lastnim ne razumevanjem nečesa ali nekoga.Predsodek je miselni zapor,prepreka,da bi bili svobodni.Ljubezen je svoboda.Sem ZA spremembo zakona!Srečno :D',
 
87
  'label': 0}
88
  ```
89
 
90
+ ## Citation information
91
 
92
  When using this dataset please cite the following paper:
93