abdulrahman-nuzha commited on
Commit
968ee12
·
verified ·
1 Parent(s): 726d39a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/multilingual-e5-small
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-multilingual-e5-small-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-multilingual-e5-small-arabic-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.5545
25
+ - Accuracy: 0.7845
26
+ - Precision: 0.7877
27
+ - Recall: 0.7845
28
+ - F1: 0.7855
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.1004 | 0.3636 | 50 | 1.0937 | 0.4409 | 0.5501 | 0.4409 | 0.2840 |
64
+ | 1.0836 | 0.7273 | 100 | 1.0569 | 0.4923 | 0.7472 | 0.4923 | 0.3721 |
65
+ | 1.0058 | 1.0873 | 150 | 0.9185 | 0.6682 | 0.7418 | 0.6682 | 0.5839 |
66
+ | 0.8875 | 1.4509 | 200 | 0.8000 | 0.7191 | 0.7297 | 0.7191 | 0.6883 |
67
+ | 0.7929 | 1.8145 | 250 | 0.7344 | 0.7436 | 0.7441 | 0.7436 | 0.7432 |
68
+ | 0.7229 | 2.1745 | 300 | 0.6749 | 0.7573 | 0.7585 | 0.7573 | 0.7575 |
69
+ | 0.6733 | 2.5382 | 350 | 0.6474 | 0.7677 | 0.7692 | 0.7677 | 0.7613 |
70
+ | 0.6496 | 2.9018 | 400 | 0.6064 | 0.7805 | 0.7852 | 0.7805 | 0.7803 |
71
+ | 0.5981 | 3.2618 | 450 | 0.5917 | 0.7782 | 0.7835 | 0.7782 | 0.7779 |
72
+ | 0.5646 | 3.6255 | 500 | 0.5961 | 0.7755 | 0.7812 | 0.7755 | 0.7773 |
73
+ | 0.5663 | 3.9891 | 550 | 0.5629 | 0.7891 | 0.7880 | 0.7891 | 0.7884 |
74
+ | 0.5179 | 4.3491 | 600 | 0.5673 | 0.7905 | 0.7900 | 0.7905 | 0.7880 |
75
+ | 0.5167 | 4.7127 | 650 | 0.5993 | 0.7618 | 0.7787 | 0.7618 | 0.7657 |
76
+ | 0.4984 | 5.0727 | 700 | 0.5545 | 0.7845 | 0.7877 | 0.7845 | 0.7855 |
77
+ | 0.4905 | 5.4364 | 750 | 0.5496 | 0.7936 | 0.7926 | 0.7936 | 0.7926 |
78
+ | 0.474 | 5.8 | 800 | 0.5585 | 0.7832 | 0.7842 | 0.7832 | 0.7836 |
79
+ | 0.457 | 6.16 | 850 | 0.5726 | 0.785 | 0.7876 | 0.785 | 0.7860 |
80
+ | 0.4471 | 6.5236 | 900 | 0.5530 | 0.7886 | 0.7873 | 0.7886 | 0.7877 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.51.1
86
+ - Pytorch 2.6.0+cu124
87
+ - Datasets 3.5.0
88
+ - 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
+ "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
+ "tokenizer_class": "XLMRobertaTokenizer",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.51.1",
33
+ "type_vocab_size": 2,
34
+ "use_cache": true,
35
+ "vocab_size": 250037
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:975635cfa02108a0e14e5629a76a373f42dc0cb8d33aaa7effeacb7e6c56774f
3
+ size 470643204
runs/Apr16_17-22-37_c1766b0a1233/events.out.tfevents.1744824174.c1766b0a1233.2393.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06dac5488184a0d9655c9f639b4cdbf95220e205c027d7033d176153c10f5b14
3
+ size 17876
runs/Apr16_17-22-37_c1766b0a1233/events.out.tfevents.1744824601.c1766b0a1233.2393.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88029f87d1de6f90a116fb17fa87ad12f0e9f9d73b76d3d6cbbbd1fc6b0f62d1
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79bcd864200ae0e05cce128ee36eead5bee85d6ea9a17a7d8374fdf34fc22e19
3
+ size 5432