Gunslinger3D commited on
Commit
74e46ad
1 Parent(s): 00ccf58

fine-tuning-Phi2-with-webglm-qa-with-lora_8

Browse files
Files changed (4) hide show
  1. README.md +112 -0
  2. adapter_config.json +30 -0
  3. adapter_model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: microsoft/phi-2
7
+ model-index:
8
+ - name: fine-tuning-Phi2-with-webglm-qa-with-lora_8
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # fine-tuning-Phi2-with-webglm-qa-with-lora_8
16
+
17
+ This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0935
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 2
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 5
43
+ - total_train_batch_size: 10
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 60
47
+ - training_steps: 1000
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 7.1823 | 0.31 | 20 | 6.1082 |
55
+ | 4.0 | 0.63 | 40 | 0.9863 |
56
+ | 0.7159 | 0.94 | 60 | 0.6293 |
57
+ | 0.4994 | 1.26 | 80 | 0.4239 |
58
+ | 0.3187 | 1.57 | 100 | 0.3044 |
59
+ | 0.251 | 1.89 | 120 | 0.2567 |
60
+ | 0.2189 | 2.2 | 140 | 0.2206 |
61
+ | 0.1869 | 2.52 | 160 | 0.2000 |
62
+ | 0.1741 | 2.83 | 180 | 0.1781 |
63
+ | 0.1439 | 3.14 | 200 | 0.1638 |
64
+ | 0.1543 | 3.46 | 220 | 0.1550 |
65
+ | 0.1428 | 3.77 | 240 | 0.1455 |
66
+ | 0.127 | 4.09 | 260 | 0.1394 |
67
+ | 0.1206 | 4.4 | 280 | 0.1314 |
68
+ | 0.1206 | 4.72 | 300 | 0.1298 |
69
+ | 0.1162 | 5.03 | 320 | 0.1246 |
70
+ | 0.109 | 5.35 | 340 | 0.1235 |
71
+ | 0.1088 | 5.66 | 360 | 0.1190 |
72
+ | 0.1062 | 5.97 | 380 | 0.1157 |
73
+ | 0.0938 | 6.29 | 400 | 0.1146 |
74
+ | 0.0945 | 6.6 | 420 | 0.1133 |
75
+ | 0.1012 | 6.92 | 440 | 0.1105 |
76
+ | 0.0881 | 7.23 | 460 | 0.1109 |
77
+ | 0.0897 | 7.55 | 480 | 0.1091 |
78
+ | 0.0837 | 7.86 | 500 | 0.1060 |
79
+ | 0.0899 | 8.18 | 520 | 0.1051 |
80
+ | 0.0803 | 8.49 | 540 | 0.1041 |
81
+ | 0.0792 | 8.81 | 560 | 0.1021 |
82
+ | 0.0885 | 9.12 | 580 | 0.1000 |
83
+ | 0.0844 | 9.43 | 600 | 0.1004 |
84
+ | 0.0704 | 9.75 | 620 | 0.0992 |
85
+ | 0.0681 | 10.06 | 640 | 0.0994 |
86
+ | 0.0727 | 10.38 | 660 | 0.0977 |
87
+ | 0.0712 | 10.69 | 680 | 0.0970 |
88
+ | 0.073 | 11.01 | 700 | 0.0971 |
89
+ | 0.0683 | 11.32 | 720 | 0.0974 |
90
+ | 0.0682 | 11.64 | 740 | 0.0964 |
91
+ | 0.0716 | 11.95 | 760 | 0.0962 |
92
+ | 0.0645 | 12.26 | 780 | 0.0948 |
93
+ | 0.0662 | 12.58 | 800 | 0.0947 |
94
+ | 0.0677 | 12.89 | 820 | 0.0947 |
95
+ | 0.0626 | 13.21 | 840 | 0.0953 |
96
+ | 0.0628 | 13.52 | 860 | 0.0946 |
97
+ | 0.0642 | 13.84 | 880 | 0.0937 |
98
+ | 0.0641 | 14.15 | 900 | 0.0939 |
99
+ | 0.0587 | 14.47 | 920 | 0.0939 |
100
+ | 0.0664 | 14.78 | 940 | 0.0933 |
101
+ | 0.061 | 15.09 | 960 | 0.0931 |
102
+ | 0.0596 | 15.41 | 980 | 0.0934 |
103
+ | 0.0646 | 15.72 | 1000 | 0.0935 |
104
+
105
+
106
+ ### Framework versions
107
+
108
+ - PEFT 0.7.1
109
+ - Transformers 4.36.2
110
+ - Pytorch 2.0.0
111
+ - Datasets 2.15.0
112
+ - Tokenizers 0.15.0
adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 32,
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": 16,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "dense",
25
+ "fc1",
26
+ "fc2",
27
+ "q_proj"
28
+ ],
29
+ "task_type": "CAUSAL_LM"
30
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5005270f9e9eb7f8cbc7d3b26459906609c72ef37c650ba0c97e02671c266dbe
3
+ size 94422368
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24d7ff0d85e4595495bca0a344285c50a41db02f0ef9c5d2a2e3c2bb8fb9e6ae
3
+ size 4283