folktexts
- folktexts package
- Subpackages
- Submodules
- folktexts.benchmark module
BenchmarkBenchmarkConfigBenchmarkConfig.numeric_risk_promptingBenchmarkConfig.few_shotBenchmarkConfig.reuse_few_shot_examplesBenchmarkConfig.balance_few_shot_examplesBenchmarkConfig.batch_sizeBenchmarkConfig.context_sizeBenchmarkConfig.correct_order_biasBenchmarkConfig.feature_subsetBenchmarkConfig.population_filterBenchmarkConfig.seedBenchmarkConfig.balance_few_shot_examplesBenchmarkConfig.batch_sizeBenchmarkConfig.context_sizeBenchmarkConfig.correct_order_biasBenchmarkConfig.default_config()BenchmarkConfig.feature_subsetBenchmarkConfig.few_shotBenchmarkConfig.load_from_disk()BenchmarkConfig.numeric_risk_promptingBenchmarkConfig.population_filterBenchmarkConfig.reuse_few_shot_examplesBenchmarkConfig.save_to_disk()BenchmarkConfig.seedBenchmarkConfig.update()
- folktexts.col_to_text module
- folktexts.dataset module
DatasetDataset.dataDataset.filter()Dataset.get_data_split()Dataset.get_features_data()Dataset.get_sensitive_attribute_data()Dataset.get_target_data()Dataset.get_test()Dataset.get_train()Dataset.get_val()Dataset.nameDataset.sample_n_train_examples()Dataset.seedDataset.subsample()Dataset.subsamplingDataset.taskDataset.test_sizeDataset.train_sizeDataset.val_size
- folktexts.evaluation module
- folktexts.llm_utils module
- folktexts.plotting module
- folktexts.prompting module
- folktexts.qa_interface module
ChoiceDirectNumericQAMultipleChoiceQAMultipleChoiceQA.answer_keysMultipleChoiceQA.choice_to_keyMultipleChoiceQA.choicesMultipleChoiceQA.create_answer_keys_permutations()MultipleChoiceQA.create_question_from_value_map()MultipleChoiceQA.get_answer_from_model_output()MultipleChoiceQA.get_answer_from_text()MultipleChoiceQA.get_answer_key_from_value()MultipleChoiceQA.get_question_prompt()MultipleChoiceQA.get_value_to_text_map()MultipleChoiceQA.key_to_choiceMultipleChoiceQA.num_forward_passes
QAInterface
- folktexts.task module
TaskMetadataTaskMetadata.check_task_columns_are_available()TaskMetadata.cols_to_textTaskMetadata.create_task_with_feature_subset()TaskMetadata.descriptionTaskMetadata.direct_numeric_qaTaskMetadata.featuresTaskMetadata.get_row_description()TaskMetadata.get_target()TaskMetadata.get_task()TaskMetadata.multiple_choice_qaTaskMetadata.nameTaskMetadata.questionTaskMetadata.sensitive_attributeTaskMetadata.sensitive_attribute_value_map()TaskMetadata.set_question()TaskMetadata.targetTaskMetadata.target_thresholdTaskMetadata.use_numeric_qa
- folktexts.threshold module
- Module contents