Skip to content

Commit

Permalink
Fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
2015aroras committed Oct 7, 2024
1 parent 09235de commit efe5826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olmo/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def scheduler_max(self) -> int:
raise NotImplementedError(self.cfg.scheduler.units)

def trainer_state_dict(self) -> Dict[str, Any]:
state_dict = {
state_dict: Dict[str, Any] = {
"epoch": self.epoch or 0,
"global_step": self.global_step,
"global_train_examples_seen_this_epoch": self.global_train_examples_seen_this_epoch,
Expand Down

0 comments on commit efe5826

Please sign in to comment.