Upload RobertaForSequenceClassification
Browse files- README.md +3 -3
- config.json +9 -7
- model.safetensors +2 -2
README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
-
|
5 |
-
- text: Call me today to earn some money mofos!
|
6 |
datasets:
|
7 |
- cardiffnlp/x_sensitive
|
8 |
-
license: mit
|
9 |
metrics:
|
10 |
- f1
|
|
|
|
|
11 |
pipeline_tag: text-classification
|
12 |
---
|
13 |
|
|
|
1 |
---
|
2 |
language:
|
3 |
- en
|
4 |
+
license: mit
|
|
|
5 |
datasets:
|
6 |
- cardiffnlp/x_sensitive
|
|
|
7 |
metrics:
|
8 |
- f1
|
9 |
+
widget:
|
10 |
+
- text: Call me today to earn some money mofos!
|
11 |
pipeline_tag: text-classification
|
12 |
---
|
13 |
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/home/dimosthenisa/Desktop/sensitive_content/code/experiments/mlm_models/troberta-
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
@@ -9,20 +9,22 @@
|
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size":
|
13 |
"id2label": {
|
14 |
"0": "conflictual",
|
15 |
"1": "profanity",
|
16 |
"2": "sex",
|
17 |
"3": "drugs",
|
18 |
"4": "selfharm",
|
19 |
-
"5": "spam"
|
|
|
20 |
},
|
21 |
"initializer_range": 0.02,
|
22 |
-
"intermediate_size":
|
23 |
"label2id": {
|
24 |
"conflictual": 0,
|
25 |
"drugs": 3,
|
|
|
26 |
"profanity": 1,
|
27 |
"selfharm": 4,
|
28 |
"sex": 2,
|
@@ -31,13 +33,13 @@
|
|
31 |
"layer_norm_eps": 1e-05,
|
32 |
"max_position_embeddings": 514,
|
33 |
"model_type": "roberta",
|
34 |
-
"num_attention_heads":
|
35 |
-
"num_hidden_layers":
|
36 |
"pad_token_id": 1,
|
37 |
"position_embedding_type": "absolute",
|
38 |
"problem_type": "multi_label_classification",
|
39 |
"torch_dtype": "float32",
|
40 |
-
"transformers_version": "4.
|
41 |
"type_vocab_size": 1,
|
42 |
"use_cache": true,
|
43 |
"vocab_size": 50265
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/dimosthenisa/Desktop/sensitive_content/code/experiments/mlm_models/troberta-base_seven-labels/multilabel/best_model",
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
|
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
"0": "conflictual",
|
15 |
"1": "profanity",
|
16 |
"2": "sex",
|
17 |
"3": "drugs",
|
18 |
"4": "selfharm",
|
19 |
+
"5": "spam",
|
20 |
+
"6": "not-sensitive"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
"conflictual": 0,
|
26 |
"drugs": 3,
|
27 |
+
"not-sensitive": 6,
|
28 |
"profanity": 1,
|
29 |
"selfharm": 4,
|
30 |
"sex": 2,
|
|
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"max_position_embeddings": 514,
|
35 |
"model_type": "roberta",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
"pad_token_id": 1,
|
39 |
"position_embedding_type": "absolute",
|
40 |
"problem_type": "multi_label_classification",
|
41 |
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.39.3",
|
43 |
"type_vocab_size": 1,
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 50265
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c19bbdab3c5346a48db36d125c579a30ab8b579668064b2d335d7f376c8ee4b
|
3 |
+
size 498628204
|