gigasaiga_lora / training_config.json
IlyaGusev's picture
Training config
bcfff7c
raw
history blame contribute delete
936 Bytes
{
"trainer": {
"evaluation_strategy": "steps",
"per_device_train_batch_size": 1,
"per_device_eval_batch_size": 1,
"gradient_accumulation_steps": 128,
"eval_steps": 50,
"save_steps": 50,
"logging_steps": 5,
"learning_rate": 0.0003,
"num_train_epochs": 5,
"lr_scheduler_type": "cosine",
"warmup_steps": 30,
"fp16": false,
"bf16": true,
"torch_compile": false,
"optim": "adamw_torch"
},
"lora": {
"r": 16,
"lora_alpha": 16,
"lora_dropout": 0.05,
"bias": "none",
"target_modules": ["c_attn"],
"task_type": "CAUSAL_LM"
},
"load_in_8bit": true,
"only_target_loss": true,
"mode": "chat",
"templates_path": "internal_prompts/gigasaiga.json",
"model_name": "models/ruGPT-3.5-13B",
"model_type": "causal",
"max_tokens_count": 2000
}