You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_max_sequence_length() warning if user MAX_SEQUENCE_LENGTH > model MAX_SEQUENCE_LENGTH (#105)
- Modify `get_max_sequence_length()` to warn if USER-DEFINED
`MAX_SEQUENCE_LENGTH` is greater than model's config value
- Consolidated multiple return statements into a single return at the
end of the function
- Combined logging into a single `info!()` call
- Introduced variable `result_max_sequence_length` to hold the final
value
- Added concise docstring for function documentation
---------
Signed-off-by: Jefferson Fialho <[email protected]>
Co-authored-by: Joe Runde <[email protected]>
0 commit comments