mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
fix callback
Former-commit-id: 477ef5ffd84c78ab1a8bce27714bb4f6e6ca0210
This commit is contained in:
parent
6a0499ef40
commit
f8831cb1ea
@ -17,6 +17,7 @@ class LogCallback(TrainerCallback):
|
||||
|
||||
def __init__(self, runner=None):
|
||||
self.runner = runner
|
||||
self.start_time = time.time()
|
||||
self.tracker = {}
|
||||
|
||||
def on_train_begin(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user