transformers
[core] remove `GenerationMixin` inheritance by default in `PreTrainedModel`
#37173
Merged

[core] remove `GenerationMixin` inheritance by default in `PreTrainedModel` #37173

gante
gante rm GenerationMixin inheritance
51de9bed
gante old models: raise exception
c9e280d4
github-actions
github-actions github-actions marked this pull request as draft 1 year ago
gante remove unneeded validations
234090b7
gante gante marked this pull request as ready for review 1 year ago
gante gante changed the title [core] remove GenerationMixin inheritance by default [core] remove `GenerationMixin` inheritance by default in `PreTrainedModel` 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 Merge branch 'main' into rm_generation_mixin_inheritance_by_default
4950ccb4
gante gante removed review request from Rocketknight1 Rocketknight1 1 year ago
HuggingFaceDocBuilderDev
gante fix speecht5
5053d080
gante
gante commented on 2025-04-01
gante corrections
3c5d4701
gante nits
ade85f93
ArthurZucker
ArthurZucker approved these changes on 2025-04-08
gante Merge branch 'main' into rm_generation_mixin_inheritance_by_default
b66cc269
gante rag should inherit the mixin
27b79e51
gante gante merged 4321b064 into main 1 year ago
gante gante deleted the rm_generation_mixin_inheritance_by_default branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone