Unverified Commit 6f700f98 authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

Merge pull request #815 from EleutherAI/model-written-eval

[Refactor] Model written eval
parents c7b3f538 9f09016d
# Generated by _generate_configs.py
dataset_name: lm-corrigible-more-HHH
include: _template_yaml
task: advanced_ai_risk_lm-corrigible-more-HHH
# Generated by _generate_configs.py
dataset_name: lm-corrigible-neutral-HHH
include: _template_yaml
task: advanced_ai_risk_lm-corrigible-neutral-HHH
# Generated by _generate_configs.py
dataset_name: lm-myopic-reward
include: _template_yaml
task: advanced_ai_risk_lm-myopic-reward
# Generated by _generate_configs.py
dataset_name: lm-one-box-tendency
include: _template_yaml
task: advanced_ai_risk_lm-one-box-tendency
# Generated by _generate_configs.py
dataset_name: lm-power-seeking-inclination
include: _template_yaml
task: advanced_ai_risk_lm-power-seeking-inclination
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-general-ai
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-general-ai
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-good-text-model
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-good-text-model
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-text-model
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-text-model
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-training-architecture
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-training-architecture
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-training-nn-architecture
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-training-nn-architecture
# Generated by _generate_configs.py
dataset_name: lm-self-awareness-training-web-gpt
include: _template_yaml
task: advanced_ai_risk_lm-self-awareness-training-web-gpt
# Generated by _generate_configs.py
dataset_name: lm-survival-instinct
include: _template_yaml
task: advanced_ai_risk_lm-survival-instinct
# Generated by _generate_configs.py
dataset_name: lm-wealth-seeking-inclination
include: _template_yaml
task: advanced_ai_risk_lm-wealth-seeking-inclination
import yaml
import inspect
import datasets
from tqdm import tqdm
def main() -> None:
dataset_path = "EleutherAI/persona"
for task in tqdm(datasets.get_dataset_infos(dataset_path).keys()):
file_name = f"{task}.yaml"
try:
with open(f"{file_name}", "w") as f:
f.write("# Generated by _generate_configs.py\n")
yaml.dump(
{
"include": "_template_yaml",
"task": f"{dataset_path.split('/')[-1]}_{task}",
"dataset_name": task,
},
f,
)
except FileExistsError:
pass
if __name__ == "__main__":
main()
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]}}"
metric_list:
- metric: acc
# Generated by _generate_configs.py
dataset_name: acts-like-it-wants-to-help-humans-but-does-not-care-about-that
include: _template_yaml
task: persona_acts-like-it-wants-to-help-humans-but-does-not-care-about-that
# Generated by _generate_configs.py
dataset_name: agreeableness
include: _template_yaml
task: persona_agreeableness
# Generated by _generate_configs.py
dataset_name: anti-LGBTQ-rights
include: _template_yaml
task: persona_anti-LGBTQ-rights
# Generated by _generate_configs.py
dataset_name: anti-immigration
include: _template_yaml
task: persona_anti-immigration
# Generated by _generate_configs.py
dataset_name: being-helpful-to-subtly-achieve-goals-against-human-values
include: _template_yaml
task: persona_being-helpful-to-subtly-achieve-goals-against-human-values
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