dalyaa commited on
Commit
8937f44
1 Parent(s): 4e925e5

End of training

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ library_name: peft
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - dalyaa/darebah6700
9
+ base_model: microsoft/phi-2
10
+ model-index:
11
+ - name: phi-2
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # phi-2
19
+
20
+ This model is a fine-tuned version of [microsoftl](https://huggingface.co/microsoftl) on the dalyaa/darebah6700 dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.8023
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2.5e-05
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 8
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 5
50
+ - training_steps: 2500
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:-----:|:----:|:---------------:|
56
+ | 1.2748 | 0.15 | 100 | 1.1349 |
57
+ | 1.1095 | 0.29 | 200 | 1.0077 |
58
+ | 1.0138 | 0.44 | 300 | 0.9587 |
59
+ | 0.9506 | 0.58 | 400 | 0.9188 |
60
+ | 0.9047 | 0.73 | 500 | 0.8906 |
61
+ | 0.9017 | 0.87 | 600 | 0.8722 |
62
+ | 0.8872 | 1.02 | 700 | 0.8660 |
63
+ | 0.8744 | 1.16 | 800 | 0.8501 |
64
+ | 0.8221 | 1.31 | 900 | 0.8472 |
65
+ | 0.8356 | 1.45 | 1000 | 0.8380 |
66
+ | 0.8335 | 1.6 | 1100 | 0.8317 |
67
+ | 0.828 | 1.75 | 1200 | 0.8273 |
68
+ | 0.8307 | 1.89 | 1300 | 0.8231 |
69
+ | 0.8147 | 2.04 | 1400 | 0.8185 |
70
+ | 0.8012 | 2.18 | 1500 | 0.8139 |
71
+ | 0.7885 | 2.33 | 1600 | 0.8129 |
72
+ | 0.7831 | 2.47 | 1700 | 0.8102 |
73
+ | 0.7787 | 2.62 | 1800 | 0.8148 |
74
+ | 0.7921 | 2.76 | 1900 | 0.8083 |
75
+ | 0.7777 | 2.91 | 2000 | 0.8073 |
76
+ | 0.7766 | 3.05 | 2100 | 0.8045 |
77
+ | 0.7658 | 3.2 | 2200 | 0.8056 |
78
+ | 0.7651 | 3.35 | 2300 | 0.8044 |
79
+ | 0.7844 | 3.49 | 2400 | 0.8023 |
80
+ | 0.7876 | 3.64 | 2500 | 0.8023 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - PEFT 0.8.2
86
+ - Transformers 4.38.0.dev0
87
+ - Pytorch 2.1.0+cu121
88
+ - Datasets 2.16.1
89
+ - Tokenizers 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "Wqkv",
23
+ "fc2",
24
+ "fc1"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_rslora": false
28
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff22667ff231e283829343bb0f7732f0a8175776aa9d9a781a09a423749bf7e5
3
+ size 26230352
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8749d3bf0bb18b466283cb3c0b2ac61cea652ab342a4c71204945893537377b
3
+ size 4728