-
Notifications
You must be signed in to change notification settings - Fork 34.1k
🚨 Validate config attributes #41250
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
zucchini-nlp
merged 114 commits into
huggingface:main
from
zucchini-nlp:config-validation
Mar 16, 2026
Merged
🚨 Validate config attributes #41250
Changes from 16 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
2ecd9f5
initial commit
zucchini-nlp 5758b7c
just push for now
zucchini-nlp e9f940b
maybe not do it for all models, lets see how many models fail now
zucchini-nlp 684e799
update
zucchini-nlp 43eb47c
lets see what esle fails now
zucchini-nlp 868cac6
nit
zucchini-nlp b7db732
merge main
zucchini-nlp 17739ff
style
zucchini-nlp 19a2ba1
delete rope validation
zucchini-nlp 6095a39
bart
zucchini-nlp 26892c1
rebase
zucchini-nlp bfe2998
make style
zucchini-nlp d039be1
provate rope valid for now, hub complains
zucchini-nlp a82d894
more updates
zucchini-nlp b7b0492
i love backwards compatibility! Let's check if this will work with re…
zucchini-nlp b9aec45
pin hf hub 1.4.0
zucchini-nlp 7edc1a2
merge main
zucchini-nlp 40d2128
want to check tests
zucchini-nlp e241202
why do we even keep `use_return_dict` from 6 hyear ago?
zucchini-nlp 7b24e38
special eos token can be a list in many cases, fix type hints
zucchini-nlp b79200f
batch
zucchini-nlp b4e93e3
batch
zucchini-nlp f011bd4
batch
zucchini-nlp d3a35b6
another small batch
zucchini-nlp c6b41da
more
zucchini-nlp 4106bb7
more models
zucchini-nlp d9a9a77
batch
zucchini-nlp 5dcfc55
batch
zucchini-nlp 2a3459a
annoying typings
zucchini-nlp 902ef4e
batch
zucchini-nlp c75c5f6
batch
zucchini-nlp 40125dc
batch
zucchini-nlp 818bb18
last batch
zucchini-nlp 192e06c
fix repo
zucchini-nlp ed2fff5
rebase
zucchini-nlp 54b8bca
fix some
zucchini-nlp ef11216
many many fixes
zucchini-nlp 9e26fb2
fix more
zucchini-nlp c2d9414
commit a small batch of fixes
zucchini-nlp 2d2c8ec
more fixes
zucchini-nlp 41d3f46
merge man
zucchini-nlp 417a4b5
fix repo and the new model
zucchini-nlp 3f83236
clean up config files from unused imports
zucchini-nlp 5e5ce6a
revert ths one
zucchini-nlp 4c88d54
more new models in main branch
zucchini-nlp b8f055a
let dropouts be float AND int, who know what we have in the hub!
zucchini-nlp ce29eee
fix a few more non-modeling tests
zucchini-nlp 523ad39
roep validation is now part of hub strict
zucchini-nlp 6a850bf
oops
zucchini-nlp 9dcfb22
rope and text config
zucchini-nlp 0d8deb9
Merge remote-tracking branch 'upstream/main' into config-validation
zucchini-nlp 8fac6b3
when does this end?
zucchini-nlp 61db1ab
comment out for now
zucchini-nlp 684cbbc
oke, now donw i think
zucchini-nlp a0a2deb
dropout can be int in saved ckpt, fix again
zucchini-nlp e76a9e1
fox repo again
zucchini-nlp bb806c5
processor tests
zucchini-nlp 7ab67fd
nit
zucchini-nlp 982fe62
remove `| None` in typing when not needed!
zucchini-nlp 661a2b2
merge main
zucchini-nlp eb64d48
fix style
zucchini-nlp 24b4d51
new models
zucchini-nlp 967ff62
subconfig is a cls attr
zucchini-nlp af6ae64
merge main
zucchini-nlp 9b00a04
fix some tests
zucchini-nlp bdb0e5f
cosmetic stuff
zucchini-nlp 8ff0243
.
zucchini-nlp 96cf2ff
fix repo
zucchini-nlp d11d795
the test
zucchini-nlp 3aba70c
please be fixed!
zucchini-nlp 3387dbf
this time is the real final fix. before merging docs
zucchini-nlp b44b0f4
merge main
zucchini-nlp b155dea
fix style
zucchini-nlp 731f6c8
fix repo
zucchini-nlp 42c045a
why auto-doc can't resolve inheritance and just copy???
zucchini-nlp 4f0d5cd
fix some tests
zucchini-nlp 15b4ac3
fix the auto-docstring
zucchini-nlp bee92b3
Merge remote-tracking branch 'upstream/main' into config-validation
zucchini-nlp f8711ea
oh pls!
zucchini-nlp 3db960d
Merge branch 'main' into config-validation
zucchini-nlp 4a5baad
lastc fix
zucchini-nlp 124ddc4
repr is false by default
zucchini-nlp 42c1da0
check docstring attr
zucchini-nlp 10ac0b3
fix slow CI
zucchini-nlp 6454e17
fix repo
zucchini-nlp 6922028
merge main
zucchini-nlp 6404f5e
fix style and copies after rebase
zucchini-nlp f4c6d43
pin 1.5.0
zucchini-nlp 6888cb3
init subclass doesn't help with dataclass decorator, revert
zucchini-nlp a7bc9cd
style
zucchini-nlp 07095f3
regex replace doesn't always just work, fix!
zucchini-nlp 5106e5b
Fix incorrect default values in config dataclass migration (PR #41250)
ArthurZucker 82fedab
Fix 3 more config default regressions (round 2)
ArthurZucker 86577fb
Fix check-repo: regenerate higgs_audio_v2_tokenizer from modular
ArthurZucker 0ea4586
higgs nit?
ArthurZucker eaa6f2e
Merge branch 'config-validation' of github.com:zucchini-nlp/transform…
ArthurZucker 7690991
Merge remote-tracking branch 'origin/main' into config-validation
ArthurZucker 78f77a6
fix higgs
zucchini-nlp 145a659
style
zucchini-nlp ef12271
rebase
zucchini-nlp dca4158
new models
zucchini-nlp 1c7961c
xcodec is same as higgs, fix
zucchini-nlp 78e7672
forogt
zucchini-nlp 9a2b361
love it when modular complains about newline
zucchini-nlp 801bf4a
fix new models' typing hints
zucchini-nlp 6f96d54
oops, that is a property
zucchini-nlp cf39486
Merge remote-tracking branch 'upstream/main' into config-validation
zucchini-nlp b101899
and one more new model just merged
zucchini-nlp b027d8f
actually, non-dataclass child is really not the way so
zucchini-nlp 81cd131
dont' replace all matches!
zucchini-nlp 125624a
Apply repo consistency fixes
github-actions[bot] 43187f4
Revert "Apply repo consistency fixes"
zucchini-nlp d31003d
fix repo, would be great to fix this in `style`
zucchini-nlp d561953
why I cant fix all failures from repo at once
zucchini-nlp 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
Some comments aren't visible on the classic Files Changed page.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
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.