nono1224 commited on
Commit
ed087e9
·
verified ·
1 Parent(s): 54bb014

Upload ModernBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +64 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sbintuitions/modernbert-ja-130m",
3
+ "architectures": [
4
+ "ModernBertForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attention_probs_dropout_prob": 0.3,
9
+ "bos_token_id": 1,
10
+ "classifier_activation": "gelu",
11
+ "classifier_bias": false,
12
+ "classifier_dropout": 0.0,
13
+ "classifier_pooling": "cls",
14
+ "cls_token_id": 6,
15
+ "decoder_bias": true,
16
+ "deterministic_flash_attn": false,
17
+ "embedding_dropout": 0.0,
18
+ "eos_token_id": 2,
19
+ "global_attn_every_n_layers": 3,
20
+ "global_rope_theta": 160000.0,
21
+ "gradient_checkpointing": false,
22
+ "hidden_activation": "gelu",
23
+ "hidden_dropout_prob": 0.2,
24
+ "hidden_size": 512,
25
+ "id2label": {
26
+ "0": "LABEL_0",
27
+ "1": "LABEL_1",
28
+ "2": "LABEL_2",
29
+ "3": "LABEL_3",
30
+ "4": "LABEL_4"
31
+ },
32
+ "initializer_cutoff_factor": 2.0,
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 2048,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1,
38
+ "LABEL_2": 2,
39
+ "LABEL_3": 3,
40
+ "LABEL_4": 4
41
+ },
42
+ "layer_norm_eps": 1e-05,
43
+ "local_attention": 128,
44
+ "local_rope_theta": 10000.0,
45
+ "max_position_embeddings": 8192,
46
+ "mlp_bias": false,
47
+ "mlp_dropout": 0.0,
48
+ "model_type": "modernbert",
49
+ "norm_bias": false,
50
+ "norm_eps": 1e-05,
51
+ "num_attention_heads": 8,
52
+ "num_hidden_layers": 19,
53
+ "pad_token_id": 3,
54
+ "position_embedding_type": "rope",
55
+ "problem_type": "single_label_classification",
56
+ "reference_compile": false,
57
+ "repad_logits_with_grad": false,
58
+ "sep_token_id": 4,
59
+ "sparse_pred_ignore_index": -100,
60
+ "sparse_prediction": false,
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.48.3",
63
+ "vocab_size": 102400
64
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0a6a8c788f8748b643c7848152b058c04f358a12a805d26f0ba2025ea6c2862
3
+ size 529635372