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 |
+
- GEM/viggo
|
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 GEM/viggo dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.2330
|
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 |
+
| 1.917 | 0.04 | 50 | 1.4649 |
|
57 |
+
| 0.7037 | 0.08 | 100 | 0.4905 |
|
58 |
+
| 0.4209 | 0.12 | 150 | 0.3564 |
|
59 |
+
| 0.3534 | 0.16 | 200 | 0.3127 |
|
60 |
+
| 0.311 | 0.2 | 250 | 0.2940 |
|
61 |
+
| 0.2944 | 0.24 | 300 | 0.2798 |
|
62 |
+
| 0.2838 | 0.27 | 350 | 0.2710 |
|
63 |
+
| 0.2744 | 0.31 | 400 | 0.2634 |
|
64 |
+
| 0.2657 | 0.35 | 450 | 0.2577 |
|
65 |
+
| 0.2692 | 0.39 | 500 | 0.2513 |
|
66 |
+
| 0.263 | 0.43 | 550 | 0.2475 |
|
67 |
+
| 0.2664 | 0.47 | 600 | 0.2451 |
|
68 |
+
| 0.2535 | 0.51 | 650 | 0.2421 |
|
69 |
+
| 0.2594 | 0.55 | 700 | 0.2396 |
|
70 |
+
| 0.234 | 0.59 | 750 | 0.2379 |
|
71 |
+
| 0.2383 | 0.63 | 800 | 0.2361 |
|
72 |
+
| 0.2419 | 0.67 | 850 | 0.2350 |
|
73 |
+
| 0.2448 | 0.71 | 900 | 0.2337 |
|
74 |
+
| 0.241 | 0.74 | 950 | 0.2332 |
|
75 |
+
| 0.219 | 0.78 | 1000 | 0.2330 |
|
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:8b4e028ede0b43b20c6c1912ce375e09f7179a11364b3119d84afa196852b29c
|
3 |
+
size 26230352
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47ae62022361aae6679b5a2e0afe0c93fcce66ced7441f61d7e52239ff9f4a50
|
3 |
+
size 4664
|