# Model defaults for unsloth/GLM-4.7-Flash # Based on GLM_Flash_A100(80GB).py # Also applies to: unsloth/GLM-4.7-Flash-unsloth-bnb-4bit, unsloth/GLM-4.7-Flash-bnb-4bit, THUDM/GLM-4.7-Flash training: trust_remote_code: true max_seq_length: 2048 # num_epochs: 4 num_epochs: 0 learning_rate: 2e-4 batch_size: 4 gradient_accumulation_steps: 2 warmup_steps: 5 max_steps: 60 save_steps: 60 weight_decay: 0.001 random_seed: 3407 packing: false train_on_completions: true gradient_checkpointing: "unsloth" optim: "adamw_8bit" lr_scheduler_type: "linear" lora: lora_r: 8 lora_alpha: 16 lora_dropout: 0.0 target_modules: - "q_proj" - "k_proj" - "v_proj" - "o_proj" - "gate_proj" - "up_proj" - "down_proj" - "out_proj" use_rslora: false use_loftq: false logging: enable_wandb: false wandb_project: "llm-finetuning" enable_tensorboard: false tensorboard_dir: "runs" log_frequency: 10 inference: trust_remote_code: true temperature: 0.7 top_p: 0.8 top_k: 20