synapti commited on
Commit
72cd9fd
·
verified ·
1 Parent(s): 9c80d2f

Add ONNX model export: config.json

Browse files
Files changed (1) hide show
  1. onnx/config.json +90 -0
onnx/config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "synapti/nci-technique-classifier-v2",
4
+ "architectures": [
5
+ "ModernBertForSequenceClassification"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 50281,
10
+ "classifier_activation": "gelu",
11
+ "classifier_bias": false,
12
+ "classifier_dropout": 0.0,
13
+ "classifier_pooling": "mean",
14
+ "cls_token_id": 50281,
15
+ "decoder_bias": true,
16
+ "deterministic_flash_attn": false,
17
+ "dtype": "float32",
18
+ "embedding_dropout": 0.0,
19
+ "eos_token_id": 50282,
20
+ "global_attn_every_n_layers": 3,
21
+ "global_rope_theta": 160000.0,
22
+ "gradient_checkpointing": false,
23
+ "hidden_activation": "gelu",
24
+ "hidden_size": 768,
25
+ "id2label": {
26
+ "0": "Loaded_Language",
27
+ "1": "Appeal_to_fear-prejudice",
28
+ "2": "Exaggeration,Minimisation",
29
+ "3": "Repetition",
30
+ "4": "Flag-Waving",
31
+ "5": "Name_Calling,Labeling",
32
+ "6": "Reductio_ad_hitlerum",
33
+ "7": "Black-and-White_Fallacy",
34
+ "8": "Causal_Oversimplification",
35
+ "9": "Whataboutism,Straw_Men,Red_Herring",
36
+ "10": "Straw_Man",
37
+ "11": "Red_Herring",
38
+ "12": "Doubt",
39
+ "13": "Appeal_to_Authority",
40
+ "14": "Thought-terminating_Cliches",
41
+ "15": "Bandwagon",
42
+ "16": "Slogans",
43
+ "17": "Obfuscation,Intentional_Vagueness,Confusion"
44
+ },
45
+ "initializer_cutoff_factor": 2.0,
46
+ "initializer_range": 0.02,
47
+ "intermediate_size": 1152,
48
+ "label2id": {
49
+ "Appeal_to_Authority": 13,
50
+ "Appeal_to_fear-prejudice": 1,
51
+ "Bandwagon": 15,
52
+ "Black-and-White_Fallacy": 7,
53
+ "Causal_Oversimplification": 8,
54
+ "Doubt": 12,
55
+ "Exaggeration,Minimisation": 2,
56
+ "Flag-Waving": 4,
57
+ "Loaded_Language": 0,
58
+ "Name_Calling,Labeling": 5,
59
+ "Obfuscation,Intentional_Vagueness,Confusion": 17,
60
+ "Red_Herring": 11,
61
+ "Reductio_ad_hitlerum": 6,
62
+ "Repetition": 3,
63
+ "Slogans": 16,
64
+ "Straw_Man": 10,
65
+ "Thought-terminating_Cliches": 14,
66
+ "Whataboutism,Straw_Men,Red_Herring": 9
67
+ },
68
+ "layer_norm_eps": 1e-05,
69
+ "local_attention": 128,
70
+ "local_rope_theta": 10000.0,
71
+ "max_position_embeddings": 8192,
72
+ "mlp_bias": false,
73
+ "mlp_dropout": 0.0,
74
+ "model_type": "modernbert",
75
+ "norm_bias": false,
76
+ "norm_eps": 1e-05,
77
+ "num_attention_heads": 12,
78
+ "num_hidden_layers": 22,
79
+ "pad_token_id": 50283,
80
+ "position_embedding_type": "absolute",
81
+ "problem_type": "multi_label_classification",
82
+ "reference_compile": false,
83
+ "repad_logits_with_grad": false,
84
+ "sep_token_id": 50282,
85
+ "sparse_pred_ignore_index": -100,
86
+ "sparse_prediction": false,
87
+ "torch_dtype": "float32",
88
+ "transformers_version": "4.49.0",
89
+ "vocab_size": 50368
90
+ }