bridge.models.exaone.exaone45.exaone45_builder#
Model builder for EXAONE 4.5 vision-language models.
Module Contents#
Classes#
Combine the EXAONE Post-LN language decoder with the EXAONE 4.5 vision encoder. |
Data#
API#
- class bridge.models.exaone.exaone45.exaone45_builder.Exaone45ModelBuilder#
Bases:
megatron.bridge.models.gpt.gpt_builder.GPTModelBuilderCombine the EXAONE Post-LN language decoder with the EXAONE 4.5 vision encoder.
- build_model(
- pg_collection: megatron.core.process_groups_config.ProcessGroupCollection,
- pre_process: bool | None = None,
- post_process: bool | None = None,
- vp_stage: int | None = None,
Build one EXAONE 4.5 pipeline stage.
- Parameters:
pg_collection – Process groups used for distributed construction.
pre_process – Whether this stage owns the embeddings and the vision encoder.
post_process – Whether this stage owns the language-model output layer.
vp_stage – Optional virtual pipeline stage index.
- Returns:
An EXAONE 4.5 model stage.
- Raises:
TypeError – If the builder was given another model config.
ValueError – If
vision_configis unset.
- bridge.models.exaone.exaone45.exaone45_builder.__all__#
[‘Exaone45ModelBuilder’]