RoyJoy commited on
Commit
533861e
·
verified ·
1 Parent(s): a829023

End of training

Browse files
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Artples/L-MChat-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 3563beae-4d78-42a1-a013-35cebe6d3ad2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: Artples/L-MChat-7b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 03c71388ac69e2b9_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/03c71388ac69e2b9_train_data.json
32
+ type:
33
+ field_input: title
34
+ field_instruction: text
35
+ field_output: summary
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: null
45
+ eval_batch_size: 2
46
+ eval_max_new_tokens: 128
47
+ eval_steps: null
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: null
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: sn56t0/3563beae-4d78-42a1-a013-35cebe6d3ad2
58
+ hub_repo: null
59
+ hub_strategy: end
60
+ hub_token: null
61
+ learning_rate: 0.0001
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 16
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 8
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_memory:
75
+ 0: 75GB
76
+ max_steps: 200
77
+ micro_batch_size: 2
78
+ mlflow_experiment_name: /tmp/03c71388ac69e2b9_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 1
81
+ optimizer: adamw_bnb_8bit
82
+ output_dir: miner_id_24
83
+ pad_to_sequence_len: true
84
+ resume_from_checkpoint: null
85
+ s2_attention: null
86
+ sample_packing: false
87
+ save_steps: null
88
+ saves_per_epoch: null
89
+ seed: 3485896181
90
+ sequence_len: 1024
91
+ shuffle: true
92
+ special_tokens:
93
+ pad_token: <|end_of_turn|>
94
+ strict: false
95
+ tf32: false
96
+ tokenizer_type: AutoTokenizer
97
+ torch_compile: true
98
+ train_on_inputs: false
99
+ trust_remote_code: true
100
+ val_set_size: 0.05
101
+ wandb_entity: sn56-miner
102
+ wandb_mode: disabled
103
+ wandb_name: null
104
+ wandb_project: god
105
+ wandb_run: 0ahe
106
+ wandb_runid: null
107
+ warmup_steps: 5
108
+ weight_decay: 0.01
109
+ xformers_attention: null
110
+
111
+ ```
112
+
113
+ </details><br>
114
+
115
+ # 3563beae-4d78-42a1-a013-35cebe6d3ad2
116
+
117
+ This model is a fine-tuned version of [Artples/L-MChat-7b](https://huggingface.co/Artples/L-MChat-7b) on the None dataset.
118
+ It achieves the following results on the evaluation set:
119
+ - Loss: 1.1307
120
+
121
+ ## Model description
122
+
123
+ More information needed
124
+
125
+ ## Intended uses & limitations
126
+
127
+ More information needed
128
+
129
+ ## Training and evaluation data
130
+
131
+ More information needed
132
+
133
+ ## Training procedure
134
+
135
+ ### Training hyperparameters
136
+
137
+ The following hyperparameters were used during training:
138
+ - learning_rate: 0.0001
139
+ - train_batch_size: 2
140
+ - eval_batch_size: 2
141
+ - seed: 3485896181
142
+ - distributed_type: multi-GPU
143
+ - num_devices: 4
144
+ - gradient_accumulation_steps: 4
145
+ - total_train_batch_size: 32
146
+ - total_eval_batch_size: 8
147
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
148
+ - lr_scheduler_type: cosine
149
+ - lr_scheduler_warmup_steps: 5
150
+ - training_steps: 165
151
+
152
+ ### Training results
153
+
154
+ | Training Loss | Epoch | Step | Validation Loss |
155
+ |:-------------:|:------:|:----:|:---------------:|
156
+ | 4.3013 | 0.9970 | 164 | 1.1321 |
157
+ | 4.8973 | 1.0030 | 165 | 1.1307 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - PEFT 0.13.2
163
+ - Transformers 4.46.0
164
+ - Pytorch 2.5.0+cu124
165
+ - Datasets 3.0.1
166
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Artples/L-MChat-7b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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.05,
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
+ "down_proj",
24
+ "v_proj",
25
+ "q_proj",
26
+ "k_proj",
27
+ "o_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b51c44a529fd03644ff684f4ba50ea61ed8b617897bfe8801b2c78723230670
3
+ size 84047370
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03d44e3cc8cffa5e99aecc63b98c2f52ba4ffa5163e39eee625da0997c33e52b
3
+ size 83945296
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|end_of_turn|>": 32000,
3
+ "<|pad_0|>": 32001
4
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "Artples/L-MChat-7b",
4
+ "architectures": [
5
+ "MistralForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 32000,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 8192,
16
+ "model_type": "mistral",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_theta": 10000.0,
22
+ "sliding_window": 4096,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.46.0",
26
+ "use_cache": false,
27
+ "vocab_size": 32002
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|end_of_turn|>",
4
+ "<|pad_0|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<s>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|end_of_turn|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<|end_of_turn|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
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
+ "32000": {
31
+ "content": "<|end_of_turn|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|pad_0|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ }
46
+ },
47
+ "additional_special_tokens": [
48
+ "<|end_of_turn|>",
49
+ "<|pad_0|>"
50
+ ],
51
+ "bos_token": "<s>",
52
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
53
+ "clean_up_tokenization_spaces": false,
54
+ "eos_token": "<|end_of_turn|>",
55
+ "legacy": true,
56
+ "model_max_length": 1000000000000000019884624838656,
57
+ "pad_token": "<|end_of_turn|>",
58
+ "sp_model_kwargs": {},
59
+ "spaces_between_special_tokens": false,
60
+ "tokenizer_class": "LlamaTokenizer",
61
+ "unk_token": "<unk>",
62
+ "use_default_system_prompt": true
63
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d119e735bd67a164d1be30bf1931815124604e7dff1300cea9898b445c41660
3
+ size 6776