asofter commited on
Commit
f5c4371
1 Parent(s): bb125d0

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +65 -0
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unitary/unbiased-toxic-roberta",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "function_to_apply": "sigmoid",
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "toxicity",
17
+ "1": "severe_toxicity",
18
+ "2": "obscene",
19
+ "3": "identity_attack",
20
+ "4": "insult",
21
+ "5": "threat",
22
+ "6": "sexual_explicit",
23
+ "7": "male",
24
+ "8": "female",
25
+ "9": "homosexual_gay_or_lesbian",
26
+ "10": "christian",
27
+ "11": "jewish",
28
+ "12": "muslim",
29
+ "13": "black",
30
+ "14": "white",
31
+ "15": "psychiatric_or_mental_illness"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "black": 13,
37
+ "christian": 10,
38
+ "female": 8,
39
+ "homosexual_gay_or_lesbian": 9,
40
+ "identity_attack": 3,
41
+ "insult": 4,
42
+ "jewish": 11,
43
+ "male": 7,
44
+ "muslim": 12,
45
+ "obscene": 2,
46
+ "psychiatric_or_mental_illness": 15,
47
+ "severe_toxicity": 1,
48
+ "sexual_explicit": 6,
49
+ "threat": 5,
50
+ "toxicity": 0,
51
+ "white": 14
52
+ },
53
+ "layer_norm_eps": 1e-05,
54
+ "max_position_embeddings": 514,
55
+ "model_type": "roberta",
56
+ "num_attention_heads": 12,
57
+ "num_hidden_layers": 12,
58
+ "pad_token_id": 1,
59
+ "position_embedding_type": "absolute",
60
+ "problem_type": "multi_label_classification",
61
+ "transformers_version": "4.35.0",
62
+ "type_vocab_size": 1,
63
+ "use_cache": true,
64
+ "vocab_size": 50265
65
+ }