gutsartificial
commited on
bge-small-en-v1.5-2024-12-08_15-44-34
Browse files- README.md +75 -0
- config.json +32 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-08_15-44-34-quality-weight-0.7
|
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-08_15-44-34-quality-weight-0.7
|
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.0187
|
20 |
+
- Spearman: 0.9299
|
21 |
+
- Pearson: 0.9262
|
22 |
+
- Mse: 0.0187
|
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: 64
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 4
|
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.0283 | 0.3998 | 1055 | 0.0252 | 0.9012 | 0.8968 | 0.0252 |
|
57 |
+
| 0.0236 | 0.7997 | 2110 | 0.0225 | 0.9116 | 0.9081 | 0.0225 |
|
58 |
+
| 0.021 | 1.1995 | 3165 | 0.0217 | 0.9179 | 0.9147 | 0.0217 |
|
59 |
+
| 0.0206 | 1.5994 | 4220 | 0.0197 | 0.9230 | 0.9199 | 0.0197 |
|
60 |
+
| 0.0182 | 1.9992 | 5275 | 0.0197 | 0.9246 | 0.9223 | 0.0197 |
|
61 |
+
| 0.0163 | 2.3991 | 6330 | 0.0192 | 0.9256 | 0.9243 | 0.0192 |
|
62 |
+
| 0.0149 | 2.7989 | 7385 | 0.0185 | 0.9273 | 0.9260 | 0.0185 |
|
63 |
+
| 0.0119 | 3.1988 | 8440 | 0.0188 | 0.9283 | 0.9253 | 0.0188 |
|
64 |
+
| 0.0131 | 3.5986 | 9495 | 0.0184 | 0.9294 | 0.9273 | 0.0184 |
|
65 |
+
| 0.0133 | 3.9985 | 10550 | 0.0183 | 0.9296 | 0.9276 | 0.0183 |
|
66 |
+
| 0.0102 | 4.3983 | 11605 | 0.0185 | 0.9298 | 0.9275 | 0.0185 |
|
67 |
+
| 0.0116 | 4.7982 | 12660 | 0.0185 | 0.9299 | 0.9276 | 0.0185 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.46.3
|
73 |
+
- Pytorch 2.4.1+cu121
|
74 |
+
- Datasets 2.19.2
|
75 |
+
- Tokenizers 0.20.3
|
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.46.3",
|
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:a10e582f884ce6b3df8c78e006d7a5513868c8a5fe1d7bba46c5f102adc93220
|
3 |
+
size 133464836
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab8207219890c330e1758162f66b43d2a02672de125e1f4e42a300e6eb7caee0
|
3 |
+
size 5304
|