folktexts.cli package

Submodules

folktexts.cli.download_models module

folktexts.cli.download_models.is_bf16_compatible()[source]

Checks if the current environment is bfloat16 compatible.

Return type:

bool

folktexts.cli.download_models.main()[source]
folktexts.cli.download_models.setup_arg_parser()[source]
Return type:

ArgumentParser

folktexts.cli.eval_feature_importance module

folktexts.cli.eval_feature_importance.compute_feature_importance(llm_clf, dataset, scorer, results_dir, fit_threshold=None, seed=42)[source]
Return type:

dict

folktexts.cli.eval_feature_importance.main()[source]
folktexts.cli.eval_feature_importance.parse_feature_importance(results, columns)[source]

Parse the results dictionary of sklearn’s permutation_importance.

Return type:

dict

folktexts.cli.eval_feature_importance.setup_arg_parser()[source]
Return type:

ArgumentParser

folktexts.cli.experiments module

folktexts.cli.launch_experiments_htcondor module

folktexts.cli.rerun_experiment module

folktexts.cli.run_acs_benchmark module

Runs the LLM calibration benchmark from the command line.

folktexts.cli.run_acs_benchmark.main()[source]

Prepare and launch the LLM-as-classifier experiment using ACS data.

folktexts.cli.run_acs_benchmark.setup_arg_parser()[source]
Return type:

ArgumentParser

Module contents