allen0909 commited on
Commit
4890632
1 Parent(s): 25b5860

Training in progress, step 100

Browse files
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ base_model: taide/TAIDE-LX-7B-Chat
9
+ model-index:
10
+ - name: ROE_QA_TAIDE-LX-7B-Chat_Q100_80_20_V5
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
+ # ROE_QA_TAIDE-LX-7B-Chat_Q100_80_20_V5
18
+
19
+ This model is a fine-tuned version of [taide/TAIDE-LX-7B-Chat](https://huggingface.co/taide/TAIDE-LX-7B-Chat) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3726
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 1
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 4
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 5
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:------:|:----:|:---------------:|
56
+ | 4.8629 | 0.0321 | 100 | 3.4698 |
57
+ | 4.6474 | 0.0643 | 200 | 3.2343 |
58
+ | 3.8261 | 0.0964 | 300 | 2.8205 |
59
+ | 3.2992 | 0.1285 | 400 | 2.5034 |
60
+ | 2.9369 | 0.1607 | 500 | 2.2639 |
61
+ | 2.2674 | 0.1928 | 600 | 1.9493 |
62
+ | 2.1393 | 0.2249 | 700 | 1.7888 |
63
+ | 1.8195 | 0.2571 | 800 | 1.6285 |
64
+ | 1.678 | 0.2892 | 900 | 1.4983 |
65
+ | 1.6242 | 0.3213 | 1000 | 1.4013 |
66
+ | 1.344 | 0.3535 | 1100 | 1.1522 |
67
+ | 1.0894 | 0.3856 | 1200 | 1.0704 |
68
+ | 1.2033 | 0.4177 | 1300 | 1.0537 |
69
+ | 0.9503 | 0.4499 | 1400 | 0.9160 |
70
+ | 0.9901 | 0.4820 | 1500 | 0.8751 |
71
+ | 1.0363 | 0.5141 | 1600 | 0.7942 |
72
+ | 0.9986 | 0.5463 | 1700 | 0.7668 |
73
+ | 0.9407 | 0.5784 | 1800 | 0.6912 |
74
+ | 0.9347 | 0.6105 | 1900 | 0.6543 |
75
+ | 0.8109 | 0.6427 | 2000 | 0.6498 |
76
+ | 0.8848 | 0.6748 | 2100 | 0.6077 |
77
+ | 0.8937 | 0.7069 | 2200 | 0.5865 |
78
+ | 0.7895 | 0.7391 | 2300 | 0.5780 |
79
+ | 0.8044 | 0.7712 | 2400 | 0.5646 |
80
+ | 0.8317 | 0.8033 | 2500 | 0.5449 |
81
+ | 0.858 | 0.8355 | 2600 | 0.5132 |
82
+ | 0.8519 | 0.8676 | 2700 | 0.4940 |
83
+ | 0.7554 | 0.8997 | 2800 | 0.4972 |
84
+ | 0.758 | 0.9319 | 2900 | 0.4809 |
85
+ | 0.8866 | 0.9640 | 3000 | 0.4714 |
86
+ | 0.7028 | 0.9961 | 3100 | 0.4608 |
87
+ | 0.7031 | 1.0283 | 3200 | 0.4458 |
88
+ | 0.6623 | 1.0604 | 3300 | 0.4427 |
89
+ | 0.671 | 1.0925 | 3400 | 0.4366 |
90
+ | 0.6588 | 1.1247 | 3500 | 0.4327 |
91
+ | 0.6422 | 1.1568 | 3600 | 0.4239 |
92
+ | 0.643 | 1.1889 | 3700 | 0.4235 |
93
+ | 0.6747 | 1.2211 | 3800 | 0.4204 |
94
+ | 0.6911 | 1.2532 | 3900 | 0.4130 |
95
+ | 0.7354 | 1.2853 | 4000 | 0.4092 |
96
+ | 0.6233 | 1.3175 | 4100 | 0.4070 |
97
+ | 0.6005 | 1.3496 | 4200 | 0.4055 |
98
+ | 0.624 | 1.3817 | 4300 | 0.4033 |
99
+ | 0.623 | 1.4139 | 4400 | 0.3976 |
100
+ | 0.6419 | 1.4460 | 4500 | 0.3966 |
101
+ | 0.6329 | 1.4781 | 4600 | 0.3914 |
102
+ | 0.6395 | 1.5103 | 4700 | 0.3934 |
103
+ | 0.6541 | 1.5424 | 4800 | 0.3916 |
104
+ | 0.6538 | 1.5746 | 4900 | 0.3917 |
105
+ | 0.6214 | 1.6067 | 5000 | 0.3840 |
106
+ | 0.6303 | 1.6388 | 5100 | 0.3844 |
107
+ | 0.6547 | 1.6710 | 5200 | 0.3816 |
108
+ | 0.6264 | 1.7031 | 5300 | 0.3844 |
109
+ | 0.5896 | 1.7352 | 5400 | 0.3801 |
110
+ | 0.6082 | 1.7674 | 5500 | 0.3786 |
111
+ | 0.5772 | 1.7995 | 5600 | 0.3737 |
112
+ | 0.5839 | 1.8316 | 5700 | 0.3745 |
113
+ | 0.6201 | 1.8638 | 5800 | 0.3737 |
114
+ | 0.5643 | 1.8959 | 5900 | 0.3717 |
115
+ | 0.6258 | 1.9280 | 6000 | 0.3726 |
116
+
117
+
118
+ ### Framework versions
119
+
120
+ - PEFT 0.12.1.dev0
121
+ - Transformers 4.44.2
122
+ - Pytorch 2.3.0+cu121
123
+ - Datasets 2.19.1
124
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "taide/TAIDE-LX-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": 16,
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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafad72e9a2d74b7343e09db8ae9ff8c78ae93c00ade1b3b0dd44b79431f3b4c
3
+ size 16794200
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<EOD>": 61873,
3
+ "<PAD>": 61874
4
+ }
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": "<pad>",
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.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:fa5ae3c94ec47bca0ac39941c245df5dfc913feebe2d806bc89365af560e4524
3
+ size 813044
tokenizer_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ }
38
+ },
39
+ "bos_token": "<s>",
40
+ "chat_template": "{% if messages[0]['role'] == 'system' %}\n {% set loop_messages = messages[1:] %}\n {% set system_message = messages[0]['content'] %}\n{% else %}\n {% set loop_messages = messages %}\n {% set system_message = false %}\n{% endif %}\n{% for message in loop_messages %}\n {% if loop.index0 == 0 and system_message != false %}\n {% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}\n {% else %}\n {% set content = message['content'] %}\n {% endif %}\n {% if message['role'] == 'user' %}\n {{- bos_token + '[INST] ' + content.strip() + ' [/INST]' -}}\n {% elif message['role'] == 'system' %}\n {{- '<<SYS>>\\n' + content.strip() + '\\n<</SYS>>\\n\\n' -}}\n {% elif message['role'] == 'assistant' %}\n {{- ' ' + content.strip() + ' ' + eos_token -}}\n {% endif %}\n{% endfor %}\n",
41
+ "clean_up_tokenization_spaces": false,
42
+ "eos_token": "</s>",
43
+ "legacy": false,
44
+ "model_max_length": 2048,
45
+ "pad_token": "<pad>",
46
+ "padding_side": "right",
47
+ "sp_model_kwargs": {},
48
+ "spaces_between_special_tokens": false,
49
+ "tokenizer_class": "LlamaTokenizer",
50
+ "unk_token": "<unk>",
51
+ "use_default_system_prompt": false
52
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c238627727ccea6afc17d945546c8b8462dea273d929e6577c929ad23e8ac9
3
+ size 5432