etemiz commited on
Commit
ab3c35b
1 Parent(s): 3cee85f

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,16 +1,12 @@
1
  {
2
- "_name_or_path": "/home/dead/merged/pab-fa-60385",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 128000,
9
- "eos_token_id": [
10
- 128001,
11
- 128008,
12
- 128009
13
- ],
14
  "head_dim": 128,
15
  "hidden_act": "silu",
16
  "hidden_size": 4096,
 
1
  {
2
+ "_name_or_path": "/home/dead/merged/pab-fa-11829",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 128000,
9
+ "eos_token_id": 128009,
 
 
 
 
10
  "head_dim": 128,
11
  "hidden_act": "silu",
12
  "hidden_size": 4096,
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
generation_config.json CHANGED
@@ -2,7 +2,6 @@
2
  "bos_token_id": 128000,
3
  "do_sample": true,
4
  "eos_token_id": 128009,
5
- "max_length": 131072,
6
  "max_new_tokens": 2048,
7
  "pad_token_id": 128004,
8
  "temperature": 0.6,
 
2
  "bos_token_id": 128000,
3
  "do_sample": true,
4
  "eos_token_id": 128009,
 
5
  "max_new_tokens": 2048,
6
  "pad_token_id": 128004,
7
  "temperature": 0.6,
input_embeddings.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95c93ebbfdd957529e87dad5eb9d2a01947b4b88fbef8888cafae998c8d0717c
3
  size 1050674441
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caf76061a606bbe0465c41e54133f763cb29e8c35cdcc7f6762460eab4ddbb7d
3
  size 1050674441
model-00001-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c188909d5f305c33495d1348bff4fbb3ce3200eb02ed1a3dc75a33eff4cbb913
3
  size 4976698672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74ac0ffdde6f24c795d037a36eb288f27d8023063b21fc5dec0e73bdd8a971a1
3
  size 4976698672
model-00002-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a180b13ec894e56cd9986cf9fbaa8550fc8b32809c656eda691dfda4729039f0
3
  size 4999802720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6427d4d46ebf9fe395a2823272a093cd9fc9fc85fe8efb252fe39a38492a47f5
3
  size 4999802720
model-00003-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:30a36b182ee2ae7e0883bcb37b05694a5cf5225b62ded33e4378ffacd1132582
3
  size 4915916176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b35b53fb1b4eb0b1df50de85636213e09c9a8960d74fd3e2b3ae7cbef3c88cf
3
  size 4915916176
model-00004-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:725cbb778b7d45fc981715586eba7670ab7c293cc576731f0f0915b741df5fde
3
  size 1168138808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a5a14b75154ee25a5a456a47385204821ef59155529408101cbf5bc47a7b20
3
  size 1168138808
output_embeddings.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70df33c0169c3d813e61d5be95b67ebcbd39669c905e9331a63a8e4de4d99b7b
3
  size 1050674446
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d22d17f573cdf1d27f17bcc48d97ff916a4aaa932e9482e45e0790808140a97f
3
  size 1050674446
sft_args.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "llama3_1-8b-instruct",
3
+ "model_id_or_path": "/home/dead/merged/pab-fa-11829",
4
+ "model_revision": "master",
5
+ "full_determinism": false,
6
+ "sft_type": "full",
7
+ "freeze_parameters": [],
8
+ "freeze_vit": false,
9
+ "freeze_parameters_ratio": 0.0,
10
+ "additional_trainable_parameters": [],
11
+ "tuner_backend": "peft",
12
+ "template_type": "llama3",
13
+ "output_dir": "/home/dead/tr-check/pab-fa-11829p/llama3_1-8b-instruct/v0-20241211-214014",
14
+ "add_output_dir_suffix": true,
15
+ "ddp_backend": null,
16
+ "ddp_find_unused_parameters": null,
17
+ "ddp_broadcast_buffers": null,
18
+ "ddp_timeout": 1800,
19
+ "seed": 42,
20
+ "resume_from_checkpoint": null,
21
+ "resume_only_model": false,
22
+ "ignore_data_skip": false,
23
+ "dtype": "bf16",
24
+ "packing": false,
25
+ "train_backend": "transformers",
26
+ "tp": 1,
27
+ "pp": 1,
28
+ "min_lr": null,
29
+ "sequence_parallel": false,
30
+ "model_kwargs": {},
31
+ "loss_name": null,
32
+ "dataset": [
33
+ "/home/dead/m/md60/dataset/quran/translate/tanzil/sft/sample.json",
34
+ "/home/dead/m/md60/dataset/quran/translate/tanzil/sft/sample-3.json",
35
+ "/home/dead/m/md60/dataset/quran/translate/tanzil/sft/sample-9.json",
36
+ "/home/dead/m/md60/dataset/quran/translate/tanzil/sft/sample-13.4.json"
37
+ ],
38
+ "val_dataset": [],
39
+ "dataset_seed": 42,
40
+ "dataset_test_ratio": 0.01,
41
+ "use_loss_scale": false,
42
+ "loss_scale_config_path": "/home/dead/.local/lib/python3.10/site-packages/swift/llm/agent/default_loss_scale_config.json",
43
+ "system": null,
44
+ "tools_prompt": "react_en",
45
+ "max_length": 4096,
46
+ "truncation_strategy": "delete",
47
+ "check_dataset_strategy": "none",
48
+ "streaming": false,
49
+ "streaming_val_size": 0,
50
+ "streaming_buffer_size": 16384,
51
+ "model_name": [
52
+ null,
53
+ null
54
+ ],
55
+ "model_author": [
56
+ null,
57
+ null
58
+ ],
59
+ "quant_method": null,
60
+ "quantization_bit": 0,
61
+ "hqq_axis": 0,
62
+ "hqq_dynamic_config_path": null,
63
+ "bnb_4bit_comp_dtype": "bf16",
64
+ "bnb_4bit_quant_type": "nf4",
65
+ "bnb_4bit_use_double_quant": true,
66
+ "bnb_4bit_quant_storage": null,
67
+ "rescale_image": -1,
68
+ "target_modules": [
69
+ "q_proj",
70
+ "k_proj",
71
+ "v_proj"
72
+ ],
73
+ "target_regex": null,
74
+ "modules_to_save": [],
75
+ "lora_rank": 32,
76
+ "lora_alpha": 32,
77
+ "lora_dropout": 0.05,
78
+ "lora_bias_trainable": "none",
79
+ "lora_dtype": null,
80
+ "lora_lr_ratio": null,
81
+ "use_rslora": false,
82
+ "use_dora": false,
83
+ "init_lora_weights": true,
84
+ "fourier_n_frequency": 2000,
85
+ "fourier_scaling": 300.0,
86
+ "rope_scaling": null,
87
+ "boft_block_size": 4,
88
+ "boft_block_num": 0,
89
+ "boft_n_butterfly_factor": 1,
90
+ "boft_dropout": 0.0,
91
+ "vera_rank": 256,
92
+ "vera_projection_prng_key": 0,
93
+ "vera_dropout": 0.0,
94
+ "vera_d_initial": 0.1,
95
+ "adapter_act": "gelu",
96
+ "adapter_length": 128,
97
+ "use_galore": false,
98
+ "galore_target_modules": null,
99
+ "galore_rank": 128,
100
+ "galore_update_proj_gap": 50,
101
+ "galore_scale": 1.0,
102
+ "galore_proj_type": "std",
103
+ "galore_optim_per_parameter": false,
104
+ "galore_with_embedding": false,
105
+ "galore_quantization": false,
106
+ "galore_proj_quant": false,
107
+ "galore_proj_bits": 4,
108
+ "galore_proj_group_size": 256,
109
+ "galore_cos_threshold": 0.4,
110
+ "galore_gamma_proj": 2,
111
+ "galore_queue_size": 5,
112
+ "adalora_target_r": 8,
113
+ "adalora_init_r": 12,
114
+ "adalora_tinit": 0,
115
+ "adalora_tfinal": 0,
116
+ "adalora_deltaT": 1,
117
+ "adalora_beta1": 0.85,
118
+ "adalora_beta2": 0.85,
119
+ "adalora_orth_reg_weight": 0.5,
120
+ "ia3_feedforward_modules": [],
121
+ "llamapro_num_new_blocks": 4,
122
+ "llamapro_num_groups": null,
123
+ "neftune_noise_alpha": null,
124
+ "neftune_backend": "transformers",
125
+ "lisa_activated_layers": 0,
126
+ "lisa_step_interval": 20,
127
+ "reft_layer_key": null,
128
+ "reft_layers": null,
129
+ "reft_rank": 4,
130
+ "reft_intervention_type": "LoreftIntervention",
131
+ "reft_args": null,
132
+ "use_liger": false,
133
+ "gradient_checkpointing": true,
134
+ "vit_use_gc": true,
135
+ "deepspeed": null,
136
+ "batch_size": 2,
137
+ "eval_batch_size": 2,
138
+ "auto_find_batch_size": false,
139
+ "num_train_epochs": 2,
140
+ "max_steps": -1,
141
+ "optim": "adamw_torch",
142
+ "adam_beta1": 0.9,
143
+ "adam_beta2": 0.95,
144
+ "adam_epsilon": 1e-08,
145
+ "learning_rate": 5e-06,
146
+ "weight_decay": 0.1,
147
+ "gradient_accumulation_steps": 8,
148
+ "max_grad_norm": 1,
149
+ "predict_with_generate": false,
150
+ "lr_scheduler_type": "cosine",
151
+ "lr_scheduler_kwargs": {},
152
+ "warmup_ratio": 0.05,
153
+ "warmup_steps": 0,
154
+ "eval_steps": 100,
155
+ "save_steps": 100,
156
+ "save_only_model": false,
157
+ "save_total_limit": 2,
158
+ "logging_steps": 5,
159
+ "acc_steps": 1,
160
+ "dataloader_num_workers": 1,
161
+ "dataloader_pin_memory": true,
162
+ "dataloader_drop_last": false,
163
+ "push_to_hub": false,
164
+ "hub_model_id": null,
165
+ "hub_token": null,
166
+ "hub_private_repo": false,
167
+ "hub_strategy": "every_save",
168
+ "test_oom_error": false,
169
+ "disable_tqdm": false,
170
+ "lazy_tokenize": false,
171
+ "preprocess_num_proc": 1,
172
+ "use_flash_attn": null,
173
+ "ignore_args_error": false,
174
+ "check_model_is_latest": true,
175
+ "logging_dir": "/home/dead/tr-check/pab-fa-11829p/llama3_1-8b-instruct/v0-20241211-214014/runs",
176
+ "report_to": [
177
+ "tensorboard"
178
+ ],
179
+ "acc_strategy": "token",
180
+ "save_on_each_node": false,
181
+ "evaluation_strategy": "steps",
182
+ "save_strategy": "steps",
183
+ "save_safetensors": true,
184
+ "gpu_memory_fraction": null,
185
+ "include_num_input_tokens_seen": false,
186
+ "local_repo_path": null,
187
+ "custom_register_path": null,
188
+ "custom_dataset_info": null,
189
+ "device_map_config": null,
190
+ "device_max_memory": [],
191
+ "max_new_tokens": 2048,
192
+ "do_sample": null,
193
+ "temperature": null,
194
+ "top_k": null,
195
+ "top_p": null,
196
+ "repetition_penalty": null,
197
+ "num_beams": 1,
198
+ "fsdp": "",
199
+ "fsdp_config": null,
200
+ "sequence_parallel_size": 1,
201
+ "model_layer_cls_name": null,
202
+ "metric_warmup_step": 0,
203
+ "fsdp_num": 1,
204
+ "per_device_train_batch_size": null,
205
+ "per_device_eval_batch_size": null,
206
+ "eval_strategy": null,
207
+ "self_cognition_sample": 0,
208
+ "train_dataset_mix_ratio": 0.0,
209
+ "train_dataset_mix_ds": [
210
+ "ms-bench"
211
+ ],
212
+ "train_dataset_sample": -1,
213
+ "val_dataset_sample": null,
214
+ "safe_serialization": null,
215
+ "only_save_model": null,
216
+ "neftune_alpha": null,
217
+ "deepspeed_config_path": null,
218
+ "model_cache_dir": null,
219
+ "lora_dropout_p": null,
220
+ "lora_target_modules": [],
221
+ "lora_target_regex": null,
222
+ "lora_modules_to_save": [],
223
+ "boft_target_modules": [],
224
+ "boft_modules_to_save": [],
225
+ "vera_target_modules": [],
226
+ "vera_modules_to_save": [],
227
+ "ia3_target_modules": [],
228
+ "ia3_modules_to_save": [],
229
+ "custom_train_dataset_path": [],
230
+ "custom_val_dataset_path": [],
231
+ "device_map_config_path": null,
232
+ "push_hub_strategy": null,
233
+ "use_self_cognition": false,
234
+ "is_multimodal": false,
235
+ "is_vision": false,
236
+ "lora_use_embedding": false,
237
+ "lora_use_all": false,
238
+ "lora_m2s_use_embedding": false,
239
+ "lora_m2s_use_ln": false,
240
+ "torch_dtype": "torch.bfloat16",
241
+ "fp16": false,
242
+ "bf16": true,
243
+ "rank": -1,
244
+ "local_rank": -1,
245
+ "world_size": 1,
246
+ "local_world_size": 1,
247
+ "bnb_4bit_compute_dtype": "torch.bfloat16",
248
+ "load_in_4bit": false,
249
+ "load_in_8bit": false,
250
+ "train_sampler_random": true,
251
+ "train_type": "sft",
252
+ "training_args": "Seq2SeqTrainingArguments(output_dir='/home/dead/tr-check/pab-fa-11829p/llama3_1-8b-instruct/v0-20241211-214014', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, prediction_loss_only=False, per_device_train_batch_size=2, per_device_eval_batch_size=2, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=8, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=5e-06, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1, num_train_epochs=2, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs={}, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/home/dead/tr-check/pab-fa-11829p/llama3_1-8b-instruct/v0-20241211-214014/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<IntervalStrategy.STEPS: 'steps'>, save_steps=100, save_total_limit=2, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=100, dataloader_num_workers=1, dataloader_prefetch_factor=None, past_index=-1, run_name='/home/dead/tr-check/pab-fa-11829p/llama3_1-8b-instruct/v0-20241211-214014', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), deepspeed=None, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=False, hub_always_push=False, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', evaluation_strategy=None, push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=1800, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, dispatch_batches=None, split_batches=None, include_tokens_per_second=False, include_num_input_tokens_seen=False, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, eval_use_gather_object=False, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=GenerationConfig {\n \"bos_token_id\": 128000,\n \"do_sample\": true,\n \"eos_token_id\": 128009,\n \"max_new_tokens\": 2048,\n \"pad_token_id\": 128004,\n \"temperature\": 0.6,\n \"top_p\": 0.9\n}\n, acc_strategy='token', loss_name=None, additional_saved_files=[], train_sampler_random=True, metric_warmup_step=0, train_dataset_sample=-1)"
253
+ }
special_tokens_map.json CHANGED
@@ -13,5 +13,11 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|finetune_right_pad_id|>"
 
 
 
 
 
 
17
  }
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": {
17
+ "content": "<|finetune_right_pad_id|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
  }