group: - math_word_problems task: minerva_math_algebra dataset_path: EleutherAI/hendrycks_math process_docs: !function utils.process_docs dataset_name: algebra output_type: generate_until training_split: train test_split: test doc_to_text: !function utils.doc_to_text process_results: !function utils.process_results doc_to_target: "{{answer if few_shot is undefined else solution}}" generation_kwargs: until: - "Problem:" do_sample: false temperature: 0 metric_list: - metric: exact_match aggregation: mean higher_is_better: true num_fewshot: 4 metadata: version: 1.0 dataset_kwargs: trust_remote_code: true fewshot_config: sampler: first_n samples: !function utils.list_fewshot_samples