transformers
[Generation, Gemma 3] When passing a custom `generation_config`, overwrite default values with the model's base `generation_config`
#36684
Merged

[Generation, Gemma 3] When passing a custom `generation_config`, overwrite default values with the model's base `generation_config` #36684

gante
gante use base gen config
7221e231
github-actions
github-actions github-actions marked this pull request as draft 1 year ago
gante gante marked this pull request as ready for review 1 year ago
github-actions github-actions requested a review from ArthurZucker ArthurZucker 1 year ago
github-actions github-actions requested a review from Rocketknight1 Rocketknight1 1 year ago
gante trigger tests
3bf123fb
HuggingFaceDocBuilderDev
gante fix whisper: custom processors have priority
3befb4a5
gante
gante commented on 2025-03-12
gante gante removed review request from ArthurZucker ArthurZucker 1 year ago
gante gante requested a review from zucchini-nlp zucchini-nlp 1 year ago
gante Merge branch 'main' into inherit_values_from_base_generation_config
8e004b7c
gante Merge branch 'main' into inherit_values_from_base_generation_config
900b273a
gante Merge branch 'main' into inherit_values_from_base_generation_config
5ac5869b
gante add missing pytest.mark.generate decorator
e105a63a
gante make fixup
1866a473
gante correct mark after paremeterization
c075e666
gante
gante commented on 2025-03-13
gante gante changed the title [Generation] When passing a custom `generation_config`, overwrite default values with the model's base `generation_config` [Generation, Gemma 3] When passing a custom `generation_config`, overwrite default values with the model's base `generation_config` 1 year ago
gante we can only safely overwrite None defaults
e7a2fa3d
gante apply kwargs afterwards
d56f073d
gante add gemma 3 test
90342273
gante nit
e6b67ef9
zucchini-nlp
zucchini-nlp commented on 2025-03-13
gante
zucchini-nlp
zucchini-nlp
zucchini-nlp approved these changes on 2025-03-14
gante throw warning on overwrite; add 'dynamic' cache_implementation
0b67b128
gante Merge branch 'main' into inherit_values_from_base_generation_config
b66b0dcb
gante better msg
a636af09
gante
gante gante merged fc8764c9 into main 1 year ago
ArthurZucker
ArthurZucker commented on 2025-03-17
gante gante deleted the inherit_values_from_base_generation_config branch 1 year ago
gante gante added for patch

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone