gutsartificial
commited on
Commit
•
082c765
1
Parent(s):
287edec
bge-small-en-v1.5-2024-12-06_21-55-53
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-06_21-55-53-quality-weight-0.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-small-en-v1.5-2024-12-06_21-55-53-quality-weight-0.1
|
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.0214
|
20 |
+
- Spearman: 0.9268
|
21 |
+
- Pearson: 0.9311
|
22 |
+
- Mse: 0.0214
|
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.0325 | 0.3998 | 1055 | 0.0286 | 0.8985 | 0.9051 | 0.0286 |
|
57 |
+
| 0.0278 | 0.7997 | 2110 | 0.0255 | 0.9081 | 0.9158 | 0.0255 |
|
58 |
+
| 0.0238 | 1.1995 | 3165 | 0.0249 | 0.9123 | 0.9200 | 0.0249 |
|
59 |
+
| 0.0235 | 1.5994 | 4220 | 0.0224 | 0.9199 | 0.9262 | 0.0224 |
|
60 |
+
| 0.0211 | 1.9992 | 5275 | 0.0230 | 0.9212 | 0.9286 | 0.0230 |
|
61 |
+
| 0.0182 | 2.3991 | 6330 | 0.0222 | 0.9218 | 0.9299 | 0.0222 |
|
62 |
+
| 0.0172 | 2.7989 | 7385 | 0.0211 | 0.9240 | 0.9318 | 0.0211 |
|
63 |
+
| 0.0136 | 3.1988 | 8440 | 0.0212 | 0.9253 | 0.9312 | 0.0212 |
|
64 |
+
| 0.014 | 3.5986 | 9495 | 0.0210 | 0.9263 | 0.9326 | 0.0210 |
|
65 |
+
| 0.0144 | 3.9985 | 10550 | 0.0208 | 0.9264 | 0.9330 | 0.0208 |
|
66 |
+
| 0.0109 | 4.3983 | 11605 | 0.0210 | 0.9264 | 0.9329 | 0.0210 |
|
67 |
+
| 0.0123 | 4.7982 | 12660 | 0.0210 | 0.9267 | 0.9331 | 0.0210 |
|
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:90c9c43bba5422b7e771ad1ff036d15dc0cb4065c1c50852d418f37712e9f035
|
3 |
+
size 133464836
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9e7b9982674ca02db90fe483e0e9a3aad0a1fe3693882a5154e3cb6aeaa08d8
|
3 |
+
size 5304
|