abdulrahman-nuzha commited on
Commit
744e12b
·
verified ·
1 Parent(s): 8f37511

End of training

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: intfloat/e5-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: intfloat-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-e5-large-arabic-fp16
21
+
22
+ This model is a fine-tuned version of [intfloat/e5-large](https://huggingface.co/intfloat/e5-large) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.6571
25
+ - Accuracy: 0.7295
26
+ - Precision: 0.7252
27
+ - Recall: 0.7295
28
+ - F1: 0.7229
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.1453 | 0.3636 | 50 | 0.9382 | 0.5823 | 0.4522 | 0.5823 | 0.5088 |
64
+ | 0.9116 | 0.7273 | 100 | 0.8151 | 0.6568 | 0.6543 | 0.6568 | 0.6162 |
65
+ | 0.8321 | 1.0873 | 150 | 0.8027 | 0.6645 | 0.6610 | 0.6645 | 0.6379 |
66
+ | 0.8035 | 1.4509 | 200 | 0.7924 | 0.6777 | 0.6807 | 0.6777 | 0.6628 |
67
+ | 0.7746 | 1.8145 | 250 | 0.9196 | 0.6141 | 0.6605 | 0.6141 | 0.6040 |
68
+ | 0.7751 | 2.1745 | 300 | 0.7843 | 0.6677 | 0.6741 | 0.6677 | 0.6650 |
69
+ | 0.753 | 2.5382 | 350 | 0.7799 | 0.6568 | 0.6968 | 0.6568 | 0.6672 |
70
+ | 0.731 | 2.9018 | 400 | 0.7178 | 0.7123 | 0.7160 | 0.7123 | 0.6950 |
71
+ | 0.7133 | 3.2618 | 450 | 0.6932 | 0.71 | 0.7151 | 0.71 | 0.7117 |
72
+ | 0.7057 | 3.6255 | 500 | 0.7281 | 0.6986 | 0.7044 | 0.6986 | 0.6988 |
73
+ | 0.6831 | 3.9891 | 550 | 0.6745 | 0.7309 | 0.7296 | 0.7309 | 0.7195 |
74
+ | 0.6486 | 4.3491 | 600 | 0.6571 | 0.7295 | 0.7252 | 0.7295 | 0.7229 |
75
+ | 0.6378 | 4.7127 | 650 | 0.6701 | 0.7232 | 0.7217 | 0.7232 | 0.7223 |
76
+ | 0.6281 | 5.0727 | 700 | 0.6627 | 0.7386 | 0.7350 | 0.7386 | 0.7360 |
77
+ | 0.5938 | 5.4364 | 750 | 0.6814 | 0.7155 | 0.7229 | 0.7155 | 0.7181 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.51.1
83
+ - Pytorch 2.6.0+cu124
84
+ - Datasets 3.5.0
85
+ - 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": 1024,
10
+ "id2label": {
11
+ "0": "negative",
12
+ "1": "positive",
13
+ "2": "neutral"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 4096,
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": 16,
26
+ "num_hidden_layers": 24,
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:cbb970cc3eb6c927941f66c86b82a55279c88123ec5bf1424b80da54d446ad54
3
+ size 1340626860
runs/Apr16_16-47-50_c1766b0a1233/events.out.tfevents.1744822093.c1766b0a1233.2393.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a88e416ed7f66e3ad7916abac213ef47bac2b3de4420d6c2753925a9b10e9c90
3
+ size 15731
runs/Apr16_16-47-50_c1766b0a1233/events.out.tfevents.1744823460.c1766b0a1233.2393.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d600697871014ff5327e9583dce733b1602ccc197b2f05dd7336de92f7ce4a8
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1027f9ced47560da56f0447a78e05d3d60d94e40110257102ee783e77c193f6
3
+ size 5368