JaviBJ commited on
Commit
d6d864b
1 Parent(s): 897cbea
Files changed (2) hide show
  1. config.json +10 -1
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "xlm-roberta-base",
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:ca42cdebed8316b9f4f5f0278aad18fdad700f0ada5a7d0196aca44f9d7ac90a
3
- size 1112266065
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4b9442b35554a19f40ac8a0d67d85d702e8f7217f844673d3d8e9c68a4e52c9
3
+ size 1112266429