gt4sd.frameworks.gflownet.train.core module¶
Train module implementation.
Summary¶
Functions:
Train a gflownet given a configuration, a dataset and a task. |
|
Train a gflownet module parsing arguments from config and standard input. |
Reference¶
- train_gflownet(configuration, dataset, environment, context, task)[source]¶
Train a gflownet given a configuration, a dataset and a task. The default enviroment and context are compatible with small molecules.
- Parameters
configuration (
Dict
[str
,Any
]) – a configuration dictionary.dataset (
GFlowNetDataset
) – a dataset compatible with lightning.environment (
GraphBuildingEnv
) – an environment specifying the state space.context (
GraphBuildingEnvContext
) – an environment context specifying how to combine states.task (
GFlowNetTask
) – a task specifying the reward structure.
- Return type
None