[v1] add callbacks (#10255)

This commit is contained in:
jiaqiw09
2026-03-26 19:59:57 +08:00
committed by GitHub
parent 1e536733c6
commit c340aa2a33
5 changed files with 293 additions and 2 deletions

View File

@@ -85,6 +85,10 @@ class TrainingArguments:
default=42,
metadata={"help": "Random seed that will be set at the beginning of training."},
)
logging_steps: int = field(
default=1,
metadata={"help": "Log metrics every N optimizer steps."},
)
def __post_init__(self) -> None:
self.dist_config = get_plugin_config(self.dist_config)