End of training
Browse files- README.md +66 -69
- config.json +53 -53
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,69 +1,66 @@
|
|
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_False_addTokens_True_clipLoss_True_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_False_addTokens_True_clipLoss_True_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:
|
23 |
-
- Model Preparation Time: 0.
|
24 |
-
- F1: 0.
|
25 |
-
- Precision: 0.
|
26 |
-
- Recall: 0.
|
27 |
-
- Threshold: 0.
|
28 |
-
- Sim Ratio:
|
29 |
-
- Pos Sim: 0.
|
30 |
-
- Neg Sim: 0.
|
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:
|
51 |
-
- eval_batch_size:
|
52 |
-
- seed: 42
|
53 |
-
- optimizer: Use
|
54 |
-
- lr_scheduler_type: linear
|
55 |
-
- num_epochs: 1
|
56 |
-
|
57 |
-
### Training results
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
-
|
67 |
-
- Pytorch 2.5.1
|
68 |
-
- Datasets 3.2.0
|
69 |
-
- Tokenizers 0.21.0
|
|
|
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_False_addTokens_True_clipLoss_True_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_False_addTokens_True_clipLoss_True_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: 2.0103
|
23 |
+
- Model Preparation Time: 0.002
|
24 |
+
- F1: 0.24
|
25 |
+
- Precision: 0.2
|
26 |
+
- Recall: 0.3
|
27 |
+
- Threshold: 0.9834
|
28 |
+
- Sim Ratio: 0.9938
|
29 |
+
- Pos Sim: 0.9531
|
30 |
+
- Neg Sim: 0.9591
|
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: 4
|
51 |
+
- eval_batch_size: 4
|
52 |
+
- seed: 42
|
53 |
+
- optimizer: Use OptimizerNames.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 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.47.1
|
64 |
+
- Pytorch 2.6.0+cu124
|
65 |
+
- Datasets 3.2.0
|
66 |
+
- Tokenizers 0.21.0
|
|
|
|
|
|
config.json
CHANGED
@@ -1,53 +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.
|
52 |
-
"vocab_size": 50368
|
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.47.1",
|
52 |
+
"vocab_size": 50368
|
53 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 600817576
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3eff2690f9d369e5852d2f4387a49e1342ea7cbc9a8c7a16a4347552b9339f6
|
3 |
size 600817576
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00d9843d35d9bd48764201aa44b8ac3bf158a07b5c31f79860899147ab84a2b4
|
3 |
size 5368
|