abdulrahman-nuzha commited on
Commit
2aebcc6
·
verified ·
1 Parent(s): 71906ea

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/multilingual-e5-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-multilingual-e5-base-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-base-arabic-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/multilingual-e5-base](https://huggingface.co/intfloat/multilingual-e5-base) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.4961
25
+ - Accuracy: 0.7986
26
+ - Precision: 0.7991
27
+ - Recall: 0.7986
28
+ - F1: 0.7988
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.0686 | 0.3636 | 50 | 1.0146 | 0.5495 | 0.7252 | 0.5495 | 0.4582 |
64
+ | 0.9589 | 0.7273 | 100 | 0.8046 | 0.6777 | 0.7234 | 0.6777 | 0.6081 |
65
+ | 0.7431 | 1.0873 | 150 | 0.6238 | 0.7595 | 0.7565 | 0.7595 | 0.7530 |
66
+ | 0.6066 | 1.4509 | 200 | 0.5485 | 0.7945 | 0.7947 | 0.7945 | 0.7906 |
67
+ | 0.5558 | 1.8145 | 250 | 0.5530 | 0.7827 | 0.7860 | 0.7827 | 0.7837 |
68
+ | 0.5343 | 2.1745 | 300 | 0.5430 | 0.7973 | 0.8009 | 0.7973 | 0.7983 |
69
+ | 0.4965 | 2.5382 | 350 | 0.5178 | 0.7986 | 0.7993 | 0.7986 | 0.7988 |
70
+ | 0.5017 | 2.9018 | 400 | 0.4961 | 0.7986 | 0.7991 | 0.7986 | 0.7988 |
71
+ | 0.4525 | 3.2618 | 450 | 0.5441 | 0.7932 | 0.7991 | 0.7932 | 0.7950 |
72
+ | 0.4194 | 3.6255 | 500 | 0.5147 | 0.8027 | 0.8051 | 0.8027 | 0.8027 |
73
+ | 0.4353 | 3.9891 | 550 | 0.4918 | 0.8118 | 0.8109 | 0.8118 | 0.8110 |
74
+ | 0.3635 | 4.3491 | 600 | 0.5659 | 0.7977 | 0.8058 | 0.7977 | 0.7980 |
75
+ | 0.3529 | 4.7127 | 650 | 0.5493 | 0.8023 | 0.8066 | 0.8023 | 0.8029 |
76
+ | 0.3574 | 5.0727 | 700 | 0.5438 | 0.8023 | 0.8043 | 0.8023 | 0.8031 |
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,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "XLMRobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "negative",
14
+ "1": "positive",
15
+ "2": "neutral"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "negative": 0,
21
+ "neutral": 2,
22
+ "positive": 1
23
+ },
24
+ "layer_norm_eps": 1e-05,
25
+ "max_position_embeddings": 514,
26
+ "model_type": "xlm-roberta",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "output_past": true,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.51.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 250002
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdd594fd77520f13c45da4747efe31e9f1454544731bbaae20b6c0c37be6bdab
3
+ size 1112208084
runs/Apr16_17-33-08_c1766b0a1233/events.out.tfevents.1744824809.c1766b0a1233.2393.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91d2c5b9582f4bb1fef12c348c618776f0a1a2d50fc7f0832b1ed307501b6a4c
3
+ size 15174
runs/Apr16_17-33-08_c1766b0a1233/events.out.tfevents.1744825340.c1766b0a1233.2393.13 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:695bc9c0cf319eed6ef39bc20006b10819522f89ace270877812bfc621b6a7de
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:794ff65e2a5a9f834cf84ffc2615201182c207ed4d59dc8dadd677214d339dbd
3
+ size 5432