Skip to content

Conversation

ddh0
Copy link
Contributor

@ddh0 ddh0 commented Oct 16, 2024

This PR changes the type hint of the logit_bias parameter from Optional[Dict[str, float]] to Optional[Dict[int, float]]. (It was already being cast to int, the logic does not change, only the type hint was wrong which was confusing)

ddh0 added 2 commits October 16, 2024 17:17
`Optional[Dict[str, float]]` --> `Optional[Dict[int, float]]`
@abetlen abetlen merged commit fa04cdc into abetlen:main Dec 6, 2024
14 checks passed
@ddh0 ddh0 deleted the fix-type-hint branch December 6, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants