ft-roberta-toxicity / training_params.json
bgonzalezbustamante's picture
Upload folder using huggingface_hub
36bd98c verified
raw
history blame contribute delete
871 Bytes
{
"data_path": "ft-roberta-toxicity/autotrain-data",
"model": "cardiffnlp/twitter-roberta-base-sentiment",
"lr": 5e-05,
"epochs": 5,
"max_seq_length": 128,
"batch_size": 8,
"warmup_ratio": 0.1,
"gradient_accumulation": 1,
"optimizer": "adamw_torch",
"scheduler": "linear",
"weight_decay": 0.0,
"max_grad_norm": 1.0,
"seed": 42,
"train_split": "train",
"valid_split": "validation",
"text_column": "autotrain_text",
"target_column": "autotrain_label",
"logging_steps": -1,
"project_name": "ft-roberta-toxicity",
"auto_find_batch_size": false,
"mixed_precision": "fp16",
"save_total_limit": 1,
"push_to_hub": true,
"eval_strategy": "epoch",
"username": "bgonzalezbustamante",
"log": "tensorboard",
"early_stopping_patience": 5,
"early_stopping_threshold": 0.01
}