DominicTWHV commited on
Commit
24d7b4f
·
verified ·
1 Parent(s): 9b92bcb

Uploaded model

Browse files
Files changed (5) hide show
  1. config.json +103 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +16 -0
  5. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForSequenceClassification"
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": "bfloat16",
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": "scam",
24
+ "1": "violence",
25
+ "2": "harassment",
26
+ "3": "hate_speech",
27
+ "4": "toxicity",
28
+ "5": "obscenity",
29
+ "6": "genocide"
30
+ },
31
+ "initializer_cutoff_factor": 2.0,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 2624,
34
+ "label2id": {
35
+ "genocide": 6,
36
+ "harassment": 2,
37
+ "hate_speech": 3,
38
+ "obscenity": 5,
39
+ "scam": 0,
40
+ "toxicity": 4,
41
+ "violence": 1
42
+ },
43
+ "layer_norm_eps": 1e-05,
44
+ "layer_types": [
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
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "full_attention",
58
+ "sliding_attention",
59
+ "sliding_attention",
60
+ "full_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "full_attention",
64
+ "sliding_attention",
65
+ "sliding_attention",
66
+ "full_attention",
67
+ "sliding_attention",
68
+ "sliding_attention",
69
+ "full_attention",
70
+ "sliding_attention",
71
+ "sliding_attention",
72
+ "full_attention"
73
+ ],
74
+ "local_attention": 128,
75
+ "max_position_embeddings": 8192,
76
+ "mlp_bias": false,
77
+ "mlp_dropout": 0.0,
78
+ "model_type": "modernbert",
79
+ "norm_bias": false,
80
+ "norm_eps": 1e-05,
81
+ "num_attention_heads": 16,
82
+ "num_hidden_layers": 28,
83
+ "pad_token_id": 50283,
84
+ "position_embedding_type": "absolute",
85
+ "problem_type": "multi_label_classification",
86
+ "rope_parameters": {
87
+ "full_attention": {
88
+ "rope_theta": 160000.0,
89
+ "rope_type": "default"
90
+ },
91
+ "sliding_attention": {
92
+ "rope_theta": 10000.0,
93
+ "rope_type": "default"
94
+ }
95
+ },
96
+ "sep_token_id": 50282,
97
+ "sparse_pred_ignore_index": -100,
98
+ "sparse_prediction": false,
99
+ "tie_word_embeddings": true,
100
+ "transformers_version": "5.2.0",
101
+ "use_cache": false,
102
+ "vocab_size": 50368
103
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38035a39702cda1409c767a561fb9295b655281fc210be5a0b597d5e645707a3
3
+ size 791695230
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "is_local": false,
6
+ "mask_token": "[MASK]",
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 8192,
12
+ "pad_token": "[PAD]",
13
+ "sep_token": "[SEP]",
14
+ "tokenizer_class": "TokenizersBackend",
15
+ "unk_token": "[UNK]"
16
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c34b9ec84b3f387f59ba5435080c3bf54eef51733bc476e20b046acddc75e7d
3
+ size 5265