Upload 10 files
Browse files- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- llamaboard_config.yaml +63 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +45 -0
- trainer_state.json +379 -0
- training_args.bin +3 -0
- training_args.yaml +33 -0
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "lmsys/vicuna-7b-v1.5",
|
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,
|
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 |
+
"v_proj",
|
24 |
+
"gate_proj",
|
25 |
+
"down_proj",
|
26 |
+
"k_proj",
|
27 |
+
"up_proj",
|
28 |
+
"q_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:9956365caa2d8fbb4b93790cd151d8c604255c1c7397edf64d059fddc746bdd2
|
3 |
+
size 80013120
|
llamaboard_config.yaml
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
top.booster: none
|
2 |
+
top.checkpoint_path: null
|
3 |
+
top.finetuning_type: lora
|
4 |
+
top.model_name: Vicuna1.5-7B-Chat
|
5 |
+
top.quantization_bit: '4'
|
6 |
+
top.rope_scaling: none
|
7 |
+
top.template: vicuna
|
8 |
+
top.visual_inputs: false
|
9 |
+
train.additional_target: ''
|
10 |
+
train.badam_mode: layer
|
11 |
+
train.badam_switch_interval: 50
|
12 |
+
train.badam_switch_mode: ascending
|
13 |
+
train.badam_update_ratio: 0.05
|
14 |
+
train.batch_size: 2
|
15 |
+
train.compute_type: fp16
|
16 |
+
train.create_new_adapter: false
|
17 |
+
train.cutoff_len: 4096
|
18 |
+
train.dataset:
|
19 |
+
- claimver_kgllm
|
20 |
+
train.dataset_dir: data
|
21 |
+
train.ds_offload: false
|
22 |
+
train.ds_stage: none
|
23 |
+
train.freeze_extra_modules: ''
|
24 |
+
train.freeze_trainable_layers: 2
|
25 |
+
train.freeze_trainable_modules: all
|
26 |
+
train.galore_rank: 16
|
27 |
+
train.galore_scale: 0.25
|
28 |
+
train.galore_target: all
|
29 |
+
train.galore_update_interval: 200
|
30 |
+
train.gradient_accumulation_steps: 8
|
31 |
+
train.learning_rate: 5e-5
|
32 |
+
train.logging_steps: 5
|
33 |
+
train.lora_alpha: 16
|
34 |
+
train.lora_dropout: 0
|
35 |
+
train.lora_rank: 8
|
36 |
+
train.lora_target: ''
|
37 |
+
train.loraplus_lr_ratio: 0
|
38 |
+
train.lr_scheduler_type: cosine
|
39 |
+
train.max_grad_norm: '1.0'
|
40 |
+
train.max_samples: '100000'
|
41 |
+
train.neftune_alpha: 0
|
42 |
+
train.num_train_epochs: '2'
|
43 |
+
train.optim: adamw_torch
|
44 |
+
train.packing: false
|
45 |
+
train.ppo_score_norm: false
|
46 |
+
train.ppo_whiten_rewards: false
|
47 |
+
train.pref_beta: 0.1
|
48 |
+
train.pref_ftx: 0
|
49 |
+
train.pref_loss: sigmoid
|
50 |
+
train.report_to: false
|
51 |
+
train.resize_vocab: false
|
52 |
+
train.reward_model: null
|
53 |
+
train.save_steps: 100
|
54 |
+
train.shift_attn: false
|
55 |
+
train.training_stage: Supervised Fine-Tuning
|
56 |
+
train.upcast_layernorm: false
|
57 |
+
train.use_badam: false
|
58 |
+
train.use_dora: false
|
59 |
+
train.use_galore: false
|
60 |
+
train.use_llama_pro: false
|
61 |
+
train.use_rslora: false
|
62 |
+
train.val_size: 0
|
63 |
+
train.warmup_steps: 0
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": true,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% set system_message = 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user\\'s questions.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'USER: ' + content + ' ASSISTANT:' }}{% elif message['role'] == 'assistant' %}{{ content + '</s>' }}{% endif %}{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": false,
|
36 |
+
"model_max_length": 4096,
|
37 |
+
"pad_token": "<unk>",
|
38 |
+
"padding_side": "right",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"spaces_between_special_tokens": false,
|
41 |
+
"split_special_tokens": false,
|
42 |
+
"tokenizer_class": "LlamaTokenizer",
|
43 |
+
"unk_token": "<unk>",
|
44 |
+
"use_default_system_prompt": false
|
45 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.9952941176470587,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 212,
|
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.047058823529411764,
|
13 |
+
"grad_norm": 0.528028130531311,
|
14 |
+
"learning_rate": 4.9931407070965254e-05,
|
15 |
+
"loss": 0.9764,
|
16 |
+
"num_input_tokens_seen": 117552,
|
17 |
+
"step": 5
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.09411764705882353,
|
21 |
+
"grad_norm": 0.38293221592903137,
|
22 |
+
"learning_rate": 4.97260046830541e-05,
|
23 |
+
"loss": 0.8018,
|
24 |
+
"num_input_tokens_seen": 231808,
|
25 |
+
"step": 10
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 0.1411764705882353,
|
29 |
+
"grad_norm": 0.27834752202033997,
|
30 |
+
"learning_rate": 4.9384919968379945e-05,
|
31 |
+
"loss": 0.6775,
|
32 |
+
"num_input_tokens_seen": 348416,
|
33 |
+
"step": 15
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.18823529411764706,
|
37 |
+
"grad_norm": 0.24095691740512848,
|
38 |
+
"learning_rate": 4.891002460691306e-05,
|
39 |
+
"loss": 0.6321,
|
40 |
+
"num_input_tokens_seen": 468864,
|
41 |
+
"step": 20
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0.23529411764705882,
|
45 |
+
"grad_norm": 0.24503234028816223,
|
46 |
+
"learning_rate": 4.83039245557597e-05,
|
47 |
+
"loss": 0.5816,
|
48 |
+
"num_input_tokens_seen": 585296,
|
49 |
+
"step": 25
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 0.2823529411764706,
|
53 |
+
"grad_norm": 0.23120124638080597,
|
54 |
+
"learning_rate": 4.756994574914359e-05,
|
55 |
+
"loss": 0.5273,
|
56 |
+
"num_input_tokens_seen": 702880,
|
57 |
+
"step": 30
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.32941176470588235,
|
61 |
+
"grad_norm": 0.19739653170108795,
|
62 |
+
"learning_rate": 4.6712115847560355e-05,
|
63 |
+
"loss": 0.4928,
|
64 |
+
"num_input_tokens_seen": 824560,
|
65 |
+
"step": 35
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.3764705882352941,
|
69 |
+
"grad_norm": 0.2082643061876297,
|
70 |
+
"learning_rate": 4.573514213625505e-05,
|
71 |
+
"loss": 0.4748,
|
72 |
+
"num_input_tokens_seen": 943696,
|
73 |
+
"step": 40
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.4235294117647059,
|
77 |
+
"grad_norm": 0.20437505841255188,
|
78 |
+
"learning_rate": 4.464438569430354e-05,
|
79 |
+
"loss": 0.4697,
|
80 |
+
"num_input_tokens_seen": 1066992,
|
81 |
+
"step": 45
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.47058823529411764,
|
85 |
+
"grad_norm": 0.18714147806167603,
|
86 |
+
"learning_rate": 4.344583197604318e-05,
|
87 |
+
"loss": 0.4356,
|
88 |
+
"num_input_tokens_seen": 1187200,
|
89 |
+
"step": 50
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 0.5176470588235295,
|
93 |
+
"grad_norm": 0.20996348559856415,
|
94 |
+
"learning_rate": 4.214605796628527e-05,
|
95 |
+
"loss": 0.4481,
|
96 |
+
"num_input_tokens_seen": 1309488,
|
97 |
+
"step": 55
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 0.5647058823529412,
|
101 |
+
"grad_norm": 0.2137318253517151,
|
102 |
+
"learning_rate": 4.075219608954278e-05,
|
103 |
+
"loss": 0.4232,
|
104 |
+
"num_input_tokens_seen": 1430640,
|
105 |
+
"step": 60
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.611764705882353,
|
109 |
+
"grad_norm": 0.18864841759204865,
|
110 |
+
"learning_rate": 3.927189507131938e-05,
|
111 |
+
"loss": 0.4115,
|
112 |
+
"num_input_tokens_seen": 1548432,
|
113 |
+
"step": 65
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 0.6588235294117647,
|
117 |
+
"grad_norm": 0.21732792258262634,
|
118 |
+
"learning_rate": 3.7713277966230514e-05,
|
119 |
+
"loss": 0.4107,
|
120 |
+
"num_input_tokens_seen": 1664112,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.7058823529411765,
|
125 |
+
"grad_norm": 0.2021615207195282,
|
126 |
+
"learning_rate": 3.608489758327472e-05,
|
127 |
+
"loss": 0.4156,
|
128 |
+
"num_input_tokens_seen": 1787392,
|
129 |
+
"step": 75
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.7529411764705882,
|
133 |
+
"grad_norm": 0.2128894329071045,
|
134 |
+
"learning_rate": 3.4395689552855955e-05,
|
135 |
+
"loss": 0.3926,
|
136 |
+
"num_input_tokens_seen": 1905584,
|
137 |
+
"step": 80
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 0.8,
|
141 |
+
"grad_norm": 0.24376748502254486,
|
142 |
+
"learning_rate": 3.265492329309867e-05,
|
143 |
+
"loss": 0.3914,
|
144 |
+
"num_input_tokens_seen": 2026336,
|
145 |
+
"step": 85
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 0.8470588235294118,
|
149 |
+
"grad_norm": 0.23921102285385132,
|
150 |
+
"learning_rate": 3.0872151144524595e-05,
|
151 |
+
"loss": 0.389,
|
152 |
+
"num_input_tokens_seen": 2138112,
|
153 |
+
"step": 90
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.8941176470588236,
|
157 |
+
"grad_norm": 0.25298914313316345,
|
158 |
+
"learning_rate": 2.9057155952211502e-05,
|
159 |
+
"loss": 0.3795,
|
160 |
+
"num_input_tokens_seen": 2252832,
|
161 |
+
"step": 95
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 0.9411764705882353,
|
165 |
+
"grad_norm": 0.23804712295532227,
|
166 |
+
"learning_rate": 2.7219897383073373e-05,
|
167 |
+
"loss": 0.3735,
|
168 |
+
"num_input_tokens_seen": 2370704,
|
169 |
+
"step": 100
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 0.9882352941176471,
|
173 |
+
"grad_norm": 0.24087488651275635,
|
174 |
+
"learning_rate": 2.537045727284232e-05,
|
175 |
+
"loss": 0.3535,
|
176 |
+
"num_input_tokens_seen": 2485792,
|
177 |
+
"step": 105
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.035294117647059,
|
181 |
+
"grad_norm": 0.2612946331501007,
|
182 |
+
"learning_rate": 2.3518984302657146e-05,
|
183 |
+
"loss": 0.3572,
|
184 |
+
"num_input_tokens_seen": 2608576,
|
185 |
+
"step": 110
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 1.0823529411764705,
|
189 |
+
"grad_norm": 0.25626152753829956,
|
190 |
+
"learning_rate": 2.1675638308842145e-05,
|
191 |
+
"loss": 0.372,
|
192 |
+
"num_input_tokens_seen": 2730096,
|
193 |
+
"step": 115
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 1.1294117647058823,
|
197 |
+
"grad_norm": 0.2505984604358673,
|
198 |
+
"learning_rate": 1.9850534531472546e-05,
|
199 |
+
"loss": 0.3643,
|
200 |
+
"num_input_tokens_seen": 2850032,
|
201 |
+
"step": 120
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 1.1764705882352942,
|
205 |
+
"grad_norm": 0.2474757432937622,
|
206 |
+
"learning_rate": 1.8053688107658908e-05,
|
207 |
+
"loss": 0.3647,
|
208 |
+
"num_input_tokens_seen": 2969136,
|
209 |
+
"step": 125
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.223529411764706,
|
213 |
+
"grad_norm": 0.26299813389778137,
|
214 |
+
"learning_rate": 1.6294959114140034e-05,
|
215 |
+
"loss": 0.3495,
|
216 |
+
"num_input_tokens_seen": 3088240,
|
217 |
+
"step": 130
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"epoch": 1.2705882352941176,
|
221 |
+
"grad_norm": 0.2596004903316498,
|
222 |
+
"learning_rate": 1.4583998460759424e-05,
|
223 |
+
"loss": 0.3458,
|
224 |
+
"num_input_tokens_seen": 3204544,
|
225 |
+
"step": 135
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 1.3176470588235294,
|
229 |
+
"grad_norm": 0.26845094561576843,
|
230 |
+
"learning_rate": 1.2930194931731382e-05,
|
231 |
+
"loss": 0.3547,
|
232 |
+
"num_input_tokens_seen": 3321536,
|
233 |
+
"step": 140
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 1.3647058823529412,
|
237 |
+
"grad_norm": 0.2841053903102875,
|
238 |
+
"learning_rate": 1.1342623665304209e-05,
|
239 |
+
"loss": 0.3698,
|
240 |
+
"num_input_tokens_seen": 3443584,
|
241 |
+
"step": 145
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.4117647058823528,
|
245 |
+
"grad_norm": 0.2576062083244324,
|
246 |
+
"learning_rate": 9.829996354535172e-06,
|
247 |
+
"loss": 0.3558,
|
248 |
+
"num_input_tokens_seen": 3560368,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 1.4588235294117646,
|
253 |
+
"grad_norm": 0.258001446723938,
|
254 |
+
"learning_rate": 8.400613442446948e-06,
|
255 |
+
"loss": 0.3573,
|
256 |
+
"num_input_tokens_seen": 3679744,
|
257 |
+
"step": 155
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"epoch": 1.5058823529411764,
|
261 |
+
"grad_norm": 0.26500120759010315,
|
262 |
+
"learning_rate": 7.062318573891716e-06,
|
263 |
+
"loss": 0.3563,
|
264 |
+
"num_input_tokens_seen": 3797392,
|
265 |
+
"step": 160
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 1.5529411764705883,
|
269 |
+
"grad_norm": 0.28948289155960083,
|
270 |
+
"learning_rate": 5.822455554065217e-06,
|
271 |
+
"loss": 0.3583,
|
272 |
+
"num_input_tokens_seen": 3918144,
|
273 |
+
"step": 165
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 1.6,
|
277 |
+
"grad_norm": 0.305418998003006,
|
278 |
+
"learning_rate": 4.687828049857967e-06,
|
279 |
+
"loss": 0.3376,
|
280 |
+
"num_input_tokens_seen": 4031792,
|
281 |
+
"step": 170
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"epoch": 1.6470588235294117,
|
285 |
+
"grad_norm": 0.26737797260284424,
|
286 |
+
"learning_rate": 3.6646622551801345e-06,
|
287 |
+
"loss": 0.3252,
|
288 |
+
"num_input_tokens_seen": 4150640,
|
289 |
+
"step": 175
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 1.6941176470588235,
|
293 |
+
"grad_norm": 0.26723966002464294,
|
294 |
+
"learning_rate": 2.75857272513132e-06,
|
295 |
+
"loss": 0.3548,
|
296 |
+
"num_input_tokens_seen": 4269056,
|
297 |
+
"step": 180
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 1.7411764705882353,
|
301 |
+
"grad_norm": 0.2512056827545166,
|
302 |
+
"learning_rate": 1.9745315664982276e-06,
|
303 |
+
"loss": 0.3339,
|
304 |
+
"num_input_tokens_seen": 4385712,
|
305 |
+
"step": 185
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 1.788235294117647,
|
309 |
+
"grad_norm": 0.24429625272750854,
|
310 |
+
"learning_rate": 1.3168411536452152e-06,
|
311 |
+
"loss": 0.327,
|
312 |
+
"num_input_tokens_seen": 4503872,
|
313 |
+
"step": 190
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"epoch": 1.835294117647059,
|
317 |
+
"grad_norm": 0.27570071816444397,
|
318 |
+
"learning_rate": 7.891105195175358e-07,
|
319 |
+
"loss": 0.3442,
|
320 |
+
"num_input_tokens_seen": 4627488,
|
321 |
+
"step": 195
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 1.8823529411764706,
|
325 |
+
"grad_norm": 0.25902682542800903,
|
326 |
+
"learning_rate": 3.9423555131007925e-07,
|
327 |
+
"loss": 0.3463,
|
328 |
+
"num_input_tokens_seen": 4745840,
|
329 |
+
"step": 200
|
330 |
+
},
|
331 |
+
{
|
332 |
+
"epoch": 1.9294117647058824,
|
333 |
+
"grad_norm": 0.26380208134651184,
|
334 |
+
"learning_rate": 1.343830994765982e-07,
|
335 |
+
"loss": 0.3319,
|
336 |
+
"num_input_tokens_seen": 4862656,
|
337 |
+
"step": 205
|
338 |
+
},
|
339 |
+
{
|
340 |
+
"epoch": 1.9764705882352942,
|
341 |
+
"grad_norm": 0.29207655787467957,
|
342 |
+
"learning_rate": 1.0979087280141298e-08,
|
343 |
+
"loss": 0.3512,
|
344 |
+
"num_input_tokens_seen": 4978496,
|
345 |
+
"step": 210
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 1.9952941176470587,
|
349 |
+
"num_input_tokens_seen": 5025952,
|
350 |
+
"step": 212,
|
351 |
+
"total_flos": 1.998519187370148e+17,
|
352 |
+
"train_loss": 0.42384658416487137,
|
353 |
+
"train_runtime": 2655.7506,
|
354 |
+
"train_samples_per_second": 2.56,
|
355 |
+
"train_steps_per_second": 0.08
|
356 |
+
}
|
357 |
+
],
|
358 |
+
"logging_steps": 5,
|
359 |
+
"max_steps": 212,
|
360 |
+
"num_input_tokens_seen": 5025952,
|
361 |
+
"num_train_epochs": 2,
|
362 |
+
"save_steps": 100,
|
363 |
+
"stateful_callbacks": {
|
364 |
+
"TrainerControl": {
|
365 |
+
"args": {
|
366 |
+
"should_epoch_stop": false,
|
367 |
+
"should_evaluate": false,
|
368 |
+
"should_log": false,
|
369 |
+
"should_save": true,
|
370 |
+
"should_training_stop": false
|
371 |
+
},
|
372 |
+
"attributes": {}
|
373 |
+
}
|
374 |
+
},
|
375 |
+
"total_flos": 1.998519187370148e+17,
|
376 |
+
"train_batch_size": 2,
|
377 |
+
"trial_name": null,
|
378 |
+
"trial_params": null
|
379 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9f601a9d01acce716579e6993359f9f0edd7c566b2b6e0ec708d3a466b103fb
|
3 |
+
size 5304
|
training_args.yaml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cutoff_len: 4096
|
2 |
+
dataset: claimver_kgllm
|
3 |
+
dataset_dir: data
|
4 |
+
ddp_timeout: 180000000
|
5 |
+
do_train: true
|
6 |
+
finetuning_type: lora
|
7 |
+
flash_attn: auto
|
8 |
+
fp16: true
|
9 |
+
gradient_accumulation_steps: 8
|
10 |
+
include_num_input_tokens_seen: true
|
11 |
+
learning_rate: 5.0e-05
|
12 |
+
logging_steps: 5
|
13 |
+
lora_alpha: 16
|
14 |
+
lora_dropout: 0
|
15 |
+
lora_rank: 8
|
16 |
+
lora_target: all
|
17 |
+
lr_scheduler_type: cosine
|
18 |
+
max_grad_norm: 1.0
|
19 |
+
max_samples: 100000
|
20 |
+
model_name_or_path: lmsys/vicuna-7b-v1.5
|
21 |
+
num_train_epochs: 2.0
|
22 |
+
optim: adamw_torch
|
23 |
+
output_dir: saves/Vicuna1.5-7B-Chat/lora/vicuna7bv15-chat_claimver_run2
|
24 |
+
packing: false
|
25 |
+
per_device_train_batch_size: 2
|
26 |
+
plot_loss: true
|
27 |
+
preprocessing_num_workers: 16
|
28 |
+
quantization_bit: 4
|
29 |
+
report_to: none
|
30 |
+
save_steps: 100
|
31 |
+
stage: sft
|
32 |
+
template: vicuna
|
33 |
+
warmup_steps: 0
|