gutsartificial
commited on
bge-small-en-v1.5-2024-12-27_19-48-32
Browse files- README.md +113 -0
- config.json +32 -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-small-en-v1.5
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: bge-small-en-v1.5-2024-12-27_19-48-32-quality-weight-0.8
|
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-small-en-v1.5-2024-12-27_19-48-32-quality-weight-0.8
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.0183
|
20 |
+
- Spearman: 0.9303
|
21 |
+
- Pearson: 0.9250
|
22 |
+
- Mse: 0.0183
|
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.0329 | 0.0997 | 263 | 0.0340 | 0.8648 | 0.8560 | 0.0340 |
|
57 |
+
| 0.0326 | 0.1994 | 526 | 0.0290 | 0.8849 | 0.8754 | 0.0290 |
|
58 |
+
| 0.0398 | 0.2990 | 789 | 0.0273 | 0.8959 | 0.8855 | 0.0273 |
|
59 |
+
| 0.0233 | 0.3987 | 1052 | 0.0269 | 0.9021 | 0.8945 | 0.0269 |
|
60 |
+
| 0.0306 | 0.4984 | 1315 | 0.0245 | 0.9030 | 0.8966 | 0.0245 |
|
61 |
+
| 0.0209 | 0.5981 | 1578 | 0.0238 | 0.9087 | 0.9016 | 0.0238 |
|
62 |
+
| 0.0247 | 0.6978 | 1841 | 0.0225 | 0.9107 | 0.9045 | 0.0225 |
|
63 |
+
| 0.0207 | 0.7975 | 2104 | 0.0219 | 0.9136 | 0.9073 | 0.0219 |
|
64 |
+
| 0.0228 | 0.8971 | 2367 | 0.0216 | 0.9141 | 0.9092 | 0.0216 |
|
65 |
+
| 0.0188 | 0.9968 | 2630 | 0.0209 | 0.9163 | 0.9123 | 0.0209 |
|
66 |
+
| 0.0166 | 1.0963 | 2893 | 0.0206 | 0.9188 | 0.9135 | 0.0206 |
|
67 |
+
| 0.0203 | 1.1960 | 3156 | 0.0215 | 0.9183 | 0.9142 | 0.0215 |
|
68 |
+
| 0.0152 | 1.2956 | 3419 | 0.0205 | 0.9207 | 0.9160 | 0.0205 |
|
69 |
+
| 0.0177 | 1.3953 | 3682 | 0.0204 | 0.9210 | 0.9163 | 0.0204 |
|
70 |
+
| 0.0182 | 1.4950 | 3945 | 0.0209 | 0.9219 | 0.9177 | 0.0209 |
|
71 |
+
| 0.0169 | 1.5947 | 4208 | 0.0200 | 0.9212 | 0.9181 | 0.0200 |
|
72 |
+
| 0.0151 | 1.6944 | 4471 | 0.0194 | 0.9230 | 0.9194 | 0.0194 |
|
73 |
+
| 0.0135 | 1.7940 | 4734 | 0.0200 | 0.9236 | 0.9192 | 0.0200 |
|
74 |
+
| 0.0195 | 1.8937 | 4997 | 0.0200 | 0.9230 | 0.9195 | 0.0200 |
|
75 |
+
| 0.018 | 1.9934 | 5260 | 0.0198 | 0.9241 | 0.9210 | 0.0198 |
|
76 |
+
| 0.013 | 2.0929 | 5523 | 0.0196 | 0.9243 | 0.9204 | 0.0196 |
|
77 |
+
| 0.0141 | 2.1925 | 5786 | 0.0198 | 0.9260 | 0.9216 | 0.0198 |
|
78 |
+
| 0.0161 | 2.2922 | 6049 | 0.0193 | 0.9261 | 0.9214 | 0.0193 |
|
79 |
+
| 0.0158 | 2.3919 | 6312 | 0.0188 | 0.9250 | 0.9218 | 0.0188 |
|
80 |
+
| 0.0166 | 2.4916 | 6575 | 0.0190 | 0.9272 | 0.9235 | 0.0190 |
|
81 |
+
| 0.0155 | 2.5913 | 6838 | 0.0185 | 0.9262 | 0.9233 | 0.0185 |
|
82 |
+
| 0.0122 | 2.6910 | 7101 | 0.0187 | 0.9270 | 0.9238 | 0.0187 |
|
83 |
+
| 0.015 | 2.7906 | 7364 | 0.0186 | 0.9270 | 0.9238 | 0.0186 |
|
84 |
+
| 0.019 | 2.8903 | 7627 | 0.0189 | 0.9270 | 0.9245 | 0.0189 |
|
85 |
+
| 0.0103 | 2.9900 | 7890 | 0.0187 | 0.9283 | 0.9253 | 0.0187 |
|
86 |
+
| 0.0139 | 3.0894 | 8153 | 0.0184 | 0.9281 | 0.9256 | 0.0184 |
|
87 |
+
| 0.0149 | 3.1891 | 8416 | 0.0187 | 0.9282 | 0.9242 | 0.0187 |
|
88 |
+
| 0.0148 | 3.2888 | 8679 | 0.0180 | 0.9287 | 0.9256 | 0.0180 |
|
89 |
+
| 0.0163 | 3.3885 | 8942 | 0.0183 | 0.9283 | 0.9249 | 0.0183 |
|
90 |
+
| 0.0097 | 3.4882 | 9205 | 0.0184 | 0.9292 | 0.9257 | 0.0184 |
|
91 |
+
| 0.0115 | 3.5879 | 9468 | 0.0190 | 0.9292 | 0.9256 | 0.0190 |
|
92 |
+
| 0.0157 | 3.6875 | 9731 | 0.0177 | 0.9295 | 0.9265 | 0.0177 |
|
93 |
+
| 0.0105 | 3.7872 | 9994 | 0.0180 | 0.9296 | 0.9265 | 0.0180 |
|
94 |
+
| 0.013 | 3.8869 | 10257 | 0.0178 | 0.9294 | 0.9265 | 0.0178 |
|
95 |
+
| 0.0119 | 3.9866 | 10520 | 0.0178 | 0.9298 | 0.9269 | 0.0178 |
|
96 |
+
| 0.011 | 4.0860 | 10783 | 0.0181 | 0.9298 | 0.9266 | 0.0181 |
|
97 |
+
| 0.01 | 4.1857 | 11046 | 0.0181 | 0.9298 | 0.9263 | 0.0181 |
|
98 |
+
| 0.0119 | 4.2854 | 11309 | 0.0179 | 0.9298 | 0.9265 | 0.0179 |
|
99 |
+
| 0.015 | 4.3851 | 11572 | 0.0181 | 0.9297 | 0.9264 | 0.0181 |
|
100 |
+
| 0.0095 | 4.4848 | 11835 | 0.0180 | 0.9299 | 0.9268 | 0.0180 |
|
101 |
+
| 0.0104 | 4.5845 | 12098 | 0.0180 | 0.9300 | 0.9267 | 0.0180 |
|
102 |
+
| 0.0095 | 4.6841 | 12361 | 0.0181 | 0.9299 | 0.9266 | 0.0181 |
|
103 |
+
| 0.0104 | 4.7838 | 12624 | 0.0181 | 0.9300 | 0.9267 | 0.0181 |
|
104 |
+
| 0.0112 | 4.8835 | 12887 | 0.0180 | 0.9300 | 0.9267 | 0.0180 |
|
105 |
+
| 0.0114 | 4.9832 | 13150 | 0.0180 | 0.9300 | 0.9267 | 0.0180 |
|
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,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "BAAI/bge-small-en-v1.5",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1536,
|
16 |
+
"label2id": {
|
17 |
+
"LABEL_0": 0
|
18 |
+
},
|
19 |
+
"layer_norm_eps": 1e-12,
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "bert",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"problem_type": "regression",
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.47.0",
|
29 |
+
"type_vocab_size": 2,
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 30522
|
32 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a350e95b72a7ddac82f8ccd8ee73718ad4f47d14c9afad2f2041ae362e4e31a9
|
3 |
+
size 133464836
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2050faf379b770eff60afcff5b51c91f3906612b1003effcbd312ad2e93a7a70
|
3 |
+
size 5368
|