PEFT
Safetensors
French
eltorio's picture
Training in progress, epoch 1
67901f2 verified
raw
history blame
10.9 kB
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Current SDK version is 0.18.3
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Configure stats pid to 651
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Loading settings from /root/.config/wandb/settings
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Loading settings from /kaggle/working/wandb/settings
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Loading settings from environment variables: {'api_key': '***REDACTED***'}
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Inferring run settings from compute environment: {'program': '<python with no main file>'}
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Applying login settings: {}
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_setup.py:_flush():79] Applying login settings: {}
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:_log_setup():532] Logging user logs to /kaggle/working/wandb/run-20241205_145312-gk7cicq7/logs/debug.log
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:_log_setup():533] Logging internal logs to /kaggle/working/wandb/run-20241205_145312-gk7cicq7/logs/debug-internal.log
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:_jupyter_setup():478] configuring jupyter hooks <wandb.sdk.wandb_init._WandbInit object at 0x7f4f2ef9ebf0>
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:init():617] calling init triggers
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:init():624] wandb.init called with sweep_config: {}
config: {}
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:init():667] starting backend
2024-12-05 14:53:12,086 INFO MainThread:651 [wandb_init.py:init():671] sending inform_init request
2024-12-05 14:53:12,088 INFO MainThread:651 [backend.py:_multiprocessing_setup():104] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
2024-12-05 14:53:12,088 INFO MainThread:651 [wandb_init.py:init():684] backend started and connected
2024-12-05 14:53:12,100 INFO MainThread:651 [wandb_run.py:_label_probe_notebook():1346] probe notebook
2024-12-05 14:53:12,501 INFO MainThread:651 [wandb_init.py:init():779] updated telemetry
2024-12-05 14:53:12,505 INFO MainThread:651 [wandb_init.py:init():812] communicating run to backend with 90.0 second timeout
2024-12-05 14:53:14,275 INFO MainThread:651 [wandb_init.py:init():863] starting run threads in backend
2024-12-05 14:53:14,929 INFO MainThread:651 [wandb_run.py:_console_start():2465] atexit reg
2024-12-05 14:53:14,929 INFO MainThread:651 [wandb_run.py:_redirect():2313] redirect: wrap_raw
2024-12-05 14:53:14,929 INFO MainThread:651 [wandb_run.py:_redirect():2378] Wrapping output streams.
2024-12-05 14:53:14,929 INFO MainThread:651 [wandb_run.py:_redirect():2403] Redirects installed.
2024-12-05 14:53:14,934 INFO MainThread:651 [wandb_init.py:init():907] run started, returning control to user process
2024-12-05 14:53:14,938 INFO MainThread:651 [wandb_run.py:_config_callback():1394] config_cb None None {'peft_config': {'default': {'peft_type': <PeftType.LORA: 'LORA'>, 'auto_mapping': None, 'base_model_name_or_path': 'unsloth/llama-3.2-3b-instruct-bnb-4bit', 'revision': None, 'task_type': <TaskType.CAUSAL_LM: 'CAUSAL_LM'>, 'inference_mode': False, 'r': 16, 'target_modules': {'q_proj', 'k_proj', 'up_proj', 'down_proj', 'o_proj', 'gate_proj', 'v_proj'}, 'lora_alpha': 16, 'lora_dropout': 0, 'fan_in_fan_out': False, 'bias': 'none', 'use_rslora': False, 'modules_to_save': None, 'init_lora_weights': True, 'layers_to_transform': None, 'layers_pattern': None, 'rank_pattern': {}, 'alpha_pattern': {}, 'megatron_config': None, 'megatron_core': 'megatron.core', 'loftq_config': {}, 'use_dora': False, 'layer_replication': None, 'runtime_config': {'ephemeral_gpu_offload': False}}}, 'vocab_size': 128256, 'max_position_embeddings': 131072, 'hidden_size': 3072, 'intermediate_size': 8192, 'num_hidden_layers': 28, 'num_attention_heads': 24, 'num_key_value_heads': 8, 'hidden_act': 'silu', 'initializer_range': 0.02, 'rms_norm_eps': 1e-05, 'pretraining_tp': 1, 'use_cache': True, 'rope_theta': 500000.0, 'rope_scaling': {'factor': 32.0, 'high_freq_factor': 4.0, 'low_freq_factor': 1.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}, 'attention_bias': False, 'attention_dropout': 0.0, 'mlp_bias': False, 'head_dim': 128, 'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'float16', 'use_bfloat16': False, 'tf_legacy_loss': False, 'pruned_heads': {}, 'tie_word_embeddings': True, 'chunk_size_feed_forward': 0, 'is_encoder_decoder': False, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'typical_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'exponential_decay_length_penalty': None, 'suppress_tokens': None, 'begin_suppress_tokens': None, 'architectures': ['LlamaForCausalLM'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': 128000, 'pad_token_id': 128004, 'eos_token_id': [128001, 128008, 128009], 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'unsloth/llama-3.2-3b-instruct-bnb-4bit', '_attn_implementation_autoset': True, 'transformers_version': '4.47.0.dev0', 'model_type': 'llama', 'quantization_config': {'bnb_4bit_compute_dtype': 'float16', 'bnb_4bit_quant_type': 'nf4', 'bnb_4bit_use_double_quant': True, 'llm_int8_enable_fp32_cpu_offload': False, 'llm_int8_has_fp16_weight': False, 'llm_int8_skip_modules': None, 'llm_int8_threshold': 6.0, 'load_in_4bit': True, 'load_in_8bit': False, 'quant_method': 'bitsandbytes'}, 'unsloth_version': '2024.12.2', 'output_dir': '/kaggle/working', 'overwrite_output_dir': False, 'do_train': False, 'do_eval': True, 'do_predict': False, 'eval_strategy': 'epoch', 'prediction_loss_only': False, 'per_device_train_batch_size': 2, 'per_device_eval_batch_size': 8, 'per_gpu_train_batch_size': None, 'per_gpu_eval_batch_size': None, 'gradient_accumulation_steps': 4, 'eval_accumulation_steps': None, 'eval_delay': 0, 'torch_empty_cache_steps': None, 'learning_rate': 0.0002, 'weight_decay': 0.01, 'adam_beta1': 0.9, 'adam_beta2': 0.999, 'adam_epsilon': 1e-08, 'max_grad_norm': 1.0, 'num_train_epochs': 5, 'max_steps': -1, 'lr_scheduler_type': 'linear', 'lr_scheduler_kwargs': {}, 'warmup_ratio': 0.0, 'warmup_steps': 5, 'log_level': 'passive', 'log_level_replica': 'warning', 'log_on_each_node': True, 'logging_dir': '/kaggle/working/runs/Dec05_14-52-53_004ac713e0a4', 'logging_strategy': 'epoch', 'logging_first_step': False, 'logging_steps': 1, 'logging_nan_inf_filter': True, 'save_strategy': 'epoch', 'save_steps': 500, 'save_total_limit': None, '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': 3407, 'data_seed': None, 'jit_mode_eval': False, 'use_ipex': False, 'bf16': False, 'fp16': True, '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': None, 'dataloader_num_workers': 0, 'dataloader_prefetch_factor': None, 'past_index': -1, 'run_name': '/kaggle/working', 'disable_tqdm': False, 'remove_unused_columns': True, 'label_names': None, 'load_best_model_at_end': False, 'metric_for_best_model': None, 'greater_is_better': None, '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': {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}, 'deepspeed': None, 'label_smoothing_factor': 0.0, 'optim': 'adamw_8bit', 'optim_args': None, 'adafactor': False, 'group_by_length': False, 'length_column_name': 'length', 'report_to': ['wandb'], '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': True, 'resume_from_checkpoint': None, 'hub_model_id': 'Llama-3.2-3B-appreciation', 'hub_strategy': 'every_save', 'hub_token': '<HUB_TOKEN>', 'hub_private_repo': None, 'hub_always_push': False, 'gradient_checkpointing': False, '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': '<PUSH_TO_HUB_TOKEN>', '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, 'average_tokens_across_devices': False, 'dataset_text_field': 'text', 'packing': False, 'max_seq_length': 2048, 'dataset_num_proc': 2, 'dataset_batch_size': 1000, 'model_init_kwargs': None, 'dataset_kwargs': {}, 'eval_packing': None, 'num_of_sequences': 1024, 'chars_per_token': '<CHARS_PER_TOKEN>', 'use_liger': False}
2024-12-05 14:53:14,947 INFO MainThread:651 [wandb_config.py:__setitem__():154] config set model/num_parameters = 3237063680 - <bound method Run._config_callback of <wandb.sdk.wandb_run.Run object at 0x7f4f2e6597e0>>
2024-12-05 14:53:14,947 INFO MainThread:651 [wandb_run.py:_config_callback():1394] config_cb model/num_parameters 3237063680 None