noether.core.schemas.models.upt¶
Classes¶
Configuration for a UPT model. |
Module Contents¶
- class noether.core.schemas.models.upt.UPTConfig(/, **data)¶
Bases:
noether.core.schemas.models.base.ModelBaseConfig,noether.core.schemas.mixins.InjectSharedFieldFromParentMixinConfiguration for a UPT model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)
- model_config¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Hidden dimension of the model.
- supernode_pooling_config: Annotated[noether.core.schemas.modules.SupernodePoolingConfig, noether.core.schemas.mixins.Shared]¶
- approximator_config: Annotated[noether.core.schemas.modules.blocks.TransformerBlockConfig, noether.core.schemas.mixins.Shared]¶
- decoder_config: Annotated[noether.core.schemas.modules.DeepPerceiverDecoderConfig, noether.core.schemas.mixins.Shared]¶
- data_specs: noether.core.schemas.dataset.AeroDataSpecs¶
- linear_output_projection_config()¶
- rope_frequency_config()¶
- validate_rope_usage()¶
Ensure that if use_rope is True in the main config, it is also True in the approximator_config.
- Return type:
- update_supernode_pooling_config()¶
Inject shared fields into supernode_pooling_config.
- Return type:
- pos_embedding_config()¶