gutsartificial commited on
Commit
0e04cbf
1 Parent(s): b5d9946

bge-small-en-v1.5-2024-12-06_14-23-52

Browse files
Files changed (4) hide show
  1. README.md +75 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. 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_14-23-52-relevancy-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_14-23-52-relevancy-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.0219
20
+ - Spearman: 0.9313
21
+ - Pearson: 0.9323
22
+ - Mse: 0.0219
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.0334 | 0.3998 | 1055 | 0.0291 | 0.9039 | 0.9070 | 0.0291 |
57
+ | 0.0276 | 0.7997 | 2110 | 0.0264 | 0.9129 | 0.9165 | 0.0264 |
58
+ | 0.0244 | 1.1995 | 3165 | 0.0253 | 0.9185 | 0.9215 | 0.0253 |
59
+ | 0.0239 | 1.5994 | 4220 | 0.0230 | 0.9235 | 0.9271 | 0.0230 |
60
+ | 0.0217 | 1.9992 | 5275 | 0.0234 | 0.9252 | 0.9294 | 0.0234 |
61
+ | 0.0186 | 2.3991 | 6330 | 0.0228 | 0.9272 | 0.9304 | 0.0228 |
62
+ | 0.0174 | 2.7989 | 7385 | 0.0219 | 0.9286 | 0.9320 | 0.0219 |
63
+ | 0.0136 | 3.1988 | 8440 | 0.0221 | 0.9290 | 0.9314 | 0.0221 |
64
+ | 0.014 | 3.5986 | 9495 | 0.0218 | 0.9304 | 0.9329 | 0.0218 |
65
+ | 0.0149 | 3.9985 | 10550 | 0.0215 | 0.9305 | 0.9332 | 0.0215 |
66
+ | 0.0112 | 4.3983 | 11605 | 0.0217 | 0.9305 | 0.9332 | 0.0217 |
67
+ | 0.0127 | 4.7982 | 12660 | 0.0217 | 0.9306 | 0.9333 | 0.0217 |
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:914793fd5a2f5655007e27fac2df77ab4b5a025db6f12780b0b82cd0a714e5b4
3
+ size 133464836
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cf2ba6919ad0406bf68424867ce04b05359acaedd418fc8320b10adc3671f53
3
+ size 5304