Upload RobertaForSequenceClassification
Browse files- README.md +3 -3
- config.json +5 -3
- 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 |
],
|
@@ -16,13 +16,15 @@
|
|
16 |
"2": "sex",
|
17 |
"3": "drugs",
|
18 |
"4": "selfharm",
|
19 |
-
"5": "spam"
|
|
|
20 |
},
|
21 |
"initializer_range": 0.02,
|
22 |
"intermediate_size": 4096,
|
23 |
"label2id": {
|
24 |
"conflictual": 0,
|
25 |
"drugs": 3,
|
|
|
26 |
"profanity": 1,
|
27 |
"selfharm": 4,
|
28 |
"sex": 2,
|
@@ -37,7 +39,7 @@
|
|
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-large_seven-labels/multilabel/best_model",
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
|
|
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": 4096,
|
24 |
"label2id": {
|
25 |
"conflictual": 0,
|
26 |
"drugs": 3,
|
27 |
+
"not-sensitive": 6,
|
28 |
"profanity": 1,
|
29 |
"selfharm": 4,
|
30 |
"sex": 2,
|
|
|
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:e20705b5f23678bf6b0f51de8711bdb16e56e25901575b689a6f52f1de861d11
|
3 |
+
size 1421515916
|