igorktech commited on
Commit
9c028a1
1 Parent(s): 734f620

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +42 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "models/bert-toxic_onnx_pruned/config.json",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "emb_size": 312,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 312,
13
+ "id2label": {
14
+ "0": "non-toxic",
15
+ "1": "insult",
16
+ "2": "obscenity",
17
+ "3": "threat",
18
+ "4": "dangerous"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 600,
22
+ "label2id": {
23
+ "dangerous": 4,
24
+ "insult": 1,
25
+ "non-toxic": 0,
26
+ "obscenity": 2,
27
+ "threat": 3
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "bert",
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 3,
34
+ "pad_token_id": 0,
35
+ "position_embedding_type": "absolute",
36
+ "problem_type": "multi_label_classification",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.31.0",
39
+ "type_vocab_size": 2,
40
+ "use_cache": true,
41
+ "vocab_size": 29564
42
+ }