lhallee commited on
Commit
fbbfd7e
·
verified ·
1 Parent(s): 816c2e8

End of training

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +53 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: ModernBERT-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: se_train_run_AUTOIMMUNE
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # se_train_run_AUTOIMMUNE
19
+
20
+ This model is a fine-tuned version of [ModernBERT-base](https://huggingface.co/ModernBERT-base) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 3.8454
23
+ - Model Preparation Time: 0.0023
24
+ - F1: 0.9142
25
+ - Precision: 0.8907
26
+ - Recall: 0.939
27
+ - Threshold: 0.6448
28
+ - Sim Ratio: 1.8668
29
+ - Pos Sim: 0.8175
30
+ - Neg Sim: 0.4379
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 0.0001
50
+ - train_batch_size: 16
51
+ - eval_batch_size: 16
52
+ - seed: 42
53
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 1
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | F1 | Precision | Recall | Threshold | Sim Ratio | Pos Sim | Neg Sim |
60
+ |:-------------:|:------:|:-----:|:---------------:|:----------------------:|:------:|:---------:|:------:|:---------:|:---------:|:-------:|:-------:|
61
+ | 1.1666 | 0.1600 | 5000 | 3.8219 | 0.0023 | 0.8785 | 0.8627 | 0.8949 | 0.6512 | 1.8895 | 0.8276 | 0.438 |
62
+ | 1.0768 | 0.3201 | 10000 | 3.7588 | 0.0023 | 0.8937 | 0.8788 | 0.9092 | 0.6407 | 2.0951 | 0.8217 | 0.3922 |
63
+ | 0.9115 | 0.4801 | 15000 | 4.0146 | 0.0023 | 0.9012 | 0.872 | 0.9324 | 0.6185 | 2.1225 | 0.8194 | 0.386 |
64
+ | 0.8536 | 0.6402 | 20000 | 3.5470 | 0.0023 | 0.906 | 0.869 | 0.9464 | 0.6418 | 1.8244 | 0.8317 | 0.4559 |
65
+ | 0.8147 | 0.8002 | 25000 | 3.8247 | 0.0023 | 0.9115 | 0.8849 | 0.9398 | 0.6342 | 1.9331 | 0.8186 | 0.4235 |
66
+ | 0.799 | 0.9603 | 30000 | 3.8038 | 0.0023 | 0.914 | 0.8991 | 0.9295 | 0.6584 | 1.8577 | 0.8189 | 0.4408 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.48.3
72
+ - Pytorch 2.5.1
73
+ - Datasets 3.2.0
74
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ModernBERT-base",
3
+ "architectures": [
4
+ "MoEBertForSentenceSimilarity"
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
+ "lora": false,
30
+ "lora_alpha": 32,
31
+ "lora_dropout": 0.01,
32
+ "lora_r": 8,
33
+ "loss_type": "clip",
34
+ "max_position_embeddings": 8192,
35
+ "mlp_bias": false,
36
+ "mlp_dropout": 0.0,
37
+ "model_type": "modernbert",
38
+ "norm_bias": false,
39
+ "norm_eps": 1e-05,
40
+ "num_attention_heads": 12,
41
+ "num_experts": 1,
42
+ "num_hidden_layers": 22,
43
+ "pad_token_id": 50283,
44
+ "position_embedding_type": "absolute",
45
+ "reference_compile": null,
46
+ "repad_logits_with_grad": false,
47
+ "sep_token_id": 50282,
48
+ "sparse_pred_ignore_index": -100,
49
+ "sparse_prediction": false,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.48.3",
52
+ "vocab_size": 50368
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c07eb2aacba3175468944005f180135d5bd2ed71e08a0ec74a00e87016f63e25
3
+ size 600817576
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48def25b7e33c83c40d129681354d7b7636b13d604245e6bb9298fda40f24078
3
+ size 5304