Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.