abdulrahman-nuzha commited on
Commit
fdd099b
·
verified ·
1 Parent(s): b152b31

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/multilingual-e5-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-multilingual-e5-large-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-large-arabic-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.4707
25
+ - Accuracy: 0.8177
26
+ - Precision: 0.8189
27
+ - Recall: 0.8177
28
+ - F1: 0.8176
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.0811 | 0.3636 | 50 | 0.9500 | 0.57 | 0.7318 | 0.57 | 0.4829 |
64
+ | 0.8355 | 0.7273 | 100 | 0.6392 | 0.7605 | 0.7622 | 0.7605 | 0.7510 |
65
+ | 0.5786 | 1.0873 | 150 | 0.5154 | 0.7986 | 0.7983 | 0.7986 | 0.7981 |
66
+ | 0.508 | 1.4509 | 200 | 0.4863 | 0.8155 | 0.8144 | 0.8155 | 0.8139 |
67
+ | 0.4931 | 1.8145 | 250 | 0.4732 | 0.8114 | 0.8102 | 0.8114 | 0.8103 |
68
+ | 0.4708 | 2.1745 | 300 | 0.4988 | 0.8164 | 0.8184 | 0.8164 | 0.8163 |
69
+ | 0.4146 | 2.5382 | 350 | 0.5011 | 0.8073 | 0.8110 | 0.8073 | 0.8079 |
70
+ | 0.4436 | 2.9018 | 400 | 0.4707 | 0.8177 | 0.8189 | 0.8177 | 0.8176 |
71
+ | 0.3741 | 3.2618 | 450 | 0.5440 | 0.8 | 0.8042 | 0.8 | 0.8013 |
72
+ | 0.3358 | 3.6255 | 500 | 0.5422 | 0.7982 | 0.8063 | 0.7982 | 0.7994 |
73
+ | 0.3497 | 3.9891 | 550 | 0.5210 | 0.8105 | 0.8147 | 0.8105 | 0.8102 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.51.1
79
+ - Pytorch 2.6.0+cu124
80
+ - Datasets 3.5.0
81
+ - 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": 1024,
12
+ "id2label": {
13
+ "0": "negative",
14
+ "1": "positive",
15
+ "2": "neutral"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
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": 16,
28
+ "num_hidden_layers": 24,
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:cd540e3af92c8f03796b7cc39e8c857187b4e046d20f03aa9db2d0818d7e5aad
3
+ size 2239622772
runs/Apr16_17-47-24_c1766b0a1233/events.out.tfevents.1744825663.c1766b0a1233.2393.14 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:052cc6d315251269aea27235892f8eb107b67f8e7a6307d139b9aeef9f297dd8
3
+ size 13130
runs/Apr16_17-47-24_c1766b0a1233/events.out.tfevents.1744826691.c1766b0a1233.2393.15 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fc7ae2d883f60803449d110df732029adf874379048d87361e0fefd96f7fefb
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c95117d6098024a871e266e2cca781f3b6e4670be02290ccc7f6a6697a38cd88
3
+ size 5432