Created
July 11, 2024 02:59
-
-
Save zredlined/d50925562f830e9ba046b9c177a70197 to your computer and use it in GitHub Desktop.
Evaluation prompt provided to Judge model to choose winning generation (AI Feedback)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prompt = f""" | |
Compare the quality of the following two instruction-response pairs: | |
Version 1 ({version1_name}): | |
Instruction: {version1['instruction']} | |
Context: {version1['context']} | |
Response: {version1['response']} | |
Version 2 ({version2_name}): | |
Instruction: {version2['instruction']} | |
Context: {version2['context']} | |
Response: {version2['response']} | |
Which version is better in terms of overall quality, coherence, and relevance? Provide a 1-2 sentence, concise explanation of your judgment, highlighting specific strengths and weaknesses of each version. | |
Your response must be in a valid JSON string with no additional comments, backticks, or spacing: | |
{{"better_version": "Winning Version Name here- either '{version1_name}' or '{version2_name}'", "explanation": "Your concise explanation here"}} | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment