-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Add support for __all__ and potentilly deleting functions #33859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
740d523
Add support for __all__ and potentailly deleting functions
ArthurZucker 56d6056
updates
ArthurZucker 240b127
update
ArthurZucker 1d629b9
nits
ArthurZucker 3d1fc14
remove dummies
ArthurZucker 29fff49
fix warning
ArthurZucker 5441aad
fixup
ArthurZucker ddcb736
style
ArthurZucker b774628
update
ArthurZucker 0eee3b5
fixup
ArthurZucker 47ea51c
skip copied from when # skip
ArthurZucker dbf3bd7
remove log
ArthurZucker ba207d0
bring dummies back
ArthurZucker 584a9be
fixup
ArthurZucker 69cc01c
remove copied from
ArthurZucker c2961ff
fixup
ArthurZucker 5f95f93
remove warnings from `make fix-copies`
ArthurZucker f80c2e7
fix doc issues
ArthurZucker 584296f
nits
ArthurZucker 7e9269a
Better error message !
ArthurZucker 73be261
add support for more flexible naming!
ArthurZucker 84055a3
style
ArthurZucker 93c1c7e
breaking style?
ArthurZucker de9ad8f
fix super() renaming issues
ArthurZucker c53fc87
del not needed when you don't call super().__init__()
ArthurZucker d970d11
style
ArthurZucker 6e9a325
no more fmt on :)
ArthurZucker 528b4f3
properly remove `self`
ArthurZucker 885d577
Merge branch 'main' of github.com:huggingface/transformers into add-a…
ArthurZucker f108d98
fixup
ArthurZucker 3c69624
fix
ArthurZucker 426f315
doc nits
ArthurZucker db7b32e
add some doc 🫡
ArthurZucker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -143,3 +143,6 @@ def __init__( | |
| tie_word_embeddings=tie_word_embeddings, | ||
| **kwargs, | ||
| ) | ||
|
|
||
|
|
||
| __all__ = ["GemmaConfig"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.