saved labels and id mappings to configs
Browse files- config.json +15 -15
- tf_model.h5 +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
@@ -12,24 +12,24 @@
|
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|
| 14 |
"id2label": {
|
| 15 |
-
"0": "
|
| 16 |
-
"1": "
|
| 17 |
-
"2": "
|
| 18 |
-
"3": "
|
| 19 |
-
"4": "
|
| 20 |
-
"5": "
|
| 21 |
-
"6": "
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|
| 25 |
"label2id": {
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
},
|
| 34 |
"layer_norm_eps": 1e-05,
|
| 35 |
"max_position_embeddings": 514,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "khailai/roberta-offensive-classifier",
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 12 |
"hidden_dropout_prob": 0.1,
|
| 13 |
"hidden_size": 768,
|
| 14 |
"id2label": {
|
| 15 |
+
"0": "disability",
|
| 16 |
+
"1": "gender/sexual orientation",
|
| 17 |
+
"2": "none",
|
| 18 |
+
"3": "other",
|
| 19 |
+
"4": "race/nationality",
|
| 20 |
+
"5": "religion",
|
| 21 |
+
"6": "socioeconomic"
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|
| 25 |
"label2id": {
|
| 26 |
+
"disability": 0,
|
| 27 |
+
"gender/sexual orientation": 1,
|
| 28 |
+
"none": 2,
|
| 29 |
+
"other": 3,
|
| 30 |
+
"race/nationality": 4,
|
| 31 |
+
"religion": 5,
|
| 32 |
+
"socioeconomic": 6
|
| 33 |
},
|
| 34 |
"layer_norm_eps": 1e-05,
|
| 35 |
"max_position_embeddings": 514,
|
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498893696
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:952531bf5b265620bba823127a618b9aee00640e2fa0bf0af9de55c148ae6857
|
| 3 |
size 498893696
|