AuriAetherwiing commited on
Commit
8a5d4a4
·
verified ·
1 Parent(s): 31865b9

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: EVA-Qwen2.5-1.5B-FFT-v0.0
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ [<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)
14
+ <details><summary>See axolotl config</summary>
15
+
16
+ axolotl version: `0.4.1`
17
+ ```yaml
18
+ base_model: /media/kearm/Disk_2/HF_FAST_MoE_Fodder/Qwen2.5-1.5B
19
+
20
+ load_in_8bit: false
21
+ load_in_4bit: false
22
+ strict: false
23
+
24
+ plugins:
25
+ - axolotl.integrations.liger.LigerPlugin
26
+ liger_rope: true
27
+ liger_rms_norm: true
28
+ liger_swiglu: true
29
+ liger_fused_linear_cross_entropy: true
30
+
31
+ # plugins:
32
+ # - axolotl.integrations.spectrum.SpectrumPlugin
33
+
34
+ # spectrum_top_fraction: 0.5
35
+ # # Optional if using a pre-scanned model as your base_model. Useful if using a model mirror
36
+ # spectrum_model_name: Qwen/Qwen2.5-32B
37
+
38
+ datasets:
39
+ - path: datasets/Celeste_Filtered_utf8fix.jsonl
40
+ type: sharegpt
41
+ - path: datasets/deduped_not_samantha_norefusals.jsonl
42
+ type: sharegpt
43
+ - path: datasets/deduped_SynthRP-Gens_processed_ShareGPT_converted_cleaned.jsonl
44
+ type: sharegpt
45
+ - path: datasets/deduped_Synthstruct-Gens_processed_sharegpt_converted_cleaned.jsonl
46
+ type: sharegpt
47
+ - path: datasets/Gryphe-4o-WP-filtered-sharegpt_utf8fix.jsonl
48
+ type: sharegpt
49
+ - path: datasets/Sonnet3-5-charcard-names-filtered-sharegpt_utf8fix.jsonl
50
+ type: sharegpt
51
+ - path: datasets/SystemChat_subset_filtered_sharegpt_utf8fix.jsonl
52
+ type: sharegpt
53
+ - path: datasets/S2.jsonl
54
+ type: sharegpt
55
+ - path: datasets/Turing.jsonl
56
+ type: sharegpt
57
+
58
+ chat_template: chatml
59
+ shuffle_merged_datasets: true
60
+ val_set_size: 0.05
61
+ output_dir: EVA-Qwen2.5-1.5B-FFT-v0.0
62
+
63
+ sequence_len: 10240
64
+ sample_packing: true
65
+ eval_sample_packing: false
66
+ pad_to_sequence_len: true
67
+
68
+ # adapter: qlora
69
+ # lora_model_dir:
70
+ # lora_r: 64
71
+ # lora_alpha: 128
72
+ # lora_dropout: 0.05
73
+ # lora_target_linear: true
74
+ # peft_use_dora: true
75
+
76
+ wandb_project: EVA-Qwen2.5-1.5B-FFT-v0.0
77
+ wandb_entity:
78
+ wandb_watch:
79
+ wandb_name: Unit-00
80
+ wandb_log_model:
81
+
82
+ gradient_accumulation_steps: 8
83
+ micro_batch_size: 1
84
+ num_epochs: 3
85
+ optimizer: paged_adamw_8bit
86
+ lr_scheduler: cosine
87
+ learning_rate: 0.000005
88
+ max_grad_norm: 1.5
89
+
90
+ train_on_inputs: false
91
+ group_by_length: false
92
+ bf16: auto
93
+ fp16:
94
+ tf32: false
95
+
96
+ gradient_checkpointing: "unsloth"
97
+ gradient_checkpointing_kwargs:
98
+ use_reentrant: true
99
+ early_stopping_patience:
100
+ resume_from_checkpoint:
101
+ local_rank:
102
+ logging_steps: 1
103
+ xformers_attention:
104
+ flash_attention: true
105
+
106
+ warmup_steps: 20
107
+ evals_per_epoch: 4
108
+ saves_per_epoch: 4
109
+ save_safetensors: true
110
+ save_total_limit: 8
111
+ hub_model_id:
112
+ hub_strategy:
113
+ debug:
114
+ deepspeed: deepspeed_configs/zero3_bf16.json
115
+ weight_decay: 0.15
116
+ # fsdp:
117
+ # - full_shard
118
+ # - auto_wrap
119
+ # fsdp_config:
120
+ # fsdp_limit_all_gathers: true
121
+ # fsdp_sync_module_states: false
122
+ # fsdp_offload_params: true
123
+ # fsdp_cpu_ram_efficient_loading: true
124
+ # fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
125
+ # fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
126
+ # fsdp_activation_checkpointing: true
127
+ # fsdp_state_dict_type: SHARDED_STATE_DICT # Changed from FULL_STATE_DICT
128
+ # fsdp_sharding_strategy: FULL_SHARD
129
+ # fsdp_forward_prefetch: false # Added
130
+ # fsdp_backward_prefetch: "BACKWARD_PRE" # Added
131
+ # fsdp_backward_prefetch_limit: 1 # Added
132
+ # fsdp_mixed_precision: BF16 # Added
133
+
134
+ ```
135
+
136
+ </details><br>
137
+
138
+ # EVA-Qwen2.5-1.5B-FFT-v0.0
139
+
140
+ This model was trained from scratch on the None dataset.
141
+ It achieves the following results on the evaluation set:
142
+ - Loss: 1.3685
143
+
144
+ ## Model description
145
+
146
+ More information needed
147
+
148
+ ## Intended uses & limitations
149
+
150
+ More information needed
151
+
152
+ ## Training and evaluation data
153
+
154
+ More information needed
155
+
156
+ ## Training procedure
157
+
158
+ ### Training hyperparameters
159
+
160
+ The following hyperparameters were used during training:
161
+ - learning_rate: 5e-06
162
+ - train_batch_size: 1
163
+ - eval_batch_size: 1
164
+ - seed: 42
165
+ - distributed_type: multi-GPU
166
+ - num_devices: 4
167
+ - gradient_accumulation_steps: 8
168
+ - total_train_batch_size: 32
169
+ - total_eval_batch_size: 4
170
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
171
+ - lr_scheduler_type: cosine
172
+ - lr_scheduler_warmup_steps: 20
173
+ - num_epochs: 3
174
+
175
+ ### Training results
176
+
177
+ | Training Loss | Epoch | Step | Validation Loss |
178
+ |:-------------:|:------:|:----:|:---------------:|
179
+ | 1.8166 | 0.0028 | 1 | 1.6772 |
180
+ | 1.7031 | 0.2519 | 89 | 1.4633 |
181
+ | 1.5925 | 0.5037 | 178 | 1.4171 |
182
+ | 1.512 | 0.7556 | 267 | 1.3993 |
183
+ | 1.5122 | 1.0050 | 356 | 1.3888 |
184
+ | 1.5281 | 1.2574 | 445 | 1.3825 |
185
+ | 1.4895 | 1.5099 | 534 | 1.3775 |
186
+ | 1.4599 | 1.7624 | 623 | 1.3731 |
187
+ | 1.4754 | 2.0103 | 712 | 1.3705 |
188
+ | 1.4841 | 2.2619 | 801 | 1.3696 |
189
+ | 1.4861 | 2.5136 | 890 | 1.3689 |
190
+ | 1.5258 | 2.7653 | 979 | 1.3685 |
191
+
192
+
193
+ ### Framework versions
194
+
195
+ - Transformers 4.45.2
196
+ - Pytorch 2.5.1+cu124
197
+ - Datasets 2.21.0
198
+ - Tokenizers 0.20.3
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/media/kearm/Disk_2/HF_FAST_MoE_Fodder/Qwen2.5-1.5B",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": 151643,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1536,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8960,
12
+ "max_position_embeddings": 131072,
13
+ "max_window_layers": 28,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 2,
18
+ "rms_norm_eps": 1e-06,
19
+ "rope_scaling": null,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": null,
22
+ "tie_word_embeddings": true,
23
+ "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.45.2",
25
+ "use_cache": false,
26
+ "use_mrope": false,
27
+ "use_sliding_window": false,
28
+ "vocab_size": 151936
29
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": 151643,
5
+ "max_new_tokens": 2048,
6
+ "transformers_version": "4.45.2"
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:811626e7330e688171cbbce182f7c6110a5075fe6fd2108e1da046595b9f6690
3
+ size 3087467144
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|endoftext|>",
201
+ "errors": "replace",
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3374fbbb837489f56e2c5b08958d5ea80ba77a271c606d1fea856b9ce4cd8bf
3
+ size 8120
vocab.json ADDED
The diff for this file is too large to render. See raw diff