czbenchmarks.cli.utils

Attributes

log

Functions

get_version(→ str)

Get the current version of the cz-benchmarks library

get_datasets(→ List[czbenchmarks.datasets.Dataset])

Loads a list of datasets by name.

load_embedding(...)

Loads a model embedding from a file.

write_results(results, output_file)

Aggregates metrics and writes results to stdout or a file in JSON format.

mutually_exclusive(*options)

Module Contents

czbenchmarks.cli.utils.log[source]
czbenchmarks.cli.utils.get_version() str[source]

Get the current version of the cz-benchmarks library

czbenchmarks.cli.utils.get_datasets(dataset_names: List[str]) List[czbenchmarks.datasets.Dataset][source]

Loads a list of datasets by name.

czbenchmarks.cli.utils.load_embedding(path: str) czbenchmarks.tasks.types.CellRepresentation[source]

Loads a model embedding from a file.

czbenchmarks.cli.utils.write_results(results: List[Any], output_file: str | None)[source]

Aggregates metrics and writes results to stdout or a file in JSON format.

czbenchmarks.cli.utils.mutually_exclusive(*options)[source]