ittailup commited on
Commit
719f1f3
·
verified ·
1 Parent(s): b9699df

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +98 -0
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForTokenClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 50281,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": null,
18
+ "global_attn_every_n_layers": 3,
19
+ "gradient_checkpointing": false,
20
+ "hidden_activation": "gelu",
21
+ "hidden_size": 1024,
22
+ "id2label": {
23
+ "0": "O",
24
+ "1": "B-forenames",
25
+ "2": "I-forenames",
26
+ "3": "B-surnames",
27
+ "4": "I-surnames"
28
+ },
29
+ "initializer_cutoff_factor": 2.0,
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 2624,
32
+ "label2id": {
33
+ "B-forenames": 1,
34
+ "B-surnames": 3,
35
+ "I-forenames": 2,
36
+ "I-surnames": 4,
37
+ "O": 0
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "layer_types": [
41
+ "full_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "full_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "full_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "full_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "full_attention",
54
+ "sliding_attention",
55
+ "sliding_attention",
56
+ "full_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "full_attention",
60
+ "sliding_attention",
61
+ "sliding_attention",
62
+ "full_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "full_attention",
66
+ "sliding_attention",
67
+ "sliding_attention",
68
+ "full_attention"
69
+ ],
70
+ "local_attention": 128,
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": 16,
78
+ "num_hidden_layers": 28,
79
+ "pad_token_id": 50283,
80
+ "position_embedding_type": "absolute",
81
+ "rope_parameters": {
82
+ "full_attention": {
83
+ "rope_theta": 160000.0,
84
+ "rope_type": "default"
85
+ },
86
+ "sliding_attention": {
87
+ "rope_theta": 10000.0,
88
+ "rope_type": "default"
89
+ }
90
+ },
91
+ "sep_token_id": 50282,
92
+ "sparse_pred_ignore_index": -100,
93
+ "sparse_prediction": false,
94
+ "tie_word_embeddings": true,
95
+ "transformers_version": "5.2.0",
96
+ "use_cache": false,
97
+ "vocab_size": 50368
98
+ }