End of training
Browse files- README.md +53 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.model +3 -0
- tokenizer_config.json +45 -0
- trainer_state.json +205 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
base_model: baichuan-inc/Baichuan2-7B-Chat
|
6 |
+
model-index:
|
7 |
+
- name: output
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# output
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [baichuan-inc/Baichuan2-7B-Chat](https://huggingface.co/baichuan-inc/Baichuan2-7B-Chat) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 2e-05
|
36 |
+
- train_batch_size: 8
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- distributed_type: multi-GPU
|
40 |
+
- optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: constant
|
42 |
+
- num_epochs: 1.0
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
### Framework versions
|
49 |
+
|
50 |
+
- PEFT 0.10.0
|
51 |
+
- Transformers 4.39.3
|
52 |
+
- Pytorch 2.1.1+cu118
|
53 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "baichuan-inc/Baichuan2-7B-Chat",
|
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": 32,
|
14 |
+
"lora_dropout": 0.1,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 1,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"W_pack"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM",
|
26 |
+
"use_dora": false,
|
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:4f8435702d85eb957e709a271cf67f94bb155fd1e16bd7091f2a3fb23f7fef3a
|
3 |
+
size 1057000
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79452955be6b419a65984273a9f08af86042e1c2a75ee3ba989cbf620a133cc2
|
3 |
+
size 2001107
|
tokenizer_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"auto_map": {
|
31 |
+
"AutoTokenizer": [
|
32 |
+
"baichuan-inc/Baichuan2-7B-Chat--tokenization_baichuan.BaichuanTokenizer",
|
33 |
+
null
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"clean_up_tokenization_spaces": false,
|
38 |
+
"eos_token": "</s>",
|
39 |
+
"model_max_length": 512,
|
40 |
+
"pad_token": "<unk>",
|
41 |
+
"sp_model_kwargs": {},
|
42 |
+
"tokenizer_class": "BaichuanTokenizer",
|
43 |
+
"unk_token": "<unk>",
|
44 |
+
"use_fast": false
|
45 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 25,
|
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.04,
|
13 |
+
"grad_norm": 3.7118462980814906,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 3.2188,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.08,
|
20 |
+
"grad_norm": 3.243513187461372,
|
21 |
+
"learning_rate": 2e-05,
|
22 |
+
"loss": 3.2031,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.12,
|
27 |
+
"grad_norm": 4.255141780135075,
|
28 |
+
"learning_rate": 2e-05,
|
29 |
+
"loss": 3.4062,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.16,
|
34 |
+
"grad_norm": 4.9969165185367705,
|
35 |
+
"learning_rate": 2e-05,
|
36 |
+
"loss": 3.3906,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.2,
|
41 |
+
"grad_norm": 4.438489764211926,
|
42 |
+
"learning_rate": 2e-05,
|
43 |
+
"loss": 3.0156,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.24,
|
48 |
+
"grad_norm": 4.766192546154473,
|
49 |
+
"learning_rate": 2e-05,
|
50 |
+
"loss": 3.4844,
|
51 |
+
"step": 6
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.28,
|
55 |
+
"grad_norm": 3.9558834203135564,
|
56 |
+
"learning_rate": 2e-05,
|
57 |
+
"loss": 3.3438,
|
58 |
+
"step": 7
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.32,
|
62 |
+
"grad_norm": 3.674429472944892,
|
63 |
+
"learning_rate": 2e-05,
|
64 |
+
"loss": 3.2812,
|
65 |
+
"step": 8
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.36,
|
69 |
+
"grad_norm": 4.397569304216886,
|
70 |
+
"learning_rate": 2e-05,
|
71 |
+
"loss": 3.5625,
|
72 |
+
"step": 9
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.4,
|
76 |
+
"grad_norm": 4.711305621777796,
|
77 |
+
"learning_rate": 2e-05,
|
78 |
+
"loss": 3.3906,
|
79 |
+
"step": 10
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.44,
|
83 |
+
"grad_norm": 3.522398149101374,
|
84 |
+
"learning_rate": 2e-05,
|
85 |
+
"loss": 3.5156,
|
86 |
+
"step": 11
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.48,
|
90 |
+
"grad_norm": 5.720634885278218,
|
91 |
+
"learning_rate": 2e-05,
|
92 |
+
"loss": 3.0469,
|
93 |
+
"step": 12
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.52,
|
97 |
+
"grad_norm": 4.785757297998787,
|
98 |
+
"learning_rate": 2e-05,
|
99 |
+
"loss": 3.2031,
|
100 |
+
"step": 13
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.56,
|
104 |
+
"grad_norm": 4.048262973601319,
|
105 |
+
"learning_rate": 2e-05,
|
106 |
+
"loss": 3.1875,
|
107 |
+
"step": 14
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.6,
|
111 |
+
"grad_norm": 3.7511911027906355,
|
112 |
+
"learning_rate": 2e-05,
|
113 |
+
"loss": 3.3906,
|
114 |
+
"step": 15
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.64,
|
118 |
+
"grad_norm": 3.0425470439337685,
|
119 |
+
"learning_rate": 2e-05,
|
120 |
+
"loss": 3.2656,
|
121 |
+
"step": 16
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.68,
|
125 |
+
"grad_norm": 2.98478458099974,
|
126 |
+
"learning_rate": 2e-05,
|
127 |
+
"loss": 3.0781,
|
128 |
+
"step": 17
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.72,
|
132 |
+
"grad_norm": 3.799674032749701,
|
133 |
+
"learning_rate": 2e-05,
|
134 |
+
"loss": 3.3906,
|
135 |
+
"step": 18
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.76,
|
139 |
+
"grad_norm": 5.29152733822888,
|
140 |
+
"learning_rate": 2e-05,
|
141 |
+
"loss": 3.0469,
|
142 |
+
"step": 19
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.8,
|
146 |
+
"grad_norm": 5.129518256677459,
|
147 |
+
"learning_rate": 2e-05,
|
148 |
+
"loss": 3.1875,
|
149 |
+
"step": 20
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.84,
|
153 |
+
"grad_norm": 5.376728680507069,
|
154 |
+
"learning_rate": 2e-05,
|
155 |
+
"loss": 3.5156,
|
156 |
+
"step": 21
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.88,
|
160 |
+
"grad_norm": 4.486180337502593,
|
161 |
+
"learning_rate": 2e-05,
|
162 |
+
"loss": 3.0469,
|
163 |
+
"step": 22
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.92,
|
167 |
+
"grad_norm": 4.325703260677074,
|
168 |
+
"learning_rate": 2e-05,
|
169 |
+
"loss": 3.0469,
|
170 |
+
"step": 23
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.96,
|
174 |
+
"grad_norm": 4.997299669613812,
|
175 |
+
"learning_rate": 2e-05,
|
176 |
+
"loss": 3.2344,
|
177 |
+
"step": 24
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.0,
|
181 |
+
"grad_norm": 6.358892642300858,
|
182 |
+
"learning_rate": 2e-05,
|
183 |
+
"loss": 3.1562,
|
184 |
+
"step": 25
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.0,
|
188 |
+
"step": 25,
|
189 |
+
"total_flos": 478414897152.0,
|
190 |
+
"train_loss": 3.264375,
|
191 |
+
"train_runtime": 89.414,
|
192 |
+
"train_samples_per_second": 2.203,
|
193 |
+
"train_steps_per_second": 0.28
|
194 |
+
}
|
195 |
+
],
|
196 |
+
"logging_steps": 1.0,
|
197 |
+
"max_steps": 25,
|
198 |
+
"num_input_tokens_seen": 0,
|
199 |
+
"num_train_epochs": 1,
|
200 |
+
"save_steps": 500,
|
201 |
+
"total_flos": 478414897152.0,
|
202 |
+
"train_batch_size": 8,
|
203 |
+
"trial_name": null,
|
204 |
+
"trial_params": null
|
205 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9777306178442ab094924e72fec92f58a7ad5317283e4a958fd2571c8a19eafe
|
3 |
+
size 6200
|