akabaev123 commited on
Commit
7d6fae7
·
verified ·
1 Parent(s): 5f85187

Upload 4 files

Browse files
Files changed (4) hide show
  1. config.json +74 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +25 -0
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertModel"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "cls",
12
+ "cls_token_id": 1,
13
+ "decoder_bias": false,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 2,
18
+ "global_attn_every_n_layers": 4,
19
+ "hidden_activation": "gelu",
20
+ "hidden_size": 320,
21
+ "initializer_cutoff_factor": 2.0,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 480,
24
+ "layer_types": [
25
+ "full_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "full_attention",
30
+ "sliding_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "full_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "full_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "full_attention"
46
+ ],
47
+ "local_attention": 64,
48
+ "max_position_embeddings": 8192,
49
+ "mlp_bias": false,
50
+ "mlp_dropout": 0.0,
51
+ "model_type": "modernbert",
52
+ "norm_bias": false,
53
+ "norm_eps": 1e-05,
54
+ "num_attention_heads": 8,
55
+ "num_hidden_layers": 21,
56
+ "pad_token_id": 0,
57
+ "repad_logits_with_grad": false,
58
+ "rope_parameters": {
59
+ "full_attention": {
60
+ "rope_theta": 160000.0,
61
+ "rope_type": "default"
62
+ },
63
+ "sliding_attention": {
64
+ "rope_theta": 10000.0,
65
+ "rope_type": "default"
66
+ }
67
+ },
68
+ "sep_token_id": 2,
69
+ "sparse_pred_ignore_index": -100,
70
+ "sparse_prediction": false,
71
+ "tie_word_embeddings": false,
72
+ "transformers_version": "5.24.1",
73
+ "vocab_size": 50368
74
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:774f0500c35707db1ac5a3845c5debcce193b7e078b98c1f149c2d4276be5552
3
+ size 137651960
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "cls_token": "<s>",
7
+ "eos_token": "</s>",
8
+ "errors": "replace",
9
+ "is_local": true,
10
+ "local_files_only": true,
11
+ "mask_token": "<mask>",
12
+ "max_length": 128,
13
+ "model_max_length": 8192,
14
+ "pad_to_multiple_of": null,
15
+ "pad_token": "<pad>",
16
+ "pad_token_type_id": 0,
17
+ "padding_side": "right",
18
+ "sep_token": "</s>",
19
+ "stride": 0,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "trim_offsets": true,
22
+ "truncation_side": "right",
23
+ "truncation_strategy": "longest_first",
24
+ "unk_token": "<unk>"
25
+ }