fine-tuning-Phi2-with-webglm-qa-with-lora
Browse files- README.md +8 -8
- 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:
|
20 |
|
21 |
## Model description
|
22 |
|
@@ -43,19 +43,19 @@ 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 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
|
|
59 |
|
60 |
|
61 |
### 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.5112
|
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: 10
|
47 |
+
- training_steps: 50
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| 8.0656 | 0.2 | 10 | 6.1207 |
|
55 |
+
| 3.4473 | 0.4 | 20 | 0.9409 |
|
56 |
+
| 0.6293 | 0.6 | 30 | 0.5648 |
|
57 |
+
| 0.455 | 0.8 | 40 | 0.5257 |
|
58 |
+
| 0.4325 | 1.0 | 50 | 0.5112 |
|
59 |
|
60 |
|
61 |
### Framework versions
|
adapter_config.json
CHANGED
@@ -19,12 +19,12 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"q_proj",
|
23 |
"k_proj",
|
24 |
-
"dense",
|
25 |
"v_proj",
|
26 |
"fc1",
|
27 |
-
"fc2"
|
|
|
|
|
28 |
],
|
29 |
"task_type": "CAUSAL_LM"
|
30 |
}
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
|
|
22 |
"k_proj",
|
|
|
23 |
"v_proj",
|
24 |
"fc1",
|
25 |
+
"fc2",
|
26 |
+
"q_proj",
|
27 |
+
"dense"
|
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:20b26d06164cbc59c6eb5c608e01279ec6aafc6e98021551dc840350210cb582
|
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:9e5612a777b0fa79303c9a2432f3a86539e7e19bb8723dde492cfaf93aff3767
|
3 |
size 4283
|