Skip to content

Add type hints for forward functions in Gemma2#35034

Merged
Rocketknight1 merged 2 commits intohuggingface:mainfrom
jla524:feature/add_gemma2_type_hints
Dec 2, 2024
Merged

Add type hints for forward functions in Gemma2#35034
Rocketknight1 merged 2 commits intohuggingface:mainfrom
jla524:feature/add_gemma2_type_hints

Conversation

@jla524
Copy link
Copy Markdown
Contributor

@jla524 jla524 commented Dec 1, 2024

What does this PR do?

Add type hints to functions added in #34282

Who can review?

@ArthurZucker

Copy link
Copy Markdown
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thank you for the PR!

@Rocketknight1 Rocketknight1 merged commit f41d5d8 into huggingface:main Dec 2, 2024
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@jla524 jla524 deleted the feature/add_gemma2_type_hints branch December 2, 2024 22:24
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
* feat: add gemma2 type hints

* fix: mask is optional
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.

3 participants