Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Sub-tasks:
multi-class-classification
Languages:
Portuguese
Size:
1K - 10K
ArXiv:
License:
joelniklaus
commited on
Commit
•
31ca8e7
1
Parent(s):
7f3d668
removed different configuration because of missing native huggingface support
Browse files- .gitattributes +3 -6
- README.md +9 -8
- convert_to_hf_dataset.py +6 -6
- judgment/test.jsonl +0 -3
- judgment/train.jsonl +0 -3
- judgment/validation.jsonl +0 -3
- test.jsonl +0 -0
- train.jsonl +0 -0
- unanimity/test.jsonl +0 -3
- unanimity/train.jsonl +0 -3
- unanimity/validation.jsonl +0 -3
- validation.jsonl +0 -0
.gitattributes
CHANGED
@@ -35,9 +35,6 @@ saved_model/**/* 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
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
unanimity/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
42 |
-
unanimity/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
43 |
-
unanimity/validation.jsonl 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
|
38 |
+
test.jsonl filter=lfs diff=lfs merge=lfs -text
|
39 |
+
train.jsonl filter=lfs diff=lfs merge=lfs -text
|
40 |
+
validation.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
README.md
CHANGED
@@ -5,7 +5,7 @@ language_creators:
|
|
5 |
- found
|
6 |
languages:
|
7 |
- pt
|
8 |
-
|
9 |
- 'other'
|
10 |
multilinguality:
|
11 |
- monolingual
|
@@ -112,7 +112,7 @@ The dataset contains the following fields:
|
|
112 |
|
113 |
The data has been split randomly into 80% train (3234), 10% validation (404), 10% test (405).
|
114 |
|
115 |
-
There
|
116 |
|
117 |
#### Judgment
|
118 |
Label Distribution
|
@@ -126,15 +126,16 @@ Label Distribution
|
|
126 |
|
127 |
#### Unanimity
|
128 |
|
129 |
-
In this configuration, all cases that have `not_determined` as `unanimity_label`
|
130 |
|
131 |
Label Distribution
|
132 |
|
133 |
-
| unanimity_label
|
134 |
-
|
135 |
-
|
|
136 |
-
|
|
137 |
-
|
|
|
|
138 |
|
139 |
## Dataset Creation
|
140 |
|
|
|
5 |
- found
|
6 |
languages:
|
7 |
- pt
|
8 |
+
licenses:
|
9 |
- 'other'
|
10 |
multilinguality:
|
11 |
- monolingual
|
|
|
112 |
|
113 |
The data has been split randomly into 80% train (3234), 10% validation (404), 10% test (405).
|
114 |
|
115 |
+
There are two tasks possible for this dataset.
|
116 |
|
117 |
#### Judgment
|
118 |
Label Distribution
|
|
|
126 |
|
127 |
#### Unanimity
|
128 |
|
129 |
+
In this configuration, all cases that have `not_determined` as `unanimity_label` can be removed.
|
130 |
|
131 |
Label Distribution
|
132 |
|
133 |
+
| unanimity_label | train | validation | test |
|
134 |
+
|:-----------------|----------:|---------------:|---------:|
|
135 |
+
| not_determined | 1519 | 193 | 201 |
|
136 |
+
| unanimity | 1681 | 205 | 200 |
|
137 |
+
| not-unanimity | 34 | 6 | 4 |
|
138 |
+
| **total** | **3234** | **404** | **405** |
|
139 |
|
140 |
## Dataset Creation
|
141 |
|
convert_to_hf_dataset.py
CHANGED
@@ -117,16 +117,16 @@ def print_split_table_single_label(train, validation, test, label_name):
|
|
117 |
print(table.to_markdown(index=False))
|
118 |
|
119 |
|
120 |
-
save_splits_to_jsonl("
|
121 |
|
122 |
print_split_table_single_label(train, validation, test, "judgment_label")
|
|
|
123 |
|
124 |
# create second config by filtering out rows with unanimity label == not_determined, while keeping the same splits
|
125 |
-
train = train[train.unanimity_label != "not_determined"]
|
126 |
-
validation = validation[validation.unanimity_label != "not_determined"]
|
127 |
-
test = test[test.unanimity_label != "not_determined"]
|
128 |
|
129 |
-
print_split_table_single_label(train, validation, test, "unanimity_label")
|
130 |
|
131 |
# it is a very small dataset and very imbalanced (only very few not-unanimity labels)
|
132 |
-
save_splits_to_jsonl("unanimity")
|
|
|
117 |
print(table.to_markdown(index=False))
|
118 |
|
119 |
|
120 |
+
save_splits_to_jsonl("")
|
121 |
|
122 |
print_split_table_single_label(train, validation, test, "judgment_label")
|
123 |
+
print_split_table_single_label(train, validation, test, "unanimity_label")
|
124 |
|
125 |
# create second config by filtering out rows with unanimity label == not_determined, while keeping the same splits
|
126 |
+
# train = train[train.unanimity_label != "not_determined"]
|
127 |
+
# validation = validation[validation.unanimity_label != "not_determined"]
|
128 |
+
# test = test[test.unanimity_label != "not_determined"]
|
129 |
|
|
|
130 |
|
131 |
# it is a very small dataset and very imbalanced (only very few not-unanimity labels)
|
132 |
+
# save_splits_to_jsonl("unanimity")
|
judgment/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d6c0146d6e7548c509863241dc6fc95da4ca7ebd25581d10fbe3ec556f7357ad
|
3 |
-
size 841329
|
|
|
|
|
|
|
|
judgment/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:3578449d16081bf91b9dcaf8a4f08dec069386ac035e8572d24199789a9313db
|
3 |
-
size 6750572
|
|
|
|
|
|
|
|
judgment/validation.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:804396f74bb430d57554310679c019ac6e9bbfcc56066e1ff9a4608c4d94a4bb
|
3 |
-
size 852159
|
|
|
|
|
|
|
|
test.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
train.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unanimity/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:dd5e8cdc60b59f652a72866c1fa7e3a162e30f52ff6b7a90144999d69ba679c4
|
3 |
-
size 465080
|
|
|
|
|
|
|
|
unanimity/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:23ed9d12ccfc215087919230ea43cbf17e267a726f00ea4e6b040b69797c4368
|
3 |
-
size 3781643
|
|
|
|
|
|
|
|
unanimity/validation.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7b7bdb27ac581ded9e0d8841254937b514428435d4e6820ae045a6ed9b9d2fc6
|
3 |
-
size 475936
|
|
|
|
|
|
|
|
validation.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|