File size: 1,310 Bytes
bde2aaf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
{
"model": "openai-community/gpt2",
"project_name": "autotrain-test",
"data_path": "autotrain-test/autotrain-data",
"train_split": "train",
"valid_split": null,
"add_eos_token": true,
"block_size": 1024,
"model_max_length": 2048,
"padding": "right",
"trainer": "sft",
"use_flash_attention_2": false,
"log": "tensorboard",
"disable_gradient_checkpointing": false,
"logging_steps": -1,
"evaluation_strategy": "epoch",
"save_total_limit": 1,
"auto_find_batch_size": false,
"mixed_precision": "fp16",
"lr": 1e-05,
"epochs": 3,
"batch_size": 2,
"warmup_ratio": 0.1,
"gradient_accumulation": 4,
"optimizer": "adamw_torch",
"scheduler": "linear",
"weight_decay": 0.0,
"max_grad_norm": 1.0,
"seed": 42,
"chat_template": "none",
"quantization": "int4",
"target_modules": "all-linear",
"merge_adapter": false,
"peft": false,
"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": "autotrain_prompt",
"text_column": "autotrain_text",
"rejected_text_column": "autotrain_rejected_text",
"push_to_hub": true,
"username": "Yoxas"
} |