lhallee commited on
Commit
c6ea92f
·
verified ·
1 Parent(s): f19f485

End of training

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +53 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: moe_True_addTokens_False_clipLoss_False_cv_2
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
+ # moe_True_addTokens_False_clipLoss_False_cv_2
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: 332.7107
23
+ - Model Preparation Time: 0.0049
24
+ - F1: 0.0042
25
+ - Precision: 0.0025
26
+ - Recall: 0.0121
27
+ - Threshold: 1.0
28
+ - Sim Ratio: 1.0011
29
+ - Pos Sim: 1.0
30
+ - Neg Sim: 0.9989
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
+ | 332.7109 | 0.8 | 5000 | 332.7107 | 0.0049 | 0.0038 | 0.0023 | 0.0109 | 1.0 | 1.001 | 1.0 | 0.999 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.48.3
67
+ - Pytorch 2.5.1
68
+ - Datasets 3.2.0
69
+ - 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": "mnr_loss",
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": 5,
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:89e58000f5702cc44568b04b70c4f3c5d637f99e70f765cddb005fc4175dc163
3
+ size 1535119296
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27b06088f4a8722c899c09bd2c89e735020c8622a5e04d65bf79a3a43e346313
3
+ size 5368