add grad_norm and num_tokens to TrainingProgress response object
This commit is contained in:
parent
6c017686d9
commit
7bb0aeb756
1 changed files with 2 additions and 0 deletions
|
|
@ -97,4 +97,6 @@ class TrainingProgress(BaseModel):
|
|||
epoch: Optional[int] = Field(None, description="Current epoch")
|
||||
elapsed_seconds: Optional[float] = Field(None, description="Time elapsed since training started")
|
||||
eta_seconds: Optional[float] = Field(None, description="Estimated time remaining")
|
||||
grad_norm: Optional[float] = Field(None, description="L2 norm of gradients, computed before gradient clipping")
|
||||
num_tokens: Optional[int] = Field(None, description="Total number of tokens processed so far")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue