jplu commited on
Commit
8213f6a
1 Parent(s): b658db8

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +64 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bstrai/multilingual-toxic-xlm-roberta",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "toxicity",
15
+ "1": "severe_toxicity",
16
+ "2": "obscene",
17
+ "3": "identity_attack",
18
+ "4": "insult",
19
+ "5": "threat",
20
+ "6": "sexual_explicit",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8",
23
+ "9": "LABEL_9",
24
+ "10": "LABEL_10",
25
+ "11": "LABEL_11",
26
+ "12": "LABEL_12",
27
+ "13": "LABEL_13",
28
+ "14": "LABEL_14",
29
+ "15": "LABEL_15"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "LABEL_10": 10,
35
+ "LABEL_11": 11,
36
+ "LABEL_12": 12,
37
+ "LABEL_13": 13,
38
+ "LABEL_14": 14,
39
+ "LABEL_15": 15,
40
+ "LABEL_7": 7,
41
+ "LABEL_8": 8,
42
+ "LABEL_9": 9,
43
+ "identity_attack": 3,
44
+ "insult": 4,
45
+ "obscene": 2,
46
+ "severe_toxicity": 1,
47
+ "sexual_explicit": 6,
48
+ "threat": 5,
49
+ "toxicity": 0
50
+ },
51
+ "layer_norm_eps": 1e-05,
52
+ "max_position_embeddings": 514,
53
+ "model_type": "xlm-roberta",
54
+ "num_attention_heads": 12,
55
+ "num_hidden_layers": 12,
56
+ "output_past": true,
57
+ "pad_token_id": 1,
58
+ "position_embedding_type": "absolute",
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.25.1",
61
+ "type_vocab_size": 1,
62
+ "use_cache": true,
63
+ "vocab_size": 250002
64
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e08c59b5b91cfaff4ad542e05b0981c2a55f4be64a5f50e8554bcf97de7ce000
3
+ size 1112294389