szhuggingface commited on
Commit
13e7a2b
·
verified ·
1 Parent(s): 62b8cf2

Upload model trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (2) hide show
  1. config.json +59 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
23
+ "0": "World",
24
+ "1": "Sports",
25
+ "2": "Business",
26
+ "3": "Sci/Tech"
27
+ },
28
+ "initializer_cutoff_factor": 2.0,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 1152,
31
+ "label2id": {
32
+ "Business": 2,
33
+ "Sci/Tech": 3,
34
+ "Sports": 1,
35
+ "World": 0
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "local_attention": 128,
39
+ "local_rope_theta": 10000.0,
40
+ "max_position_embeddings": 8192,
41
+ "mlp_bias": false,
42
+ "mlp_dropout": 0.0,
43
+ "model_type": "modernbert",
44
+ "norm_bias": false,
45
+ "norm_eps": 1e-05,
46
+ "num_attention_heads": 12,
47
+ "num_hidden_layers": 22,
48
+ "pad_token_id": 50283,
49
+ "position_embedding_type": "absolute",
50
+ "problem_type": "single_label_classification",
51
+ "repad_logits_with_grad": false,
52
+ "sep_token_id": 50282,
53
+ "sparse_pred_ignore_index": -100,
54
+ "sparse_prediction": false,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.55.2",
57
+ "unsloth_version": "2025.8.9",
58
+ "vocab_size": 50368
59
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:123079e9c68ffb47f6ba0507e89370dfd234462c746a137e00d657cfd5d9d511
3
+ size 598445936