transformers
[`fix`] Always early return for non-Mistral models in _patch_mistral_regex
#45444
Merged

[`fix`] Always early return for non-Mistral models in _patch_mistral_regex #45444

tomaarsen
tomaarsen Always early return for non-Mistral models in _patch_mistral_regex
19674aeb
HuggingFaceDocBuilderDev
vasqu
zucchini-nlp
tomaarsen
vasqu
vasqu commented on 2026-04-15
tomaarsen Revert to old approach, but use 5.0.0 as 5.0.0rc0 introduced the fix
63cb6d97
tomaarsen
tomaarsen Exclusively check for mistral BEFORE v5
1799d1cf
vasqu
vasqu approved these changes on 2026-04-15
tomaarsen Also link to this PR in test reference
7ba03b6d
github-actions
tomaarsen tomaarsen merged 4d6e51b3 into main 134 days ago
tomaarsen tomaarsen deleted the fix/spurious_mistral_regex branch 134 days ago
ArthurZucker

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone