"test/git@developer.sourcefind.cn:change/sglang.git" did not exist on "539856455d8950b0249248aecdc844a78168a003"
Commit e6aeb0d3 authored by Lysandre's avatar Lysandre
Browse files

Style

parent 95a26fcf
......@@ -494,9 +494,7 @@ class Trainer:
):
logs: Dict[str, float] = {}
logs["loss"] = (tr_loss - logging_loss) / self.args.logging_steps
logs["learning_rate"] = (
scheduler.get_last_lr()[0]
)
logs["learning_rate"] = scheduler.get_last_lr()[0]
logging_loss = tr_loss
self._log(logs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment