fine-tuning-Phi2-with-webglm-qa-with-lora
Browse files- README.md +33 -23
- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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.
|
20 |
|
21 |
## Model description
|
22 |
|
@@ -43,34 +43,44 @@ The following hyperparameters were used during training:
|
|
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:
|
47 |
-
- training_steps:
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
-
| No log | 0.2 | 10 | 7.
|
55 |
-
| 7.
|
56 |
-
| 7.
|
57 |
-
|
|
58 |
-
|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
|
76 |
### Framework versions
|
|
|
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.1475
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
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: 30
|
47 |
+
- training_steps: 300
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| No log | 0.2 | 10 | 7.7121 |
|
55 |
+
| 7.4808 | 0.4 | 20 | 4.3398 |
|
56 |
+
| 7.4808 | 0.6 | 30 | 0.6362 |
|
57 |
+
| 1.5296 | 0.8 | 40 | 0.5285 |
|
58 |
+
| 1.5296 | 1.0 | 50 | 0.4668 |
|
59 |
+
| 0.3883 | 1.2 | 60 | 0.4194 |
|
60 |
+
| 0.3883 | 1.39 | 70 | 0.3737 |
|
61 |
+
| 0.3482 | 1.59 | 80 | 0.3338 |
|
62 |
+
| 0.3482 | 1.79 | 90 | 0.3036 |
|
63 |
+
| 0.2296 | 1.99 | 100 | 0.2802 |
|
64 |
+
| 0.2296 | 2.19 | 110 | 0.2595 |
|
65 |
+
| 0.212 | 2.39 | 120 | 0.2452 |
|
66 |
+
| 0.212 | 2.59 | 130 | 0.2307 |
|
67 |
+
| 0.1943 | 2.79 | 140 | 0.2145 |
|
68 |
+
| 0.1943 | 2.99 | 150 | 0.2031 |
|
69 |
+
| 0.1635 | 3.19 | 160 | 0.1957 |
|
70 |
+
| 0.1635 | 3.39 | 170 | 0.1857 |
|
71 |
+
| 0.1543 | 3.59 | 180 | 0.1788 |
|
72 |
+
| 0.1543 | 3.78 | 190 | 0.1732 |
|
73 |
+
| 0.1492 | 3.98 | 200 | 0.1687 |
|
74 |
+
| 0.1492 | 4.18 | 210 | 0.1650 |
|
75 |
+
| 0.1327 | 4.38 | 220 | 0.1632 |
|
76 |
+
| 0.1327 | 4.58 | 230 | 0.1597 |
|
77 |
+
| 0.1359 | 4.78 | 240 | 0.1552 |
|
78 |
+
| 0.1359 | 4.98 | 250 | 0.1522 |
|
79 |
+
| 0.1367 | 5.18 | 260 | 0.1506 |
|
80 |
+
| 0.1367 | 5.38 | 270 | 0.1495 |
|
81 |
+
| 0.1204 | 5.58 | 280 | 0.1484 |
|
82 |
+
| 0.1204 | 5.78 | 290 | 0.1477 |
|
83 |
+
| 0.125 | 5.98 | 300 | 0.1475 |
|
84 |
|
85 |
|
86 |
### Framework versions
|
adapter_config.json
CHANGED
@@ -19,12 +19,12 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"q_proj",
|
23 |
-
"fc1",
|
24 |
"k_proj",
|
|
|
25 |
"v_proj",
|
|
|
26 |
"dense",
|
27 |
-
"
|
28 |
],
|
29 |
"task_type": "CAUSAL_LM"
|
30 |
}
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
|
|
|
|
22 |
"k_proj",
|
23 |
+
"q_proj",
|
24 |
"v_proj",
|
25 |
+
"fc2",
|
26 |
"dense",
|
27 |
+
"fc1"
|
28 |
],
|
29 |
"task_type": "CAUSAL_LM"
|
30 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 94422368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68d52b9ee5f1f1b896b6562f771ede7ebf1806ad405654c4f70b3cd896ce5c4f
|
3 |
size 94422368
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4283
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4e6f08bbc3be4f8ef90b14fec37406472b33edd35f297e638593e1cbf0bbb83
|
3 |
size 4283
|