autointent.configs.InferenceNodeConfig#

class autointent.configs.InferenceNodeConfig#

Configuration for the inference node.

node_type: autointent.custom_types.NodeType#

Type of the node.

module_name: str#

Name of module which is specified as autointent.modules.base.BaseModule.name.

module_config: dict[str, Any]#

Hyperparameters of underlying module.

load_path: str#

Path to the module dump.

embedder_config: autointent.configs._transformers.EmbedderConfig | None = None#

One can override presaved embedder config while loading from file system.

cross_encoder_config: autointent.configs._transformers.CrossEncoderConfig | None = None#

One can override presaved cross encoder config while loading from file system.

asdict()#

Convert config to dict format.

Return type:

dict[str, Any]