domi29 commited on
Commit
ed82c1d
·
verified ·
1 Parent(s): 2b9cb7e

Add config.json (from parent)

Browse files
Files changed (1) hide show
  1. config.json +98 -0
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForSequenceClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 2,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 1,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 1,
18
+ "global_attn_every_n_layers": 3,
19
+ "gradient_checkpointing": false,
20
+ "hidden_activation": "gelu",
21
+ "hidden_size": 384,
22
+ "id2label": {
23
+ "0": "finance",
24
+ "1": "hr",
25
+ "2": "internal_and_tech",
26
+ "3": "legal",
27
+ "4": "marketing",
28
+ "5": "other",
29
+ "6": "source_code"
30
+ },
31
+ "initializer_cutoff_factor": 2.0,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 1152,
34
+ "label2id": {
35
+ "finance": 0,
36
+ "hr": 1,
37
+ "internal_and_tech": 2,
38
+ "legal": 3,
39
+ "marketing": 4,
40
+ "other": 5,
41
+ "source_code": 6
42
+ },
43
+ "layer_norm_eps": 1e-05,
44
+ "layer_types": [
45
+ "full_attention",
46
+ "sliding_attention",
47
+ "sliding_attention",
48
+ "full_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "full_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "full_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "full_attention",
58
+ "sliding_attention",
59
+ "sliding_attention",
60
+ "full_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "full_attention",
64
+ "sliding_attention",
65
+ "sliding_attention",
66
+ "full_attention"
67
+ ],
68
+ "local_attention": 128,
69
+ "mask_token_id": 4,
70
+ "max_position_embeddings": 8192,
71
+ "mlp_bias": false,
72
+ "mlp_dropout": 0.0,
73
+ "model_type": "modernbert",
74
+ "norm_bias": false,
75
+ "norm_eps": 1e-05,
76
+ "num_attention_heads": 6,
77
+ "num_hidden_layers": 22,
78
+ "pad_token_id": 0,
79
+ "position_embedding_type": "sans_pos",
80
+ "problem_type": "single_label_classification",
81
+ "rope_parameters": {
82
+ "full_attention": {
83
+ "rope_theta": 160000,
84
+ "rope_type": "default"
85
+ },
86
+ "sliding_attention": {
87
+ "rope_theta": 160000,
88
+ "rope_type": "default"
89
+ }
90
+ },
91
+ "sep_token_id": 1,
92
+ "sparse_pred_ignore_index": -100,
93
+ "sparse_prediction": false,
94
+ "tie_word_embeddings": true,
95
+ "transformers_version": "5.8.1",
96
+ "use_cache": false,
97
+ "vocab_size": 256000
98
+ }