transformers
027d1a97 - 🚨 [ALM] Add base model without head (#45534)

Commit
49 days ago
🚨 [ALM] Add base model without head (#45534) * add a base model class * ensure BC via conversion mapping * auto classes * test updates * ensure BC for accessing attributes * simplify conversion mapping * convert modular * convert modular * apply to voxtral * convert modular * remove test_model_base_model_prefix overwrite * make * make * XXXModel class in doc * add GraniteSpeechPlusModel * tests now have a base_model_class * fix qwen2audio * class level base mappings * fix test_reverse_loading_mapping * fix * fix * nit * fix * deprec in 5.7 -> 5.15 * fix flaky test * fix flaky test * fix flaky test * remove forward_base_model_attrs * _supports_attention_backend in PretrainedModel * removed redundant get/set_input_embeddings * remove requires_grad_ handling * make fix-repo * fix voxtral realtime * update vibevoice_asr test * update test * Update src/transformers/models/audioflamingo3/modular_audioflamingo3.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update src/transformers/models/audioflamingo3/modular_audioflamingo3.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update src/transformers/models/glmasr/modeling_glmasr.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * make fix-repo --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Author
Parents
Loading