diff --git a/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/config.yaml b/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/config.yaml new file mode 100644 index 00000000..bf4539b4 --- /dev/null +++ b/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/config.yaml @@ -0,0 +1,18 @@ +Self-taught-llama3.1-70B-dpo: + prompt_template: "Self-taught-llama3.1-70B-dpo/self_taught.txt" + fn_completions: "vllm_local_completions" + completions_kwargs: + model_name: "Self-taught-llama3.1-70B-dpo" + max_new_tokens: 512 + temperature: 0 + model_kwargs: + dtype: "half" + tensor_parallel_size: 8 + enable_chunked_prefill: False + max_model_len: 5120 + distributed_executor_backend: "ray" + fn_completion_parser: "regex_parser" + completion_parser_kwargs: + outputs_to_match: + 1: "[[A]]" + 2: "[[B]]" diff --git a/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/self_taught.txt b/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/self_taught.txt new file mode 100644 index 00000000..136a192b --- /dev/null +++ b/src/alpaca_eval/evaluators_configs/Self-taught-llama3.1-70B-dpo/self_taught.txt @@ -0,0 +1,16 @@ +<|start_header_id|>system<|end_header_id|> + +Please act as an impartial judge and evaluate the quality of the responses provided by two AI assistants to the user question displayed below. You should choose the assistant that follows the user's instructions and answers the user's question better. Your evaluation should consider factors such as the helpfulness, relevance, accuracy, depth, creativity, and level of detail of their responses. Begin your evaluation by comparing the two responses and provide a short explanation. Avoid any position biases and ensure that the order in which the responses were presented does not influence your decision. Do not allow the length of the responses to influence your evaluation. Do not favor certain names of the assistants. Be as objective as possible. After providing your explanation, output your final verdict by strictly following this format: \"[[A]]\" if assistant A is better, \"[[B]]\" if assistant B is better. <|eot_id|><|start_header_id|>user<|end_header_id|><|eot_id|><|start_header_id|>user<|end_header_id|> + +[User Question] +{instruction} + +[The Start of Assistant A's Answer] +{output_1} +[The End of Assistant A's Answer] + +[The Start of Assistant B's Answer] +{output_2} +[The End of Assistant B's Answer]<|eot_id|><|start_header_id|>assistant<|end_header_id|> + + diff --git a/src/alpaca_eval/leaderboards/evaluators/evaluators_leaderboard.csv b/src/alpaca_eval/leaderboards/evaluators/evaluators_leaderboard.csv index 859818ed..279e658b 100644 --- a/src/alpaca_eval/leaderboards/evaluators/evaluators_leaderboard.csv +++ b/src/alpaca_eval/leaderboards/evaluators/evaluators_leaderboard.csv @@ -7,6 +7,7 @@ alpaca_eval_cot_gpt4_turbo_fn,68.63874533448178,6.311349574632637,1988.601262671 weighted_alpaca_eval_cot_gpt4_turbo,68.45771313115921,6.447465224111284,1869.2926495435856,0.9333333333333332,0.7743167748273401,,,0.6853932584269663,0.6576576576576577,0.5283575514995362,647,verified aviary_gpt4,68.3641975308642,12.781481481481482,1821.0640311000004,0.9205101496312952,0.9053426857899228,,,0.701123595505618,0.6486486486486487,0.5555555555555556,648,verified alpaca_eval_gpt4_turbo_fn,68.09413580246913,5.533981481481482,864.3023563021605,0.9333333333333332,0.817290435500228,30.246913580246915,15.625,0.651685393258427,0.6036036036036037,0.5381944444444444,2592,minimal +Self-taught-llama3.1-70B-dpo,68.03937590094094,,206.82500262105583,0.7999999999999999,0.7516559995326958,30.34055727554179,13.015337123801086,0.6567505720823799,0.6146788990825688,0.5172549019607844,2550,minimal gpt4_turbo_cot_logprob,67.86974910317902,5.397145061728395,1568.9484159171295,0.6333333333333333,0.6310442120964042,,,0.5932584269662922,0.5855855855855856,0.5285319490509259,648,verified gpt4_turbo_cot_clf,67.59689922480621,5.3972248062015495,1528.4046718706977,0.6666666666666667,0.6326057742256878,,,0.5936794582392777,0.5855855855855856,0.5255813953488373,645,verified claude_ranking,67.5925925925926,4.954578395061729,218.4230414438272,0.9,0.90848221004591,,,0.7303370786516854,0.6576576576576577,0.4552469135802468,648,verified