gutsartificial
commited on
bge-base-en-v1.5-2024-12-09_13-52-23
Browse files- README.md +113 -0
- config.json +33 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: BAAI/bge-base-en-v1.5
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: bge-base-en-v1.5-2024-12-09_13-52-23-quality-weight-1
|
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 |
+
# bge-base-en-v1.5-2024-12-09_13-52-23-quality-weight-1
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [BAAI/bge-base-en-v1.5](https://huggingface.co/BAAI/bge-base-en-v1.5) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.0174
|
20 |
+
- Spearman: 0.9297
|
21 |
+
- Pearson: 0.9233
|
22 |
+
- Mse: 0.0174
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 5e-05
|
42 |
+
- train_batch_size: 4
|
43 |
+
- eval_batch_size: 4
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 64
|
46 |
+
- total_train_batch_size: 256
|
47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- lr_scheduler_warmup_ratio: 0.05
|
50 |
+
- num_epochs: 5
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Spearman | Pearson | Mse |
|
55 |
+
|:-------------:|:------:|:-----:|:---------------:|:--------:|:-------:|:------:|
|
56 |
+
| 0.0414 | 0.0997 | 263 | 0.0406 | 0.8536 | 0.8331 | 0.0406 |
|
57 |
+
| 0.0335 | 0.1994 | 526 | 0.0321 | 0.8740 | 0.8557 | 0.0321 |
|
58 |
+
| 0.0389 | 0.2990 | 789 | 0.0281 | 0.8834 | 0.8702 | 0.0281 |
|
59 |
+
| 0.0263 | 0.3987 | 1052 | 0.0285 | 0.8910 | 0.8779 | 0.0285 |
|
60 |
+
| 0.0282 | 0.4984 | 1315 | 0.0254 | 0.8952 | 0.8851 | 0.0254 |
|
61 |
+
| 0.0194 | 0.5981 | 1578 | 0.0243 | 0.9000 | 0.8908 | 0.0243 |
|
62 |
+
| 0.0297 | 0.6978 | 1841 | 0.0227 | 0.9042 | 0.8963 | 0.0227 |
|
63 |
+
| 0.021 | 0.7975 | 2104 | 0.0240 | 0.9079 | 0.8985 | 0.0240 |
|
64 |
+
| 0.0291 | 0.8971 | 2367 | 0.0220 | 0.9070 | 0.9007 | 0.0220 |
|
65 |
+
| 0.0204 | 0.9968 | 2630 | 0.0211 | 0.9107 | 0.9038 | 0.0211 |
|
66 |
+
| 0.0178 | 1.0963 | 2893 | 0.0210 | 0.9132 | 0.9054 | 0.0210 |
|
67 |
+
| 0.0196 | 1.1960 | 3156 | 0.0214 | 0.9138 | 0.9059 | 0.0214 |
|
68 |
+
| 0.0162 | 1.2956 | 3419 | 0.0207 | 0.9157 | 0.9082 | 0.0207 |
|
69 |
+
| 0.0187 | 1.3953 | 3682 | 0.0201 | 0.9165 | 0.9100 | 0.0201 |
|
70 |
+
| 0.0203 | 1.4950 | 3945 | 0.0205 | 0.9186 | 0.9115 | 0.0205 |
|
71 |
+
| 0.0171 | 1.5947 | 4208 | 0.0196 | 0.9181 | 0.9123 | 0.0196 |
|
72 |
+
| 0.0161 | 1.6944 | 4471 | 0.0195 | 0.9197 | 0.9136 | 0.0195 |
|
73 |
+
| 0.0134 | 1.7940 | 4734 | 0.0193 | 0.9206 | 0.9155 | 0.0193 |
|
74 |
+
| 0.0167 | 1.8937 | 4997 | 0.0189 | 0.9201 | 0.9152 | 0.0189 |
|
75 |
+
| 0.0207 | 1.9934 | 5260 | 0.0197 | 0.9225 | 0.9176 | 0.0197 |
|
76 |
+
| 0.011 | 2.0929 | 5523 | 0.0187 | 0.9229 | 0.9177 | 0.0187 |
|
77 |
+
| 0.0115 | 2.1925 | 5786 | 0.0186 | 0.9225 | 0.9170 | 0.0186 |
|
78 |
+
| 0.0117 | 2.2922 | 6049 | 0.0184 | 0.9242 | 0.9171 | 0.0184 |
|
79 |
+
| 0.0145 | 2.3919 | 6312 | 0.0189 | 0.9223 | 0.9173 | 0.0189 |
|
80 |
+
| 0.0159 | 2.4916 | 6575 | 0.0190 | 0.9251 | 0.9194 | 0.0190 |
|
81 |
+
| 0.0088 | 2.5913 | 6838 | 0.0182 | 0.9246 | 0.9200 | 0.0182 |
|
82 |
+
| 0.0109 | 2.6910 | 7101 | 0.0184 | 0.9244 | 0.9189 | 0.0184 |
|
83 |
+
| 0.0097 | 2.7906 | 7364 | 0.0181 | 0.9261 | 0.9211 | 0.0181 |
|
84 |
+
| 0.0154 | 2.8903 | 7627 | 0.0181 | 0.9250 | 0.9206 | 0.0181 |
|
85 |
+
| 0.0086 | 2.9900 | 7890 | 0.0186 | 0.9271 | 0.9219 | 0.0186 |
|
86 |
+
| 0.0079 | 3.0894 | 8153 | 0.0176 | 0.9266 | 0.9214 | 0.0176 |
|
87 |
+
| 0.0106 | 3.1891 | 8416 | 0.0180 | 0.9274 | 0.9211 | 0.0180 |
|
88 |
+
| 0.0115 | 3.2888 | 8679 | 0.0175 | 0.9275 | 0.9218 | 0.0175 |
|
89 |
+
| 0.0127 | 3.3885 | 8942 | 0.0178 | 0.9275 | 0.9219 | 0.0178 |
|
90 |
+
| 0.0087 | 3.4882 | 9205 | 0.0176 | 0.9278 | 0.9224 | 0.0176 |
|
91 |
+
| 0.0096 | 3.5879 | 9468 | 0.0182 | 0.9282 | 0.9224 | 0.0182 |
|
92 |
+
| 0.0108 | 3.6875 | 9731 | 0.0174 | 0.9286 | 0.9236 | 0.0174 |
|
93 |
+
| 0.0098 | 3.7872 | 9994 | 0.0176 | 0.9287 | 0.9230 | 0.0176 |
|
94 |
+
| 0.0097 | 3.8869 | 10257 | 0.0172 | 0.9286 | 0.9232 | 0.0172 |
|
95 |
+
| 0.0113 | 3.9866 | 10520 | 0.0174 | 0.9290 | 0.9236 | 0.0174 |
|
96 |
+
| 0.0091 | 4.0860 | 10783 | 0.0177 | 0.9290 | 0.9234 | 0.0177 |
|
97 |
+
| 0.0062 | 4.1857 | 11046 | 0.0176 | 0.9289 | 0.9231 | 0.0176 |
|
98 |
+
| 0.0078 | 4.2854 | 11309 | 0.0175 | 0.9289 | 0.9233 | 0.0175 |
|
99 |
+
| 0.0093 | 4.3851 | 11572 | 0.0173 | 0.9291 | 0.9237 | 0.0173 |
|
100 |
+
| 0.0061 | 4.4848 | 11835 | 0.0174 | 0.9291 | 0.9236 | 0.0174 |
|
101 |
+
| 0.0072 | 4.5845 | 12098 | 0.0175 | 0.9292 | 0.9237 | 0.0175 |
|
102 |
+
| 0.0064 | 4.6841 | 12361 | 0.0174 | 0.9293 | 0.9236 | 0.0174 |
|
103 |
+
| 0.0058 | 4.7838 | 12624 | 0.0174 | 0.9292 | 0.9237 | 0.0174 |
|
104 |
+
| 0.0082 | 4.8835 | 12887 | 0.0174 | 0.9292 | 0.9237 | 0.0174 |
|
105 |
+
| 0.008 | 4.9832 | 13150 | 0.0174 | 0.9292 | 0.9237 | 0.0174 |
|
106 |
+
|
107 |
+
|
108 |
+
### Framework versions
|
109 |
+
|
110 |
+
- Transformers 4.47.0
|
111 |
+
- Pytorch 2.5.1+cu124
|
112 |
+
- Datasets 2.19.2
|
113 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "BAAI/bge-base-en-v1.5",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 1e-12,
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "bert",
|
23 |
+
"num_attention_heads": 12,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"position_embedding_type": "absolute",
|
27 |
+
"problem_type": "regression",
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.47.0",
|
30 |
+
"type_vocab_size": 2,
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 30522
|
33 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9ea529cdb01cc797d4aaf1ac75af3c5723013ba6010ecb97cfd94d284aded4e
|
3 |
+
size 437955572
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:deaaddc5c6420fa3b16cef7ee1b2bf08f4513ca77631ac4f1cf8ff4bc6dca6f0
|
3 |
+
size 5368
|