Upload 10 files
Browse files- README.md +10 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- all_results.json +7 -0
- finetuning_args.json +16 -0
- train_results.json +7 -0
- trainer_log.jsonl +16 -0
- trainer_state.json +118 -0
- training_args.bin +3 -0
- training_loss.png +0 -0
README.md
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
### Framework versions
|
7 |
+
|
8 |
+
- PEFT 0.4.0
|
9 |
+
|
10 |
+
- PEFT 0.4.0
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "medicalcode-prefinetune-v3",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 32.0,
|
11 |
+
"lora_dropout": 0.1,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 8,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"q_proj",
|
18 |
+
"v_proj"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5377190cdd0804d563e21a7f087a002fade3f0ffc7b20a2918345a2186e8b797
|
3 |
+
size 16821197
|
all_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 14.63,
|
3 |
+
"train_loss": 7.812765197753906,
|
4 |
+
"train_runtime": 716.3495,
|
5 |
+
"train_samples_per_second": 3.413,
|
6 |
+
"train_steps_per_second": 0.209
|
7 |
+
}
|
finetuning_args.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dpo_beta": 0.1,
|
3 |
+
"finetuning_type": "lora",
|
4 |
+
"lora_alpha": 32.0,
|
5 |
+
"lora_dropout": 0.1,
|
6 |
+
"lora_rank": 8,
|
7 |
+
"lora_target": [
|
8 |
+
"q_proj",
|
9 |
+
"v_proj"
|
10 |
+
],
|
11 |
+
"name_module_trainable": "mlp",
|
12 |
+
"num_hidden_layers": 32,
|
13 |
+
"num_layer_trainable": 3,
|
14 |
+
"ppo_score_norm": false,
|
15 |
+
"resume_lora_training": true
|
16 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 14.63,
|
3 |
+
"train_loss": 7.812765197753906,
|
4 |
+
"train_runtime": 716.3495,
|
5 |
+
"train_samples_per_second": 3.413,
|
6 |
+
"train_steps_per_second": 0.209
|
7 |
+
}
|
trainer_log.jsonl
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"current_steps": 10, "total_steps": 150, "loss": 2.7294, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9863047384206835e-05, "epoch": 0.98, "percentage": 6.67, "elapsed_time": "0:00:47", "remaining_time": "0:11:02"}
|
2 |
+
{"current_steps": 20, "total_steps": 150, "loss": 3.5475, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9453690018345144e-05, "epoch": 1.95, "percentage": 13.33, "elapsed_time": "0:01:34", "remaining_time": "0:10:13"}
|
3 |
+
{"current_steps": 30, "total_steps": 150, "loss": 5.3042, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9453690018345144e-05, "epoch": 2.93, "percentage": 20.0, "elapsed_time": "0:02:23", "remaining_time": "0:09:33"}
|
4 |
+
{"current_steps": 40, "total_steps": 150, "loss": 6.5608, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9214579028215776e-05, "epoch": 3.9, "percentage": 26.67, "elapsed_time": "0:03:12", "remaining_time": "0:08:49"}
|
5 |
+
{"current_steps": 50, "total_steps": 150, "loss": 12.436, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9214579028215776e-05, "epoch": 4.88, "percentage": 33.33, "elapsed_time": "0:04:00", "remaining_time": "0:08:00"}
|
6 |
+
{"current_steps": 60, "total_steps": 150, "loss": 8.1905, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9214579028215776e-05, "epoch": 5.85, "percentage": 40.0, "elapsed_time": "0:04:46", "remaining_time": "0:07:09"}
|
7 |
+
{"current_steps": 70, "total_steps": 150, "loss": 5.0973, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9214579028215776e-05, "epoch": 6.83, "percentage": 46.67, "elapsed_time": "0:05:36", "remaining_time": "0:06:24"}
|
8 |
+
{"current_steps": 80, "total_steps": 150, "loss": 3.3543, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9214579028215776e-05, "epoch": 7.8, "percentage": 53.33, "elapsed_time": "0:06:22", "remaining_time": "0:05:34"}
|
9 |
+
{"current_steps": 90, "total_steps": 150, "loss": 9.9021, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.893298743830168e-05, "epoch": 8.78, "percentage": 60.0, "elapsed_time": "0:07:10", "remaining_time": "0:04:47"}
|
10 |
+
{"current_steps": 100, "total_steps": 150, "loss": 16.1257, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.893298743830168e-05, "epoch": 9.76, "percentage": 66.67, "elapsed_time": "0:07:57", "remaining_time": "0:03:58"}
|
11 |
+
{"current_steps": 110, "total_steps": 150, "loss": 15.988, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.893298743830168e-05, "epoch": 10.73, "percentage": 73.33, "elapsed_time": "0:08:46", "remaining_time": "0:03:11"}
|
12 |
+
{"current_steps": 120, "total_steps": 150, "loss": 5.743, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.877641290737884e-05, "epoch": 11.71, "percentage": 80.0, "elapsed_time": "0:09:34", "remaining_time": "0:02:23"}
|
13 |
+
{"current_steps": 130, "total_steps": 150, "loss": 4.5123, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.860940925593703e-05, "epoch": 12.68, "percentage": 86.67, "elapsed_time": "0:10:21", "remaining_time": "0:01:35"}
|
14 |
+
{"current_steps": 140, "total_steps": 150, "loss": 8.7191, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.860940925593703e-05, "epoch": 13.66, "percentage": 93.33, "elapsed_time": "0:11:10", "remaining_time": "0:00:47"}
|
15 |
+
{"current_steps": 150, "total_steps": 150, "loss": 8.9813, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.860940925593703e-05, "epoch": 14.63, "percentage": 100.0, "elapsed_time": "0:11:56", "remaining_time": "0:00:00"}
|
16 |
+
{"current_steps": 150, "total_steps": 150, "loss": null, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": null, "epoch": 14.63, "percentage": 100.0, "elapsed_time": "0:11:56", "remaining_time": "0:00:00"}
|
trainer_state.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 14.634146341463415,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 150,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.98,
|
13 |
+
"learning_rate": 4.9863047384206835e-05,
|
14 |
+
"loss": 2.7294,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.95,
|
19 |
+
"learning_rate": 4.9453690018345144e-05,
|
20 |
+
"loss": 3.5475,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 2.93,
|
25 |
+
"learning_rate": 4.9453690018345144e-05,
|
26 |
+
"loss": 5.3042,
|
27 |
+
"step": 30
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.9,
|
31 |
+
"learning_rate": 4.9214579028215776e-05,
|
32 |
+
"loss": 6.5608,
|
33 |
+
"step": 40
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 4.88,
|
37 |
+
"learning_rate": 4.9214579028215776e-05,
|
38 |
+
"loss": 12.436,
|
39 |
+
"step": 50
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 5.85,
|
43 |
+
"learning_rate": 4.9214579028215776e-05,
|
44 |
+
"loss": 8.1905,
|
45 |
+
"step": 60
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 6.83,
|
49 |
+
"learning_rate": 4.9214579028215776e-05,
|
50 |
+
"loss": 5.0973,
|
51 |
+
"step": 70
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 7.8,
|
55 |
+
"learning_rate": 4.9214579028215776e-05,
|
56 |
+
"loss": 3.3543,
|
57 |
+
"step": 80
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 8.78,
|
61 |
+
"learning_rate": 4.893298743830168e-05,
|
62 |
+
"loss": 9.9021,
|
63 |
+
"step": 90
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 9.76,
|
67 |
+
"learning_rate": 4.893298743830168e-05,
|
68 |
+
"loss": 16.1257,
|
69 |
+
"step": 100
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 10.73,
|
73 |
+
"learning_rate": 4.893298743830168e-05,
|
74 |
+
"loss": 15.988,
|
75 |
+
"step": 110
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 11.71,
|
79 |
+
"learning_rate": 4.877641290737884e-05,
|
80 |
+
"loss": 5.743,
|
81 |
+
"step": 120
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 12.68,
|
85 |
+
"learning_rate": 4.860940925593703e-05,
|
86 |
+
"loss": 4.5123,
|
87 |
+
"step": 130
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 13.66,
|
91 |
+
"learning_rate": 4.860940925593703e-05,
|
92 |
+
"loss": 8.7191,
|
93 |
+
"step": 140
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 14.63,
|
97 |
+
"learning_rate": 4.860940925593703e-05,
|
98 |
+
"loss": 8.9813,
|
99 |
+
"step": 150
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 14.63,
|
103 |
+
"step": 150,
|
104 |
+
"total_flos": 3.550292723048448e+16,
|
105 |
+
"train_loss": 7.812765197753906,
|
106 |
+
"train_runtime": 716.3495,
|
107 |
+
"train_samples_per_second": 3.413,
|
108 |
+
"train_steps_per_second": 0.209
|
109 |
+
}
|
110 |
+
],
|
111 |
+
"logging_steps": 10,
|
112 |
+
"max_steps": 150,
|
113 |
+
"num_train_epochs": 15,
|
114 |
+
"save_steps": 1000,
|
115 |
+
"total_flos": 3.550292723048448e+16,
|
116 |
+
"trial_name": null,
|
117 |
+
"trial_params": null
|
118 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc013c5547caf1b5273f81ad4bb2a7b11fe90ffb5a49162a426421bed537e7ff
|
3 |
+
size 3330
|
training_loss.png
ADDED