fklska commited on
Commit
6e89e70
·
verified ·
1 Parent(s): 717b60a

fklska/CrossEncoder-productCards

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +38 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: cross-encoder/ms-marco-MiniLM-L12-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: cross_encoder_ft
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
+ # cross_encoder_ft
16
+
17
+ This model is a fine-tuned version of [cross-encoder/ms-marco-MiniLM-L12-v2](https://huggingface.co/cross-encoder/ms-marco-MiniLM-L12-v2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2213
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 16
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
43
+ - total_train_batch_size: 32
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 1
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:------:|:----:|:---------------:|
52
+ | 0.8406 | 0.2983 | 1000 | 0.2205 |
53
+ | 0.4520 | 0.5966 | 2000 | 0.2217 |
54
+ | 0.4483 | 0.8949 | 3000 | 0.2229 |
55
+ | 0.4483 | 1.0 | 3353 | 0.2213 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 5.13.1
61
+ - Pytorch 2.11.0+cu128
62
+ - Datasets 4.0.0
63
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "bfloat16",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "LABEL_0"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 1536,
20
+ "is_decoder": false,
21
+ "label2id": {
22
+ "LABEL_0": 0
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "regression",
32
+ "sbert_ce_default_activation_function": "torch.nn.modules.linear.Identity",
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.13.1",
35
+ "type_vocab_size": 2,
36
+ "use_cache": false,
37
+ "vocab_size": 30522
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4de79c38f12c28458ec28a941bcc4bd72a1ae7e3ff8e07123cc307eacf350e3d
3
+ size 66744114
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:191954197402247712d9fcb8f6dfde4cc2313800baf09b5cc5e57f70a1a3f84e
3
+ size 5137