mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +06:00
Add Llama4TextModel
to AutoModel
mapping (#38162)
Add Llama4TextModel to AutoModel mapping using Llama4TextConfig on AutoModel.from_config raises a ValueError when it is expected to instantiate a Llama4TextModel
This commit is contained in:
parent
f022bf9322
commit
183fb3637c
@ -177,6 +177,7 @@ MODEL_MAPPING_NAMES = OrderedDict(
|
||||
("lilt", "LiltModel"),
|
||||
("llama", "LlamaModel"),
|
||||
("llama4", "Llama4ForConditionalGeneration"),
|
||||
("llama4_text", "Llama4TextModel"),
|
||||
("llava", "LlavaModel"),
|
||||
("llava_next", "LlavaNextModel"),
|
||||
("llava_next_video", "LlavaNextVideoModel"),
|
||||
|
Loading…
Reference in New Issue
Block a user