noether.core.schemas.models.transolver¶
Classes¶
Configuration for a Transolver model. |
|
Configuration for a Transolver++ model. |
Module Contents¶
- class noether.core.schemas.models.transolver.TransolverConfig(/, **data)¶
Bases:
noether.core.schemas.models.transformer.TransformerConfig,noether.core.schemas.models.base.ModelBaseConfigConfiguration for a Transolver 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].
- attention_constructor: Literal['transolver', 'transolver_plusplus'] = 'transolver'¶
Constructor of the attention module. Defaults to ‘dot_product’.
- class noether.core.schemas.models.transolver.TransolverPlusPlusConfig(/, **data)¶
Bases:
TransolverConfigConfiguration for a Transolver++ 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)
- attention_constructor: Literal['transolver_plusplus'] = 'transolver_plusplus'¶
Constructor of the attention module. Defaults to ‘dot_product’.