End of training
Browse files- README.md +79 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: phi2-journal-finetune
|
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 |
+
# phi2-journal-finetune
|
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: 2.2606
|
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: 2.5e-05
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- lr_scheduler_warmup_steps: 1
|
45 |
+
- training_steps: 500
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| 2.7371 | 0.0 | 25 | 2.5507 |
|
52 |
+
| 2.5853 | 0.01 | 50 | 2.3917 |
|
53 |
+
| 2.3176 | 0.01 | 75 | 2.3258 |
|
54 |
+
| 2.3459 | 0.01 | 100 | 2.3066 |
|
55 |
+
| 2.3003 | 0.02 | 125 | 2.2957 |
|
56 |
+
| 2.2767 | 0.02 | 150 | 2.2883 |
|
57 |
+
| 2.2637 | 0.02 | 175 | 2.2835 |
|
58 |
+
| 2.3387 | 0.03 | 200 | 2.2787 |
|
59 |
+
| 2.3151 | 0.03 | 225 | 2.2759 |
|
60 |
+
| 2.1807 | 0.03 | 250 | 2.2767 |
|
61 |
+
| 2.4122 | 0.04 | 275 | 2.2703 |
|
62 |
+
| 2.139 | 0.04 | 300 | 2.2680 |
|
63 |
+
| 2.3887 | 0.04 | 325 | 2.2664 |
|
64 |
+
| 2.2124 | 0.05 | 350 | 2.2648 |
|
65 |
+
| 2.2271 | 0.05 | 375 | 2.2649 |
|
66 |
+
| 2.3335 | 0.05 | 400 | 2.2634 |
|
67 |
+
| 2.2411 | 0.06 | 425 | 2.2628 |
|
68 |
+
| 2.4075 | 0.06 | 450 | 2.2619 |
|
69 |
+
| 2.3136 | 0.06 | 475 | 2.2615 |
|
70 |
+
| 2.2328 | 0.07 | 500 | 2.2606 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- PEFT 0.7.2.dev0
|
76 |
+
- Transformers 4.38.0.dev0
|
77 |
+
- Pytorch 2.1.0+cu121
|
78 |
+
- Datasets 2.16.1
|
79 |
+
- Tokenizers 0.15.0
|
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": 64,
|
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": 32,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"fc2",
|
23 |
+
"Wqkv",
|
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:7042d5cd4572ce0b7f61aef1fd248d4dff8c8b30a95c1f697e191e62fc07cc4b
|
3 |
+
size 104873776
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bee9d91efae898d73c0c432d54764f4919f4fc155ce5b04cfe49a61041e3a178
|
3 |
+
size 4728
|