FrenzyBiscuit commited on
Commit
525d2aa
·
verified ·
1 Parent(s): c801e29

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,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ license: apache-2.0
9
+ language:
10
+ - en
11
+ base_model:
12
+ - Qwen/Qwen2.5-1.5B
13
+ datasets:
14
+ - anthracite-org/kalo-opus-instruct-22k-no-refusal
15
+ - Nopm/Opus_WritingStruct
16
+ - Gryphe/Sonnet3.5-SlimOrcaDedupCleaned
17
+ - Gryphe/Sonnet3.5-Charcard-Roleplay
18
+ - Gryphe/ChatGPT-4o-Writing-Prompts
19
+ - Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
20
+ - Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned
21
+ - nothingiisreal/Reddit-Dirty-And-WritingPrompts
22
+ - allura-org/Celeste-1.x-data-mixture
23
+ - cognitivecomputations/dolphin-2.9.3
24
+ ---
25
+ # EVA Qwen2.5-1.5BB v0.0
26
+
27
+ <p>
28
+ A small-scale RP/storywriting specialist model, full-parameter finetune of Qwen2.5-1.5B on mixture of synthetic and natural data.<br>
29
+ It uses Celeste 70B 0.1 data mixture, greatly expanding it to improve versatility, creativity and "flavor" of the resulting model.<br>
30
+ Unlike EVA-D 1.5B v0.0, this model was created without using DistillKit, and unlike other versions of EVA, Spectrum wasn't used either, since layer freezing is inefficient at small scale.
31
+ </p>
32
+
33
+ <p>
34
+ <br>
35
+ <h3>
36
+ Training data:
37
+ </h3>
38
+ <ul>
39
+ <li>Celeste 70B 0.1 data mixture minus Opus Instruct subset. See that model's <a href=https://huggingface.co/nothingiisreal/L3.1-70B-Celeste-V0.1-BF16>card</a> for details.</li>
40
+ <li>Kalomaze's Opus_Instruct_25k dataset, filtered for refusals.</li>
41
+ <li>A subset (1k rows) of ChatGPT-4o-WritingPrompts by Gryphe</li>
42
+ <li>A subset (2k rows) of Sonnet3.5-Charcards-Roleplay by Gryphe</li>
43
+ <li>Synthstruct and SynthRP datasets by Epiculous</li>
44
+ <li>A subset from Dolphin-2.9.3, including filtered version of not_samantha and a small subset of systemchat.</li>
45
+ </ul>
46
+ <h3>
47
+ Training time and hardware:
48
+ </h3>
49
+ <ul><li>9 hours on 4x3090Ti</a></li></ul>
50
+ <h3>
51
+ </p>
52
+ <p>Model was created by Kearm, Auri and Cahvay.</p>
53
+ <h4>Special thanks:</h4><ul>
54
+ <li>to Cahvay for his work on investigating and reprocessing the corrupted dataset, removing the single biggest source of data poisoning.</li>
55
+ <li>to Gryphe, Lemmy, Kalomaze, Nopm, Epiculous and CognitiveComputations for the data</li>
56
+ <li>and to Allura-org for support, feedback, beta-testing and doing quality control of EVA models.</li></ul>
57
+
58
+ [<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)
59
+ <details><summary>See axolotl config</summary>
60
+
61
+ axolotl version: `0.4.1`
62
+ ```yaml
63
+ base_model: /media/kearm/Disk_2/HF_FAST_MoE_Fodder/Qwen2.5-1.5B
64
+
65
+ load_in_8bit: false
66
+ load_in_4bit: false
67
+ strict: false
68
+
69
+ plugins:
70
+ - axolotl.integrations.liger.LigerPlugin
71
+ liger_rope: true
72
+ liger_rms_norm: true
73
+ liger_swiglu: true
74
+ liger_fused_linear_cross_entropy: true
75
+
76
+ # plugins:
77
+ # - axolotl.integrations.spectrum.SpectrumPlugin
78
+
79
+ # spectrum_top_fraction: 0.5
80
+ # # Optional if using a pre-scanned model as your base_model. Useful if using a model mirror
81
+ # spectrum_model_name: Qwen/Qwen2.5-32B
82
+
83
+ datasets:
84
+ - path: datasets/Celeste_Filtered_utf8fix.jsonl
85
+ type: sharegpt
86
+ - path: datasets/deduped_not_samantha_norefusals.jsonl
87
+ type: sharegpt
88
+ - path: datasets/deduped_SynthRP-Gens_processed_ShareGPT_converted_cleaned.jsonl
89
+ type: sharegpt
90
+ - path: datasets/deduped_Synthstruct-Gens_processed_sharegpt_converted_cleaned.jsonl
91
+ type: sharegpt
92
+ - path: datasets/Gryphe-4o-WP-filtered-sharegpt_utf8fix.jsonl
93
+ type: sharegpt
94
+ - path: datasets/Sonnet3-5-charcard-names-filtered-sharegpt_utf8fix.jsonl
95
+ type: sharegpt
96
+ - path: datasets/SystemChat_subset_filtered_sharegpt_utf8fix.jsonl
97
+ type: sharegpt
98
+ - path: datasets/S2.jsonl
99
+ type: sharegpt
100
+ - path: datasets/Turing.jsonl
101
+ type: sharegpt
102
+
103
+ chat_template: chatml
104
+ shuffle_merged_datasets: true
105
+ val_set_size: 0.05
106
+ output_dir: EVA-Qwen2.5-1.5B-FFT-v0.0
107
+
108
+ sequence_len: 10240
109
+ sample_packing: true
110
+ eval_sample_packing: false
111
+ pad_to_sequence_len: true
112
+
113
+ # adapter: qlora
114
+ # lora_model_dir:
115
+ # lora_r: 64
116
+ # lora_alpha: 128
117
+ # lora_dropout: 0.05
118
+ # lora_target_linear: true
119
+ # peft_use_dora: true
120
+
121
+ wandb_project: EVA-Qwen2.5-1.5B-FFT-v0.0
122
+ wandb_entity:
123
+ wandb_watch:
124
+ wandb_name: Unit-00
125
+ wandb_log_model:
126
+
127
+ gradient_accumulation_steps: 8
128
+ micro_batch_size: 1
129
+ num_epochs: 3
130
+ optimizer: paged_adamw_8bit
131
+ lr_scheduler: cosine
132
+ learning_rate: 0.000005
133
+ max_grad_norm: 1.5
134
+
135
+ train_on_inputs: false
136
+ group_by_length: false
137
+ bf16: auto
138
+ fp16:
139
+ tf32: false
140
+
141
+ gradient_checkpointing: "unsloth"
142
+ gradient_checkpointing_kwargs:
143
+ use_reentrant: true
144
+ early_stopping_patience:
145
+ resume_from_checkpoint:
146
+ local_rank:
147
+ logging_steps: 1
148
+ xformers_attention:
149
+ flash_attention: true
150
+
151
+ warmup_steps: 20
152
+ evals_per_epoch: 4
153
+ saves_per_epoch: 4
154
+ save_safetensors: true
155
+ save_total_limit: 8
156
+ hub_model_id:
157
+ hub_strategy:
158
+ debug:
159
+ deepspeed: deepspeed_configs/zero3_bf16.json
160
+ weight_decay: 0.15
161
+ # fsdp:
162
+ # - full_shard
163
+ # - auto_wrap
164
+ # fsdp_config:
165
+ # fsdp_limit_all_gathers: true
166
+ # fsdp_sync_module_states: false
167
+ # fsdp_offload_params: true
168
+ # fsdp_cpu_ram_efficient_loading: true
169
+ # fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
170
+ # fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
171
+ # fsdp_activation_checkpointing: true
172
+ # fsdp_state_dict_type: SHARDED_STATE_DICT # Changed from FULL_STATE_DICT
173
+ # fsdp_sharding_strategy: FULL_SHARD
174
+ # fsdp_forward_prefetch: false # Added
175
+ # fsdp_backward_prefetch: "BACKWARD_PRE" # Added
176
+ # fsdp_backward_prefetch_limit: 1 # Added
177
+ # fsdp_mixed_precision: BF16 # Added
178
+
179
+ ```
180
+
181
+ </details><br>
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,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "quantization_config": {
30
+ "quant_method": "exl2",
31
+ "version": "0.2.7",
32
+ "bits": 8.0,
33
+ "head_bits": 8,
34
+ "calibration": {
35
+ "rows": 115,
36
+ "length": 2048,
37
+ "dataset": "(default)"
38
+ }
39
+ }
40
+ }
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
 
output.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e073bb4db3b30c297769f7ddd2c993715ec0f15587d38d888284bcbb3a5dd8a5
3
+ size 1895558358
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
The diff for this file is too large to render. See raw diff
 
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
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff