abdulrahman-nuzha commited on
Commit
a69161e
·
verified ·
1 Parent(s): 2b071b1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/e5-small
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-e5-small-english-fp16
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # intfloat-e5-small-english-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/e5-small](https://huggingface.co/intfloat/e5-small) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.3566
25
+ - Accuracy: 0.8743
26
+ - Precision: 0.8739
27
+ - Recall: 0.8743
28
+ - F1: 0.8726
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 64
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 128
53
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_ratio: 0.3
56
+ - num_epochs: 10
57
+ - mixed_precision_training: Native AMP
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
62
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
63
+ | 1.0921 | 0.3922 | 50 | 1.0827 | 0.4828 | 0.7503 | 0.4828 | 0.3144 |
64
+ | 1.0638 | 0.7843 | 100 | 1.0366 | 0.4828 | 0.7503 | 0.4828 | 0.3144 |
65
+ | 0.9808 | 1.1725 | 150 | 0.9117 | 0.5255 | 0.6319 | 0.5255 | 0.4004 |
66
+ | 0.8052 | 1.5647 | 200 | 0.7107 | 0.7014 | 0.7209 | 0.7014 | 0.6282 |
67
+ | 0.6279 | 1.9569 | 250 | 0.5362 | 0.8379 | 0.8370 | 0.8379 | 0.8348 |
68
+ | 0.4941 | 2.3451 | 300 | 0.4518 | 0.8615 | 0.8620 | 0.8615 | 0.8592 |
69
+ | 0.4408 | 2.7373 | 350 | 0.4130 | 0.8635 | 0.8641 | 0.8635 | 0.8617 |
70
+ | 0.3937 | 3.1255 | 400 | 0.3826 | 0.8743 | 0.8739 | 0.8743 | 0.8730 |
71
+ | 0.3403 | 3.5176 | 450 | 0.3628 | 0.8757 | 0.8772 | 0.8757 | 0.8748 |
72
+ | 0.3613 | 3.9098 | 500 | 0.3566 | 0.8743 | 0.8739 | 0.8743 | 0.8726 |
73
+ | 0.2971 | 4.2980 | 550 | 0.3398 | 0.8792 | 0.8787 | 0.8792 | 0.8782 |
74
+ | 0.303 | 4.6902 | 600 | 0.3401 | 0.8787 | 0.8785 | 0.8787 | 0.8775 |
75
+ | 0.2713 | 5.0784 | 650 | 0.3506 | 0.8777 | 0.8791 | 0.8777 | 0.8757 |
76
+ | 0.2702 | 5.4706 | 700 | 0.3512 | 0.8802 | 0.8812 | 0.8802 | 0.8782 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.51.1
82
+ - Pytorch 2.6.0+cu124
83
+ - Datasets 3.5.0
84
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 384,
10
+ "id2label": {
11
+ "0": "negative",
12
+ "1": "positive",
13
+ "2": "neutral"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 1536,
17
+ "label2id": {
18
+ "negative": 0,
19
+ "neutral": 2,
20
+ "positive": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.51.1",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 30522
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b386db39772c460d5962ff46e8daedd3bf416254c877bda765861914ef0f93b0
3
+ size 133467916
runs/Apr16_16-31-06_9424de0d1b18/events.out.tfevents.1744821075.9424de0d1b18.1160.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02648bf3ddc94317a77d3d6118b34d46cf3445658487e6b7e1551d3a65f00f5a
3
+ size 15051
runs/Apr16_16-31-06_9424de0d1b18/events.out.tfevents.1744821423.9424de0d1b18.1160.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:219870da5c4e013af4c78c0e565af41a29bcee4852e5983a8fbc276784ed8854
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe5d8fbc84fbddca8ec57d0f18228c43cb54e1a5c73ba7afd1bc02e6b1682982
3
+ size 5368