mhr2004 commited on
Commit
2c19eb4
·
verified ·
1 Parent(s): 6721d66

mhr2004/answerdotai-ModernBERT-base-anion-neg-bal-1e-06-256

Browse files
Files changed (4) hide show
  1. README.md +78 -0
  2. config.json +48 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: answerdotai-ModernBERT-base-anion-neg-bal-1e-06-256
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # answerdotai-ModernBERT-base-anion-neg-bal-1e-06-256
16
+
17
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3196
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 1e-06
39
+ - train_batch_size: 256
40
+ - eval_batch_size: 256
41
+ - seed: 42
42
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 30
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 0.6865 | 1.0 | 358 | 0.5785 |
51
+ | 0.5191 | 2.0 | 716 | 0.4656 |
52
+ | 0.435 | 3.0 | 1074 | 0.4231 |
53
+ | 0.3931 | 4.0 | 1432 | 0.3961 |
54
+ | 0.3758 | 5.0 | 1790 | 0.3774 |
55
+ | 0.3458 | 6.0 | 2148 | 0.3627 |
56
+ | 0.3247 | 7.0 | 2506 | 0.3526 |
57
+ | 0.3032 | 8.0 | 2864 | 0.3431 |
58
+ | 0.2864 | 9.0 | 3222 | 0.3359 |
59
+ | 0.2804 | 10.0 | 3580 | 0.3331 |
60
+ | 0.2644 | 11.0 | 3938 | 0.3240 |
61
+ | 0.254 | 12.0 | 4296 | 0.3206 |
62
+ | 0.2406 | 13.0 | 4654 | 0.3191 |
63
+ | 0.2324 | 14.0 | 5012 | 0.3188 |
64
+ | 0.2242 | 15.0 | 5370 | 0.3189 |
65
+ | 0.2139 | 16.0 | 5728 | 0.3159 |
66
+ | 0.2087 | 17.0 | 6086 | 0.3166 |
67
+ | 0.2019 | 18.0 | 6444 | 0.3151 |
68
+ | 0.1984 | 19.0 | 6802 | 0.3173 |
69
+ | 0.1887 | 20.0 | 7160 | 0.3203 |
70
+ | 0.1814 | 21.0 | 7518 | 0.3196 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.49.0
76
+ - Pytorch 2.6.0+cu124
77
+ - Datasets 3.3.2
78
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "answerdotai/ModernBERT-base",
3
+ "architectures": [
4
+ "ModernBertForSequenceClassification"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 50281,
9
+ "classifier_activation": "gelu",
10
+ "classifier_bias": false,
11
+ "classifier_dropout": 0.0,
12
+ "classifier_pooling": "mean",
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,
23
+ "initializer_cutoff_factor": 2.0,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 1152,
26
+ "layer_norm_eps": 1e-05,
27
+ "local_attention": 128,
28
+ "local_rope_theta": 10000.0,
29
+ "max_position_embeddings": 8192,
30
+ "mlp_bias": false,
31
+ "mlp_dropout": 0.0,
32
+ "model_type": "modernbert",
33
+ "norm_bias": false,
34
+ "norm_eps": 1e-05,
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 22,
37
+ "pad_token_id": 50283,
38
+ "position_embedding_type": "absolute",
39
+ "problem_type": "single_label_classification",
40
+ "reference_compile": true,
41
+ "repad_logits_with_grad": false,
42
+ "sep_token_id": 50282,
43
+ "sparse_pred_ignore_index": -100,
44
+ "sparse_prediction": false,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.49.0",
47
+ "vocab_size": 50368
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8432f30a94814ec8466c2b20221215c4f88550359e1d3f8edd733af88af44bc7
3
+ size 598439784
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15c0eb00503f474ff5932c65288bedcbf4f66252cbe21f3635c7716e4fc603d9
3
+ size 5368