We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d564d0 commit ff1df03Copy full SHA for ff1df03
src/transformers/models/llama4/configuration_llama4.py
@@ -335,6 +335,7 @@ def __init__(
335
boi_token_index=200080,
336
eoi_token_index=200081,
337
image_token_index=200092,
338
+ tie_word_embeddings = False,
339
**kwargs,
340
):
341
if vision_config is None:
@@ -357,7 +358,7 @@ def __init__(
357
358
elif isinstance(text_config, Llama4TextConfig):
359
self.text_config = text_config
360
- super().__init__(**kwargs)
361
+ super().__init__(tie_word_embeddings=tie_word_embeddings, **kwargs)
362
363
364
__all__ = ["Llama4Config", "Llama4TextConfig", "Llama4VisionConfig"]
0 commit comments