base_model: NousResearch/Llama-2-7b-hf model_type: LlamaForCausalLM tokenizer_type: LlamaTokenizer load_in_8bit: false load_in_4bit: true datasets: - path: teknium/GPT4-LLM-Cleaned type: alpaca dataset_prepared_path: val_set_size: 0.05 output_dir: ./outputs/relora-out adapter: qlora lora_model_dir: sequence_len: 4096 sample_packing: true lora_r: 8 lora_alpha: 16 lora_dropout: 0.05 lora_target_linear: true relora: true relora_prune_ratio: 0.9 relora_cpu_offload: false jagged_restart_steps: 150 jagged_restart_warmup_steps: 10 jagged_restart_anneal_steps: false wandb_project: wandb_entity: wandb_watch: wandb_name: wandb_log_model: gradient_accumulation_steps: 4 micro_batch_size: 4 num_epochs: 4 optimizer: adamw_bnb_8bit lr_scheduler: cosine learning_rate: 0.0002 bf16: auto tf32: false gradient_checkpointing: true resume_from_checkpoint: logging_steps: 1 flash_attention: true warmup_ratio: 0.1 evals_per_epoch: 4 saves_per_epoch: 1 weight_decay: 0.0 special_tokens: bos_token: "" eos_token: "" unk_token: "" # save_first_step: true # uncomment this to validate checkpoint saving works with your config