ai-modelscope
first commit
9ca0ef7
{
"model_type": "llama3-8b-instruct",
"model_id_or_path": "LLM-Research/Meta-Llama-3-8B-Instruct",
"model_revision": "master",
"sft_type": "full",
"freeze_parameters": 0.0,
"additional_trainable_parameters": [],
"tuner_backend": "peft",
"template_type": "llama3",
"output_dir": "/mnt/workspace/hujinghan.hjh/agent/agent-flan/llama3-8b-instruct/v16-20240527-211034",
"add_output_dir_suffix": true,
"ddp_backend": "nccl",
"ddp_find_unused_parameters": null,
"ddp_broadcast_buffers": null,
"seed": 42,
"resume_from_checkpoint": null,
"ignore_data_skip": false,
"dtype": "bf16",
"packing": false,
"dataset": [
"./agent_instruct_dataset.jsonl",
"./mind2web_dataset.jsonl",
"./new_webshop_dataset.jsonl",
"./new_alfworld_dataset.jsonl",
"./new_db_dataset.jsonl",
"./new_kg_dataset.jsonl",
"./os_dataset.jsonl",
"./toolbench_instruct_dataset.jsonl",
"./toolbench_negative_dataset.jsonl",
"./toolbench_react_dataset.jsonl",
"./ls_toolbench_tflan_dataset.json"
],
"val_dataset": [],
"dataset_seed": 42,
"dataset_test_ratio": 0.01,
"use_loss_scale": true,
"loss_scale_config_path": "/mnt/workspace/hujinghan.hjh/swift/swift/llm/agent/agentflan.json",
"system": null,
"max_length": 4096,
"truncation_strategy": "delete",
"check_dataset_strategy": "none",
"model_name": [
null,
null
],
"model_author": [
null,
null
],
"quant_method": null,
"quantization_bit": 0,
"hqq_axis": 0,
"hqq_dynamic_config_path": null,
"bnb_4bit_comp_dtype": "bf16",
"bnb_4bit_quant_type": "nf4",
"bnb_4bit_use_double_quant": true,
"bnb_4bit_quant_storage": null,
"lora_target_modules": [
"q_proj",
"o_proj",
"down_proj",
"v_proj",
"up_proj",
"k_proj",
"gate_proj"
],
"lora_rank": 8,
"lora_alpha": 32,
"lora_dropout_p": 0.05,
"lora_bias_trainable": "none",
"lora_modules_to_save": [],
"lora_dtype": null,
"lora_lr_ratio": null,
"use_rslora": false,
"use_dora": false,
"init_lora_weights": true,
"boft_block_size": 4,
"boft_block_num": 0,
"boft_n_butterfly_factor": 1,
"boft_target_modules": [
"DEFAULT"
],
"boft_dropout": 0.0,
"boft_modules_to_save": [],
"vera_rank": 256,
"vera_target_modules": [
"DEFAULT"
],
"vera_projection_prng_key": 0,
"vera_dropout": 0.0,
"vera_d_initial": 0.1,
"vera_modules_to_save": [],
"adapter_act": "gelu",
"adapter_length": 128,
"use_galore": false,
"galore_rank": 128,
"galore_target_modules": null,
"galore_update_proj_gap": 50,
"galore_scale": 1.0,
"galore_proj_type": "std",
"galore_optim_per_parameter": false,
"galore_with_embedding": false,
"adalora_target_r": 8,
"adalora_init_r": 12,
"adalora_tinit": 0,
"adalora_tfinal": 0,
"adalora_deltaT": 1,
"adalora_beta1": 0.85,
"adalora_beta2": 0.85,
"adalora_orth_reg_weight": 0.5,
"ia3_target_modules": [
"DEFAULT"
],
"ia3_feedforward_modules": [],
"ia3_modules_to_save": [],
"llamapro_num_new_blocks": 4,
"llamapro_num_groups": null,
"neftune_noise_alpha": null,
"neftune_backend": "transformers",
"lisa_activated_layers": 0,
"lisa_step_interval": 20,
"gradient_checkpointing": true,
"deepspeed": {
"fp16": {
"enabled": "auto",
"loss_scale": 0,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis": 2,
"min_loss_scale": 1
},
"bf16": {
"enabled": "auto"
},
"optimizer": {
"type": "AdamW",
"params": {
"lr": "auto",
"betas": "auto",
"eps": "auto",
"weight_decay": "auto"
}
},
"scheduler": {
"type": "WarmupDecayLR",
"params": {
"total_num_steps": "auto",
"warmup_min_lr": "auto",
"warmup_max_lr": "auto",
"warmup_num_steps": "auto"
}
},
"zero_optimization": {
"stage": 3,
"offload_optimizer": {
"device": "none",
"pin_memory": true
},
"offload_param": {
"device": "none",
"pin_memory": true
},
"overlap_comm": true,
"contiguous_gradients": true,
"sub_group_size": 1000000000.0,
"reduce_bucket_size": "auto",
"stage3_prefetch_bucket_size": "auto",
"stage3_param_persistence_threshold": "auto",
"stage3_max_live_parameters": 1000000000.0,
"stage3_max_reuse_distance": 1000000000.0,
"stage3_gather_16bit_weights_on_model_save": true
},
"gradient_accumulation_steps": "auto",
"gradient_clipping": "auto",
"steps_per_print": 2000,
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"wall_clock_breakdown": false
},
"batch_size": 1,
"eval_batch_size": 1,
"num_train_epochs": 2,
"max_steps": -1,
"optim": "adamw_torch",
"adam_beta1": 0.9,
"adam_beta2": 0.999,
"learning_rate": 2e-05,
"weight_decay": 0.1,
"gradient_accumulation_steps": 8,
"max_grad_norm": 0.5,
"predict_with_generate": false,
"lr_scheduler_type": "linear",
"warmup_ratio": 0.05,
"eval_steps": 50,
"save_steps": 50,
"save_only_model": false,
"save_total_limit": 2,
"logging_steps": 5,
"dataloader_num_workers": 1,
"dataloader_pin_memory": true,
"dataloader_drop_last": false,
"push_to_hub": false,
"hub_model_id": null,
"hub_token": null,
"hub_private_repo": false,
"push_hub_strategy": "push_best",
"test_oom_error": false,
"disable_tqdm": true,
"lazy_tokenize": false,
"preprocess_num_proc": 4,
"use_flash_attn": null,
"ignore_args_error": false,
"check_model_is_latest": true,
"logging_dir": "/mnt/workspace/hujinghan.hjh/agent/agent-flan/llama3-8b-instruct/v16-20240527-211034/runs",
"report_to": [
"tensorboard"
],
"acc_strategy": "token",
"save_on_each_node": true,
"evaluation_strategy": "steps",
"save_strategy": "steps",
"save_safetensors": true,
"gpu_memory_fraction": null,
"include_num_input_tokens_seen": false,
"local_repo_path": null,
"custom_register_path": null,
"custom_dataset_info": null,
"device_map_config_path": null,
"max_new_tokens": 2048,
"do_sample": true,
"temperature": 0.3,
"top_k": 20,
"top_p": 0.7,
"repetition_penalty": 1.0,
"num_beams": 1,
"fsdp": "",
"fsdp_config": null,
"sequence_parallel_size": 1,
"model_layer_cls_name": null,
"metric_warmup_step": 0,
"fsdp_num": 1,
"per_device_train_batch_size": null,
"per_device_eval_batch_size": null,
"self_cognition_sample": 0,
"train_dataset_mix_ratio": 0.0,
"train_dataset_mix_ds": [
"ms-bench"
],
"train_dataset_sample": -1,
"val_dataset_sample": null,
"safe_serialization": null,
"only_save_model": null,
"neftune_alpha": null,
"deepspeed_config_path": null,
"model_cache_dir": null,
"custom_train_dataset_path": [],
"custom_val_dataset_path": [],
"use_self_cognition": false,
"lora_use_embedding": false,
"lora_use_all": true,
"lora_m2s_use_embedding": false,
"lora_m2s_use_ln": false,
"torch_dtype": "torch.bfloat16",
"fp16": false,
"bf16": true,
"bnb_4bit_compute_dtype": "torch.bfloat16",
"load_in_4bit": false,
"load_in_8bit": false,
"train_sampler_random": true,
"training_args": "Seq2SeqTrainingArguments(output_dir='/mnt/workspace/hujinghan.hjh/agent/agent-flan/llama3-8b-instruct/v16-20240527-211034', 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=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=8, eval_accumulation_steps=None, eval_delay=0, learning_rate=2e-05, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=0.5, num_train_epochs=2, max_steps=-1, lr_scheduler_type=<SchedulerType.LINEAR: 'linear'>, lr_scheduler_kwargs={}, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/mnt/workspace/hujinghan.hjh/agent/agent-flan/llama3-8b-instruct/v16-20240527-211034/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=50, save_total_limit=2, save_safetensors=True, save_on_each_node=True, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=None, 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='nccl', tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=50, dataloader_num_workers=1, dataloader_prefetch_factor=None, past_index=-1, run_name='/mnt/workspace/hujinghan.hjh/agent/agent-flan/llama3-8b-instruct/v16-20240527-211034', disable_tqdm=True, 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=None, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'optimizer': {'type': 'AdamW', 'params': {'lr': 'auto', 'betas': 'auto', 'eps': 'auto', 'weight_decay': 'auto'}}, 'scheduler': {'type': 'WarmupDecayLR', 'params': {'total_num_steps': 'auto', 'warmup_min_lr': 'auto', 'warmup_max_lr': 'auto', 'warmup_num_steps': 'auto'}}, 'zero_optimization': {'stage': 3, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'offload_param': {'device': 'none', 'pin_memory': True}, 'overlap_comm': True, 'contiguous_gradients': True, 'sub_group_size': 1000000000.0, 'reduce_bucket_size': 'auto', 'stage3_prefetch_bucket_size': 'auto', 'stage3_param_persistence_threshold': 'auto', 'stage3_max_live_parameters': 1000000000.0, 'stage3_max_reuse_distance': 1000000000.0, 'stage3_gather_16bit_weights_on_model_save': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, 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=False, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=False, 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, eval_do_concat_batches=True, fp16_backend='auto', evaluation_strategy='steps', 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, sortish_sampler=True, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=GenerationConfig {\n \"do_sample\": true,\n \"eos_token_id\": 128001,\n \"max_new_tokens\": 2048,\n \"pad_token_id\": 128001,\n \"temperature\": 0.3,\n \"top_k\": 20,\n \"top_p\": 0.7\n}\n, train_sampler_random=True, push_hub_strategy='push_best', acc_strategy='token', additional_saved_files=[], metric_warmup_step=0, train_dataset_sample=21651)"
}