primeqa.ir.dense.colbert_top.colbert.infra.config.RunConfig#

class primeqa.ir.dense.colbert_top.colbert.infra.config.RunConfig(overwrite: bool = DefaultVal(val=False), root: str = DefaultVal(val='/home/runner/work/primeqa/primeqa/docs/experiments'), experiment: str = DefaultVal(val='default'), index_root: str = DefaultVal(val=None), name: str = DefaultVal(val='2024-08/29/18.14.15'), rank: int = DefaultVal(val=0), nranks: int = DefaultVal(val=1), amp: bool = DefaultVal(val=True), gpus: int = DefaultVal(val=0))#

Bases: primeqa.ir.dense.colbert_top.colbert.infra.config.base_config.BaseConfig, primeqa.ir.dense.colbert_top.colbert.infra.config.settings.RunSettings

Methods

assign_defaults

configure

export

from_deprecated_args

from_existing

from_path

help

load_from_checkpoint

load_from_index

save

save_for_checkpoint

set

Attributes

amp

device_

experiment

gpus

gpus_

index_root

index_root_

name

nranks

overwrite

path_

rank

root

script_name_

total_visible_gpus