add model
Browse files- config.json +10 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "xlm-
|
3 |
"architectures": [
|
4 |
"XLMRobertaForSequenceClassification"
|
5 |
],
|
@@ -11,8 +11,16 @@
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
14 |
"initializer_range": 0.02,
|
15 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
16 |
"layer_norm_eps": 1e-05,
|
17 |
"max_position_embeddings": 514,
|
18 |
"model_type": "xlm-roberta",
|
@@ -21,6 +29,7 @@
|
|
21 |
"output_past": true,
|
22 |
"pad_token_id": 1,
|
23 |
"position_embedding_type": "absolute",
|
|
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.10.2",
|
26 |
"type_vocab_size": 1,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "xlm-r-finetuned-toxic-political-tweets-es",
|
3 |
"architectures": [
|
4 |
"XLMRobertaForSequenceClassification"
|
5 |
],
|
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "toxic",
|
16 |
+
"1": "very toxic"
|
17 |
+
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"toxic": 0,
|
22 |
+
"very toxic": 1
|
23 |
+
},
|
24 |
"layer_norm_eps": 1e-05,
|
25 |
"max_position_embeddings": 514,
|
26 |
"model_type": "xlm-roberta",
|
|
|
29 |
"output_past": true,
|
30 |
"pad_token_id": 1,
|
31 |
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "multi_label_classification",
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.10.2",
|
35 |
"type_vocab_size": 1,
|
pytorch_model.bin
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:c4b9442b35554a19f40ac8a0d67d85d702e8f7217f844673d3d8e9c68a4e52c9
|
3 |
+
size 1112266429
|