Training in progress, step 84
Browse files- .gitattributes +1 -0
- .ipynb_checkpoints/lora_orpo-checkpoint.yaml +44 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- lora_orpo.yaml +44 -0
- special_tokens_map.json +24 -0
- tokenizer.json +3 -0
- tokenizer_config.json +0 -0
- trainer_log.jsonl +9 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
.ipynb_checkpoints/lora_orpo-checkpoint.yaml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### model
|
2 |
+
model_name_or_path: mistralai/Mistral-Nemo-Instruct-2407
|
3 |
+
|
4 |
+
### method
|
5 |
+
stage: dpo
|
6 |
+
pref_loss: orpo
|
7 |
+
do_train: true
|
8 |
+
finetuning_type: lora
|
9 |
+
lora_target: all
|
10 |
+
|
11 |
+
### dataset
|
12 |
+
dataset: bct_non_cot_dpo_500
|
13 |
+
dataset_dir: data_private
|
14 |
+
template: mistral
|
15 |
+
cutoff_len: 1024
|
16 |
+
# max_samples: 1000
|
17 |
+
overwrite_cache: true
|
18 |
+
preprocessing_num_workers: 16
|
19 |
+
|
20 |
+
### output
|
21 |
+
output_dir: saves/Mistral-Nemo-12B-Instruct/lora/saa-half
|
22 |
+
logging_steps: 10
|
23 |
+
save_steps: 500
|
24 |
+
plot_loss: true
|
25 |
+
overwrite_output_dir: true
|
26 |
+
save_total_limit: 3
|
27 |
+
load_best_model_at_end: true
|
28 |
+
push_to_hub: true
|
29 |
+
hub_model_id: chchen/Mistral-Nemo-12B-Instruct-SAA-Half
|
30 |
+
|
31 |
+
### train
|
32 |
+
per_device_train_batch_size: 2
|
33 |
+
gradient_accumulation_steps: 8
|
34 |
+
learning_rate: 0.000005
|
35 |
+
num_train_epochs: 3.0
|
36 |
+
lr_scheduler_type: cosine
|
37 |
+
warmup_ratio: 0.1
|
38 |
+
bf16: true
|
39 |
+
|
40 |
+
### eval
|
41 |
+
val_size: 0.1
|
42 |
+
per_device_eval_batch_size: 2
|
43 |
+
evaluation_strategy: steps
|
44 |
+
eval_steps: 500
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-Nemo-Instruct-2407",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.0,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 8,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"v_proj",
|
25 |
+
"down_proj",
|
26 |
+
"q_proj",
|
27 |
+
"k_proj",
|
28 |
+
"up_proj",
|
29 |
+
"gate_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f325228fa644bcdd50dc26ed5269155bdf341a9992bb3003b7503427055ab929
|
3 |
+
size 114106856
|
lora_orpo.yaml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### model
|
2 |
+
model_name_or_path: mistralai/Mistral-Nemo-Instruct-2407
|
3 |
+
|
4 |
+
### method
|
5 |
+
stage: dpo
|
6 |
+
pref_loss: orpo
|
7 |
+
do_train: true
|
8 |
+
finetuning_type: lora
|
9 |
+
lora_target: all
|
10 |
+
|
11 |
+
### dataset
|
12 |
+
dataset: bct_non_cot_dpo_500
|
13 |
+
dataset_dir: data_private
|
14 |
+
template: mistral
|
15 |
+
cutoff_len: 1024
|
16 |
+
# max_samples: 1000
|
17 |
+
overwrite_cache: true
|
18 |
+
preprocessing_num_workers: 16
|
19 |
+
|
20 |
+
### output
|
21 |
+
output_dir: saves/Mistral-Nemo-12B-Instruct/lora/saa-half
|
22 |
+
logging_steps: 10
|
23 |
+
save_steps: 500
|
24 |
+
plot_loss: true
|
25 |
+
overwrite_output_dir: true
|
26 |
+
save_total_limit: 3
|
27 |
+
load_best_model_at_end: true
|
28 |
+
push_to_hub: true
|
29 |
+
hub_model_id: chchen/Mistral-Nemo-12B-Instruct-SAA-Half
|
30 |
+
|
31 |
+
### train
|
32 |
+
per_device_train_batch_size: 2
|
33 |
+
gradient_accumulation_steps: 8
|
34 |
+
learning_rate: 0.000005
|
35 |
+
num_train_epochs: 3.0
|
36 |
+
lr_scheduler_type: cosine
|
37 |
+
warmup_ratio: 0.1
|
38 |
+
bf16: true
|
39 |
+
|
40 |
+
### eval
|
41 |
+
val_size: 0.1
|
42 |
+
per_device_eval_batch_size: 2
|
43 |
+
evaluation_strategy: steps
|
44 |
+
eval_steps: 500
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0240ce510f08e6c2041724e9043e33be9d251d1e4a4d94eb68cd47b954b61d2
|
3 |
+
size 17078292
|
tokenizer_config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
trainer_log.jsonl
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"current_steps": 10, "total_steps": 84, "loss": 1.334, "accuracy": 0.7875000238418579, "learning_rate": 4.997807075247147e-06, "epoch": 0.35555555555555557, "percentage": 11.9, "elapsed_time": "0:00:31", "remaining_time": "0:03:56"}
|
2 |
+
{"current_steps": 20, "total_steps": 84, "loss": 1.2054, "accuracy": 0.8062499761581421, "learning_rate": 4.7392794005985324e-06, "epoch": 0.7111111111111111, "percentage": 23.81, "elapsed_time": "0:01:03", "remaining_time": "0:03:22"}
|
3 |
+
{"current_steps": 30, "total_steps": 84, "loss": 1.0773, "accuracy": 0.8062499761581421, "learning_rate": 4.093559974371725e-06, "epoch": 1.0666666666666667, "percentage": 35.71, "elapsed_time": "0:01:34", "remaining_time": "0:02:50"}
|
4 |
+
{"current_steps": 40, "total_steps": 84, "loss": 0.8927, "accuracy": 0.8187500238418579, "learning_rate": 3.1722995515381644e-06, "epoch": 1.4222222222222223, "percentage": 47.62, "elapsed_time": "0:02:05", "remaining_time": "0:02:17"}
|
5 |
+
{"current_steps": 50, "total_steps": 84, "loss": 0.7399, "accuracy": 0.7875000238418579, "learning_rate": 2.134792428593971e-06, "epoch": 1.7777777777777777, "percentage": 59.52, "elapsed_time": "0:02:36", "remaining_time": "0:01:46"}
|
6 |
+
{"current_steps": 60, "total_steps": 84, "loss": 0.63, "accuracy": 0.7875000238418579, "learning_rate": 1.160433012552508e-06, "epoch": 2.1333333333333333, "percentage": 71.43, "elapsed_time": "0:03:06", "remaining_time": "0:01:14"}
|
7 |
+
{"current_steps": 70, "total_steps": 84, "loss": 0.6132, "accuracy": 0.8062499761581421, "learning_rate": 4.1769689822475147e-07, "epoch": 2.488888888888889, "percentage": 83.33, "elapsed_time": "0:03:37", "remaining_time": "0:00:43"}
|
8 |
+
{"current_steps": 80, "total_steps": 84, "loss": 0.5745, "accuracy": 0.8062499761581421, "learning_rate": 3.5009907323737826e-08, "epoch": 2.8444444444444446, "percentage": 95.24, "elapsed_time": "0:04:07", "remaining_time": "0:00:12"}
|
9 |
+
{"current_steps": 84, "total_steps": 84, "epoch": 2.986666666666667, "percentage": 100.0, "elapsed_time": "0:04:21", "remaining_time": "0:00:00"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8721da5565810e97aa6cb4fa9eeba6cfee6228272441e1e99a2f4619bd430e8
|
3 |
+
size 5496
|