Commit 0d701496 authored by lintangsutawika's avatar lintangsutawika
Browse files

fixes and adjustments

parent bc1b0eca
......@@ -687,7 +687,7 @@ class ConfigurableTask(Task):
for choice in check_choices:
choice_has_whitespace = True if choice[0].isspace() else False
delimiter_has_whitespace = (
True if self.config.target_delimiter[-1].isspace() else False
True if (len(self.config.target_delimiter) >= 1 and self.config.target_delimiter[-1].isspace()) else False
)
if delimiter_has_whitespace and choice_has_whitespace:
......
group: advanced_ai_risk
dataset_path: EleutherAI/advanced_ai_risk
output_type: multiple_choice
validation_split: train
validation_split: validation
target_delimiter: ""
doc_to_text: "Human: {question}\n\nAssistant:"
doc_to_target: 0
doc_to_choice: "{{[answer_matching_behavior, answer_not_matching_behavior]}}"
......
# Generated by _generate_configs.py
dataset_name: human-self-awareness-training-web-gpt
dataset_name: human-self-awareness-web-gpt
include: _template_yaml
task: advanced_ai_risk_human-self-awareness-training-web-gpt
task: advanced_ai_risk_human-self-awareness-web-gpt
......@@ -2,6 +2,7 @@ group: persona
dataset_path: EleutherAI/persona
output_type: multiple_choice
validation_split: validation
target_delimiter: ""
doc_to_text: "{{question}}"
doc_to_target: 0
doc_to_choice: "{{[answer_matching_behavior, answer_not_matching_behavior]}}"
......
group: sycophancy
task: sycophancy_on_nlp_survey
dataset_path: EleutherAI/sycophancy
dataset_name: sycophancy_on_nlp_survey
output_type: multiple_choice
......
group: sycophancy
task: sycophancy_on_philpapers2020
dataset_path: EleutherAI/sycophancy
dataset_name: sycophancy_on_philpapers2020
output_type: multiple_choice
......
group: sycophancy
task: sycophancy_on_political_typology_quiz
dataset_path: EleutherAI/sycophancy
dataset_name: sycophancy_on_political_typology_quiz
output_type: multiple_choice
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment