langdonholmes commited on
Commit
571d634
·
verified ·
1 Parent(s): 42201b3

Upload ModernBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +37 -8
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "../../results/modernbert_multirc_reading_engagement/",
3
  "architectures": [
4
  "ModernBertForSequenceClassification"
5
  ],
@@ -13,10 +12,10 @@
13
  "cls_token_id": 50281,
14
  "decoder_bias": true,
15
  "deterministic_flash_attn": false,
 
16
  "embedding_dropout": 0.0,
17
  "eos_token_id": 50282,
18
  "global_attn_every_n_layers": 3,
19
- "global_rope_theta": 160000.0,
20
  "gradient_checkpointing": false,
21
  "hidden_activation": "gelu",
22
  "hidden_size": 768,
@@ -30,8 +29,31 @@
30
  "LABEL_0": 0
31
  },
32
  "layer_norm_eps": 1e-05,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  "local_attention": 128,
34
- "local_rope_theta": 10000.0,
35
  "max_position_embeddings": 8192,
36
  "mlp_bias": false,
37
  "mlp_dropout": 0.0,
@@ -42,13 +64,20 @@
42
  "num_hidden_layers": 22,
43
  "pad_token_id": 50283,
44
  "position_embedding_type": "absolute",
45
- "problem_type": "regression",
46
- "reference_compile": true,
47
- "repad_logits_with_grad": false,
 
 
 
 
 
 
 
48
  "sep_token_id": 50282,
49
  "sparse_pred_ignore_index": -100,
50
  "sparse_prediction": false,
51
- "torch_dtype": "float32",
52
- "transformers_version": "4.49.0",
53
  "vocab_size": 50368
54
  }
 
1
  {
 
2
  "architectures": [
3
  "ModernBertForSequenceClassification"
4
  ],
 
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": 50282,
18
  "global_attn_every_n_layers": 3,
 
19
  "gradient_checkpointing": false,
20
  "hidden_activation": "gelu",
21
  "hidden_size": 768,
 
29
  "LABEL_0": 0
30
  },
31
  "layer_norm_eps": 1e-05,
32
+ "layer_types": [
33
+ "full_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "full_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "full_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "full_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
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
+ ],
56
  "local_attention": 128,
 
57
  "max_position_embeddings": 8192,
58
  "mlp_bias": false,
59
  "mlp_dropout": 0.0,
 
64
  "num_hidden_layers": 22,
65
  "pad_token_id": 50283,
66
  "position_embedding_type": "absolute",
67
+ "rope_parameters": {
68
+ "full_attention": {
69
+ "rope_theta": 160000.0,
70
+ "rope_type": "default"
71
+ },
72
+ "sliding_attention": {
73
+ "rope_theta": 10000.0,
74
+ "rope_type": "default"
75
+ }
76
+ },
77
  "sep_token_id": 50282,
78
  "sparse_pred_ignore_index": -100,
79
  "sparse_prediction": false,
80
+ "tie_word_embeddings": true,
81
+ "transformers_version": "5.16.1",
82
  "vocab_size": 50368
83
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ead5658a2dc727536b7887684ce540d353a396a8369f9f8319a1eb49fd6f3472
3
  size 598436708
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f44c08a93391f7b96e997b2cbbc0984120dee0a434bbe7e99305dd4c0b60d77
3
  size 598436708