neteroster commited on
Commit
c145fc6
·
verified ·
1 Parent(s): 69d0f04

Upload 13 files

Browse files
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - llama-factory
6
+ - lora
7
+ - generated_from_trainer
8
+ base_model: Qwen/Qwen1.5-14B-Chat
9
+ model-index:
10
+ - name: train_2024-04-05-06-48-04
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # train_2024-04-05-06-48-04
18
+
19
+ This model is a fine-tuned version of [Qwen/Qwen1.5-14B-Chat](https://huggingface.co/Qwen/Qwen1.5-14B-Chat) on the sent_classify dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0002
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 16
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - num_epochs: 5.0
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - PEFT 0.10.0
56
+ - Transformers 4.39.3
57
+ - Pytorch 2.2.2+cu121
58
+ - Datasets 2.18.0
59
+ - Tokenizers 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen1.5-14B-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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "up_proj",
25
+ "k_proj",
26
+ "gate_proj",
27
+ "down_proj",
28
+ "q_proj",
29
+ "v_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:24e53ffecb977410cf19658de5c134a4e733cea3d5155c5966b58e0c5a2e5369
3
+ size 997533656
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.92,
3
+ "train_loss": 0.020610336679965258,
4
+ "train_runtime": 1360.5648,
5
+ "train_samples_per_second": 0.474,
6
+ "train_steps_per_second": 0.029
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|im_end|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "chat_template": "{% set system_message = 'You are a helpful assistant.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '<|im_start|>system\\n' + system_message + '<|im_end|>\\n' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|im_start|>user\\n' + content + '<|im_end|>\\n<|im_start|>assistant\\n' }}{% elif message['role'] == 'assistant' %}{{ content + '<|im_end|>' + '\\n' }}{% endif %}{% endfor %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|im_end|>",
37
+ "errors": "replace",
38
+ "model_max_length": 32768,
39
+ "pad_token": "<|endoftext|>",
40
+ "padding_side": "right",
41
+ "split_special_tokens": false,
42
+ "tokenizer_class": "Qwen2Tokenizer",
43
+ "unk_token": null
44
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.92,
3
+ "train_loss": 0.020610336679965258,
4
+ "train_runtime": 1360.5648,
5
+ "train_samples_per_second": 0.474,
6
+ "train_steps_per_second": 0.029
7
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 40, "loss": 0.0652, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 0.0001923879532511287, "epoch": 0.62, "percentage": 12.5, "elapsed_time": "0:02:49", "remaining_time": "0:19:46"}
2
+ {"current_steps": 10, "total_steps": 40, "loss": 0.0346, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 0.00017071067811865476, "epoch": 1.23, "percentage": 25.0, "elapsed_time": "0:05:39", "remaining_time": "0:16:59"}
3
+ {"current_steps": 15, "total_steps": 40, "loss": 0.0214, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 0.000138268343236509, "epoch": 1.85, "percentage": 37.5, "elapsed_time": "0:08:33", "remaining_time": "0:14:15"}
4
+ {"current_steps": 20, "total_steps": 40, "loss": 0.0145, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 0.0001, "epoch": 2.46, "percentage": 50.0, "elapsed_time": "0:11:20", "remaining_time": "0:11:20"}
5
+ {"current_steps": 25, "total_steps": 40, "loss": 0.0117, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 6.173165676349103e-05, "epoch": 3.08, "percentage": 62.5, "elapsed_time": "0:14:10", "remaining_time": "0:08:30"}
6
+ {"current_steps": 30, "total_steps": 40, "loss": 0.007, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 2.9289321881345254e-05, "epoch": 3.69, "percentage": 75.0, "elapsed_time": "0:17:00", "remaining_time": "0:05:40"}
7
+ {"current_steps": 35, "total_steps": 40, "loss": 0.0056, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 7.612046748871327e-06, "epoch": 4.31, "percentage": 87.5, "elapsed_time": "0:19:49", "remaining_time": "0:02:49"}
8
+ {"current_steps": 40, "total_steps": 40, "loss": 0.0049, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": 0.0, "epoch": 4.92, "percentage": 100.0, "elapsed_time": "0:22:40", "remaining_time": "0:00:00"}
9
+ {"current_steps": 40, "total_steps": 40, "loss": null, "eval_loss": null, "predict_loss": null, "reward": null, "accuracy": null, "learning_rate": null, "epoch": 4.92, "percentage": 100.0, "elapsed_time": "0:22:40", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.923076923076923,
5
+ "eval_steps": 500,
6
+ "global_step": 40,
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.62,
13
+ "grad_norm": 0.1295962631702423,
14
+ "learning_rate": 0.0001923879532511287,
15
+ "loss": 0.0652,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 1.23,
20
+ "grad_norm": 0.046223945915699005,
21
+ "learning_rate": 0.00017071067811865476,
22
+ "loss": 0.0346,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 1.85,
27
+ "grad_norm": 0.07042355835437775,
28
+ "learning_rate": 0.000138268343236509,
29
+ "loss": 0.0214,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 2.46,
34
+ "grad_norm": 0.036413274705410004,
35
+ "learning_rate": 0.0001,
36
+ "loss": 0.0145,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 3.08,
41
+ "grad_norm": 0.0433778315782547,
42
+ "learning_rate": 6.173165676349103e-05,
43
+ "loss": 0.0117,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 3.69,
48
+ "grad_norm": 0.02845873311161995,
49
+ "learning_rate": 2.9289321881345254e-05,
50
+ "loss": 0.007,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 4.31,
55
+ "grad_norm": 0.02572229690849781,
56
+ "learning_rate": 7.612046748871327e-06,
57
+ "loss": 0.0056,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 4.92,
62
+ "grad_norm": 0.022463396191596985,
63
+ "learning_rate": 0.0,
64
+ "loss": 0.0049,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 4.92,
69
+ "step": 40,
70
+ "total_flos": 6.324624974954496e+16,
71
+ "train_loss": 0.020610336679965258,
72
+ "train_runtime": 1360.5648,
73
+ "train_samples_per_second": 0.474,
74
+ "train_steps_per_second": 0.029
75
+ }
76
+ ],
77
+ "logging_steps": 5,
78
+ "max_steps": 40,
79
+ "num_input_tokens_seen": 0,
80
+ "num_train_epochs": 5,
81
+ "save_steps": 100,
82
+ "total_flos": 6.324624974954496e+16,
83
+ "train_batch_size": 2,
84
+ "trial_name": null,
85
+ "trial_params": null
86
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df41029ab8ee1cce7233e15585e3c01b7641707e7c1f21fc3f93accdf26f8c2f
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff