transformers
Generate: validate `model_kwargs` (and catch typos in generate arguments)
#18261
Merged

Generate: validate `model_kwargs` (and catch typos in generate arguments) #18261

gante merged 8 commits into huggingface:main from gante:validate_kwargs
gante
gante validate generate model_kwargs
1142e047
gante gante marked this pull request as ready for review 3 years ago
gante gante requested a review from patrickvonplaten patrickvonplaten 3 years ago
gante gante requested a review from sgugger sgugger 3 years ago
gante better comments
0a75fe27
HuggingFaceDocBuilderDev
sgugger
sgugger commented on 2022-07-26
patrickvonplaten
patrickvonplaten approved these changes on 2022-07-27
gante Merge branch 'main' into validate_kwargs
03633e36
gante add PR suggestions
855e1f49
gante fix transfoxl generation tests (no attention mask)
07499666
gante manual merge with main
ba4ab228
gante generate tests -- not all models have an attn mask
97b6f9dc
gante fix a few more tests
92f7072c
gante
sgugger
sgugger approved these changes on 2022-08-11
gante gante merged ed1924e8 into main 3 years ago
gante gante deleted the validate_kwargs branch 3 years ago
stas00

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone