phi-3-colab-sft-merged / training_params.json
acayir64's picture
Upload folder using huggingface_hub
d41220d verified
{
"model": "microsoft/Phi-3-mini-4k-instruct",
"project_name": "phi-3-colab-sft-merged",
"data_path": "timdettmers/openassistant-guanaco",
"train_split": "train",
"valid_split": null,
"add_eos_token": false,
"block_size": -1,
"model_max_length": 1024,
"padding": null,
"trainer": "sft",
"use_flash_attention_2": false,
"log": "none",
"disable_gradient_checkpointing": false,
"logging_steps": -1,
"evaluation_strategy": "epoch",
"save_total_limit": 1,
"auto_find_batch_size": false,
"mixed_precision": "bf16",
"lr": 0.0002,
"epochs": 1,
"batch_size": 4,
"warmup_ratio": 0.1,
"gradient_accumulation": 1,
"optimizer": "adamw_torch",
"scheduler": "linear",
"weight_decay": 0.0,
"max_grad_norm": 1.0,
"seed": 42,
"chat_template": null,
"quantization": "int4",
"target_modules": "all-linear",
"merge_adapter": true,
"peft": true,
"lora_r": 16,
"lora_alpha": 32,
"lora_dropout": 0.05,
"model_ref": null,
"dpo_beta": 0.1,
"max_prompt_length": 128,
"max_completion_length": null,
"prompt_text_column": "prompt",
"text_column": "text",
"rejected_text_column": "rejected",
"push_to_hub": true,
"username": "acayir64"
}