Generic helpers


alias of ConfigurationBase

class xpmir.experiments.helpers.NeuralIRExperiment(*, id: str = '???', file: str = 'experiment', parent: str | None = None, title: str = '', subtitle: str = '', paper: str = '', description: str = '', gpu: bool = True, seed: int = 0)[source]

Bases: ConfigurationBase

Settings most neural IR experiments

gpu: bool

Use GPU for computation

seed: int

The seed used for experiments

class xpmir.experiments.helpers.LauncherSpecification(*, requirements: str)[source]

Bases: object

Launcher specification

This allows requesting computational resources such as 2 GPUs with more than 12Go of memory)