End of training
Browse files- README.md +84 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
library_name: peft
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- Open-Orca/OpenOrca
|
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 Open-Orca/OpenOrca dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.6236
|
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: 1
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 4
|
46 |
+
- total_train_batch_size: 4
|
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: 1000
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
56 |
+
| 2.0884 | 0.2 | 50 | 1.9608 |
|
57 |
+
| 2.0157 | 0.4 | 100 | 1.7828 |
|
58 |
+
| 1.6203 | 0.6 | 150 | 1.7023 |
|
59 |
+
| 1.7122 | 0.8 | 200 | 1.6731 |
|
60 |
+
| 1.6622 | 1.0 | 250 | 1.6593 |
|
61 |
+
| 1.6149 | 1.2 | 300 | 1.6532 |
|
62 |
+
| 1.5907 | 1.4 | 350 | 1.6480 |
|
63 |
+
| 1.5713 | 1.6 | 400 | 1.6429 |
|
64 |
+
| 1.5579 | 1.8 | 450 | 1.6394 |
|
65 |
+
| 1.6403 | 2.0 | 500 | 1.6361 |
|
66 |
+
| 1.6505 | 2.2 | 550 | 1.6334 |
|
67 |
+
| 1.5505 | 2.4 | 600 | 1.6315 |
|
68 |
+
| 1.5232 | 2.6 | 650 | 1.6300 |
|
69 |
+
| 1.6129 | 2.8 | 700 | 1.6278 |
|
70 |
+
| 1.5062 | 3.0 | 750 | 1.6267 |
|
71 |
+
| 1.6031 | 3.2 | 800 | 1.6254 |
|
72 |
+
| 1.5404 | 3.4 | 850 | 1.6254 |
|
73 |
+
| 1.6157 | 3.6 | 900 | 1.6242 |
|
74 |
+
| 1.5541 | 3.8 | 950 | 1.6238 |
|
75 |
+
| 1.471 | 4.0 | 1000 | 1.6236 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- PEFT 0.7.2.dev0
|
81 |
+
- Transformers 4.37.0.dev0
|
82 |
+
- Pytorch 2.1.0+cu121
|
83 |
+
- Datasets 2.16.1
|
84 |
+
- 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": 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 |
+
"fc1",
|
23 |
+
"Wqkv",
|
24 |
+
"fc2"
|
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:8b2bc6b9a2f9a85f2b22f68abfed41fd4027c9b8db2b1c4102ad3ea5ea8ce50e
|
3 |
+
size 26230352
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c55201cbc6fdbf452635e4a6f0ca3201ef90f3c6809e8752d4bce5fb9b62d5e1
|
3 |
+
size 4664
|