Liman commited on
Commit
89238ad
·
1 Parent(s): c916fce

add output_attentions true to config

Browse files
Files changed (1) hide show
  1. config.json +43 -44
config.json CHANGED
@@ -1,46 +1,45 @@
1
  {
2
- "architectures": [
3
- "ModernBertForSequenceClassification"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 50281,
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
- "embedding_dropout": 0.0,
16
- "eos_token_id": 50282,
17
- "global_attn_every_n_layers": 3,
18
- "global_rope_theta": 160000.0,
19
- "gradient_checkpointing": false,
20
- "hidden_activation": "gelu",
21
- "hidden_size": 768,
22
- "initializer_cutoff_factor": 2.0,
23
- "initializer_range": 0.02,
24
- "intermediate_size": 1152,
25
- "layer_norm_eps": 1e-05,
26
- "local_attention": 128,
27
- "local_rope_theta": 10000.0,
28
- "max_position_embeddings": 8192,
29
- "mlp_bias": false,
30
- "mlp_dropout": 0.0,
31
- "model_type": "modernbert",
32
- "norm_bias": false,
33
- "norm_eps": 1e-05,
34
- "num_attention_heads": 12,
35
- "num_hidden_layers": 22,
36
- "pad_token_id": 50283,
37
- "position_embedding_type": "absolute",
38
- "problem_type": "single_label_classification",
39
- "repad_logits_with_grad": false,
40
- "sep_token_id": 50282,
41
- "sparse_pred_ignore_index": -100,
42
- "sparse_prediction": false,
43
- "torch_dtype": "float32",
44
- "transformers_version": "4.52.4",
45
- "vocab_size": 50368
46
  }
 
1
  {
2
+ "architectures": ["ModernBertForSequenceClassification"],
3
+ "attention_bias": false,
4
+ "attention_dropout": 0.0,
5
+ "bos_token_id": 50281,
6
+ "classifier_activation": "gelu",
7
+ "classifier_bias": false,
8
+ "classifier_dropout": 0.0,
9
+ "classifier_pooling": "mean",
10
+ "cls_token_id": 50281,
11
+ "decoder_bias": true,
12
+ "deterministic_flash_attn": false,
13
+ "embedding_dropout": 0.0,
14
+ "eos_token_id": 50282,
15
+ "global_attn_every_n_layers": 3,
16
+ "global_rope_theta": 160000.0,
17
+ "gradient_checkpointing": false,
18
+ "hidden_activation": "gelu",
19
+ "hidden_size": 768,
20
+ "initializer_cutoff_factor": 2.0,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 1152,
23
+ "layer_norm_eps": 1e-5,
24
+ "local_attention": 128,
25
+ "local_rope_theta": 10000.0,
26
+ "max_position_embeddings": 8192,
27
+ "mlp_bias": false,
28
+ "mlp_dropout": 0.0,
29
+ "model_type": "modernbert",
30
+ "norm_bias": false,
31
+ "norm_eps": 1e-5,
32
+ "num_attention_heads": 12,
33
+ "num_hidden_layers": 22,
34
+ "pad_token_id": 50283,
35
+ "position_embedding_type": "absolute",
36
+ "problem_type": "single_label_classification",
37
+ "repad_logits_with_grad": false,
38
+ "sep_token_id": 50282,
39
+ "sparse_pred_ignore_index": -100,
40
+ "sparse_prediction": false,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.52.4",
43
+ "vocab_size": 50368,
44
+ "output_attentions": true
 
45
  }