mhr2004 commited on
Commit
92e2307
·
verified ·
1 Parent(s): e8e95d8

mhr2004/answerdotai-ModernBERT-base-atomic-anion-1e-06-256

Browse files
Files changed (4) hide show
  1. README.md +81 -0
  2. config.json +48 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-atomic-anion-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-atomic-anion-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.3983
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.5623 | 1.0 | 1152 | 0.5391 |
51
+ | 0.4968 | 2.0 | 2304 | 0.4940 |
52
+ | 0.4624 | 3.0 | 3456 | 0.4727 |
53
+ | 0.4443 | 4.0 | 4608 | 0.4542 |
54
+ | 0.4246 | 5.0 | 5760 | 0.4470 |
55
+ | 0.4141 | 6.0 | 6912 | 0.4378 |
56
+ | 0.3985 | 7.0 | 8064 | 0.4288 |
57
+ | 0.393 | 8.0 | 9216 | 0.4221 |
58
+ | 0.3788 | 9.0 | 10368 | 0.4176 |
59
+ | 0.3696 | 10.0 | 11520 | 0.4137 |
60
+ | 0.3621 | 11.0 | 12672 | 0.4114 |
61
+ | 0.3542 | 12.0 | 13824 | 0.4051 |
62
+ | 0.3475 | 13.0 | 14976 | 0.4049 |
63
+ | 0.3418 | 14.0 | 16128 | 0.4005 |
64
+ | 0.3351 | 15.0 | 17280 | 0.4005 |
65
+ | 0.3295 | 16.0 | 18432 | 0.3979 |
66
+ | 0.3259 | 17.0 | 19584 | 0.3970 |
67
+ | 0.3217 | 18.0 | 20736 | 0.3958 |
68
+ | 0.3136 | 19.0 | 21888 | 0.3965 |
69
+ | 0.3125 | 20.0 | 23040 | 0.3971 |
70
+ | 0.3075 | 21.0 | 24192 | 0.3957 |
71
+ | 0.3055 | 22.0 | 25344 | 0.3964 |
72
+ | 0.3011 | 23.0 | 26496 | 0.3968 |
73
+ | 0.2971 | 24.0 | 27648 | 0.3983 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.49.0
79
+ - Pytorch 2.6.0+cu124
80
+ - Datasets 3.3.2
81
+ - 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:451abe595f6507a7a2e05de46536aa03c29cc064d3b7d82fc15168081f39364b
3
+ size 598439784
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:788ce8e959e0dfb80ce4fbb5acb989ec6b967e5a6118f7bbff97de33d61320b9
3
+ size 5368