abdulrahman-nuzha commited on
Commit
5b51145
·
verified ·
1 Parent(s): c3f6ca4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/e5-base-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-e5-base-v2-arabic-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-base-v2-arabic-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/e5-base-v2](https://huggingface.co/intfloat/e5-base-v2) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.6634
25
+ - Accuracy: 0.73
26
+ - Precision: 0.7305
27
+ - Recall: 0.73
28
+ - F1: 0.7301
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.0968 | 0.3636 | 50 | 0.9932 | 0.5959 | 0.4804 | 0.5959 | 0.5160 |
64
+ | 0.9488 | 0.7273 | 100 | 0.8474 | 0.6418 | 0.6660 | 0.6418 | 0.5688 |
65
+ | 0.8466 | 1.0873 | 150 | 0.7875 | 0.68 | 0.6629 | 0.68 | 0.6612 |
66
+ | 0.7901 | 1.4509 | 200 | 0.7713 | 0.685 | 0.6766 | 0.685 | 0.6764 |
67
+ | 0.7736 | 1.8145 | 250 | 0.7584 | 0.6895 | 0.6859 | 0.6895 | 0.6860 |
68
+ | 0.7551 | 2.1745 | 300 | 0.7051 | 0.7114 | 0.7047 | 0.7114 | 0.7044 |
69
+ | 0.7253 | 2.5382 | 350 | 0.7309 | 0.6868 | 0.7165 | 0.6868 | 0.6933 |
70
+ | 0.7172 | 2.9018 | 400 | 0.7031 | 0.7177 | 0.7156 | 0.7177 | 0.7165 |
71
+ | 0.6836 | 3.2618 | 450 | 0.6888 | 0.7173 | 0.7228 | 0.7173 | 0.7194 |
72
+ | 0.6733 | 3.6255 | 500 | 0.6981 | 0.7105 | 0.7200 | 0.7105 | 0.7136 |
73
+ | 0.6552 | 3.9891 | 550 | 0.6714 | 0.7341 | 0.7363 | 0.7341 | 0.7231 |
74
+ | 0.6086 | 4.3491 | 600 | 0.6634 | 0.73 | 0.7305 | 0.73 | 0.7301 |
75
+ | 0.6102 | 4.7127 | 650 | 0.6537 | 0.7382 | 0.7437 | 0.7382 | 0.7400 |
76
+ | 0.5929 | 5.0727 | 700 | 0.6812 | 0.7277 | 0.7362 | 0.7277 | 0.7308 |
77
+ | 0.5728 | 5.4364 | 750 | 0.6652 | 0.7286 | 0.7402 | 0.7286 | 0.7293 |
78
+ | 0.5556 | 5.8 | 800 | 0.6694 | 0.7391 | 0.7426 | 0.7391 | 0.7405 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.51.1
84
+ - Pytorch 2.6.0+cu124
85
+ - Datasets 3.5.0
86
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "negative",
13
+ "1": "positive",
14
+ "2": "neutral"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "negative": 0,
20
+ "neutral": 2,
21
+ "positive": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "problem_type": "single_label_classification",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.51.1",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 30522
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03d92871ab57fe3503ac335d93dfa044c919751d572cb6f49aeac3301dbd808
3
+ size 437961724
runs/Apr16_15-53-17_c223d0fff7f0/events.out.tfevents.1744818814.c223d0fff7f0.1221.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b88c6f9a290b96fdc0143d701e5ef13ce12c27556e94b27bdfdd8cfcfce4da6
3
+ size 16456
runs/Apr16_15-53-17_c223d0fff7f0/events.out.tfevents.1744819401.c223d0fff7f0.1221.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:deea46647bc1230955263c98044a5f67ad34c39e34edf971893d9201e55584a9
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbada5169e49aa1d96b2d798bfd303caf2960467dcd19e682d0dbe4c913e567d
3
+ size 5368