Training in progress, step 84
Browse files- .gitattributes +1 -0
- .ipynb_checkpoints/llama3_lora_sft-checkpoint.yaml +43 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- llama3_lora_sft.yaml +43 -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/llama3_lora_sft-checkpoint.yaml
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### model
|
2 |
+
model_name_or_path: mistralai/Mistral-Nemo-Instruct-2407
|
3 |
+
|
4 |
+
### method
|
5 |
+
stage: sft
|
6 |
+
do_train: true
|
7 |
+
finetuning_type: lora
|
8 |
+
lora_target: all
|
9 |
+
|
10 |
+
### dataset
|
11 |
+
dataset: bct_non_cot_sft_500
|
12 |
+
dataset_dir: data_private
|
13 |
+
template: mistral
|
14 |
+
cutoff_len: 1024
|
15 |
+
# max_samples: 1000
|
16 |
+
overwrite_cache: true
|
17 |
+
preprocessing_num_workers: 16
|
18 |
+
|
19 |
+
### output
|
20 |
+
output_dir: saves/Mistral-Nemo-12B-Instruct/lora/sft-half
|
21 |
+
logging_steps: 10
|
22 |
+
save_steps: 500
|
23 |
+
plot_loss: true
|
24 |
+
overwrite_output_dir: true
|
25 |
+
save_total_limit: 3
|
26 |
+
load_best_model_at_end: true
|
27 |
+
push_to_hub: true
|
28 |
+
hub_model_id: chchen/Mistral-Nemo-12B-Instruct-SFT-Half
|
29 |
+
|
30 |
+
### train
|
31 |
+
per_device_train_batch_size: 2
|
32 |
+
gradient_accumulation_steps: 8
|
33 |
+
learning_rate: 0.000005
|
34 |
+
num_train_epochs: 3.0
|
35 |
+
lr_scheduler_type: cosine
|
36 |
+
warmup_ratio: 0.1
|
37 |
+
fp16: true
|
38 |
+
|
39 |
+
### eval
|
40 |
+
val_size: 0.1
|
41 |
+
per_device_eval_batch_size: 2
|
42 |
+
evaluation_strategy: steps
|
43 |
+
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 |
+
"gate_proj",
|
24 |
+
"up_proj",
|
25 |
+
"q_proj",
|
26 |
+
"v_proj",
|
27 |
+
"down_proj",
|
28 |
+
"k_proj",
|
29 |
+
"o_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:29bc929133ea4f47a2abbe7e811c3aa8928ddb5225ced8ef0158ec0db292613a
|
3 |
+
size 114106856
|
llama3_lora_sft.yaml
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### model
|
2 |
+
model_name_or_path: mistralai/Mistral-Nemo-Instruct-2407
|
3 |
+
|
4 |
+
### method
|
5 |
+
stage: sft
|
6 |
+
do_train: true
|
7 |
+
finetuning_type: lora
|
8 |
+
lora_target: all
|
9 |
+
|
10 |
+
### dataset
|
11 |
+
dataset: bct_non_cot_sft_500
|
12 |
+
dataset_dir: data_private
|
13 |
+
template: mistral
|
14 |
+
cutoff_len: 1024
|
15 |
+
# max_samples: 1000
|
16 |
+
overwrite_cache: true
|
17 |
+
preprocessing_num_workers: 16
|
18 |
+
|
19 |
+
### output
|
20 |
+
output_dir: saves/Mistral-Nemo-12B-Instruct/lora/sft-half
|
21 |
+
logging_steps: 10
|
22 |
+
save_steps: 500
|
23 |
+
plot_loss: true
|
24 |
+
overwrite_output_dir: true
|
25 |
+
save_total_limit: 3
|
26 |
+
load_best_model_at_end: true
|
27 |
+
push_to_hub: true
|
28 |
+
hub_model_id: chchen/Mistral-Nemo-12B-Instruct-SFT-Half
|
29 |
+
|
30 |
+
### train
|
31 |
+
per_device_train_batch_size: 2
|
32 |
+
gradient_accumulation_steps: 8
|
33 |
+
learning_rate: 0.000005
|
34 |
+
num_train_epochs: 3.0
|
35 |
+
lr_scheduler_type: cosine
|
36 |
+
warmup_ratio: 0.1
|
37 |
+
fp16: true
|
38 |
+
|
39 |
+
### eval
|
40 |
+
val_size: 0.1
|
41 |
+
per_device_eval_batch_size: 2
|
42 |
+
evaluation_strategy: steps
|
43 |
+
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.2892, "learning_rate": 4.444444444444444e-06, "epoch": 0.35555555555555557, "percentage": 11.9, "elapsed_time": "0:00:28", "remaining_time": "0:03:32"}
|
2 |
+
{"current_steps": 20, "total_steps": 84, "loss": 1.0878, "learning_rate": 4.824441214720629e-06, "epoch": 0.7111111111111111, "percentage": 23.81, "elapsed_time": "0:00:56", "remaining_time": "0:03:00"}
|
3 |
+
{"current_steps": 30, "total_steps": 84, "loss": 0.8957, "learning_rate": 4.249158351283414e-06, "epoch": 1.0666666666666667, "percentage": 35.71, "elapsed_time": "0:01:24", "remaining_time": "0:02:31"}
|
4 |
+
{"current_steps": 40, "total_steps": 84, "loss": 0.7399, "learning_rate": 3.3714301183045382e-06, "epoch": 1.4222222222222223, "percentage": 47.62, "elapsed_time": "0:01:51", "remaining_time": "0:02:02"}
|
5 |
+
{"current_steps": 50, "total_steps": 84, "loss": 0.6107, "learning_rate": 2.3430237011767166e-06, "epoch": 1.7777777777777777, "percentage": 59.52, "elapsed_time": "0:02:18", "remaining_time": "0:01:34"}
|
6 |
+
{"current_steps": 60, "total_steps": 84, "loss": 0.4844, "learning_rate": 1.3417599122003464e-06, "epoch": 2.1333333333333333, "percentage": 71.43, "elapsed_time": "0:02:46", "remaining_time": "0:01:06"}
|
7 |
+
{"current_steps": 70, "total_steps": 84, "loss": 0.4673, "learning_rate": 5.407663566854008e-07, "epoch": 2.488888888888889, "percentage": 83.33, "elapsed_time": "0:03:13", "remaining_time": "0:00:38"}
|
8 |
+
{"current_steps": 80, "total_steps": 84, "loss": 0.4532, "learning_rate": 7.854209717842231e-08, "epoch": 2.8444444444444446, "percentage": 95.24, "elapsed_time": "0:03:40", "remaining_time": "0:00:11"}
|
9 |
+
{"current_steps": 84, "total_steps": 84, "epoch": 2.986666666666667, "percentage": 100.0, "elapsed_time": "0:03:53", "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:0ce690d1ec19158e125774208e79614df3257cada0d1352ea3aac5474ffd256f
|
3 |
+
size 5496
|