Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert committed May 22, 2024
1 parent 9423d13 commit a6176f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rewardbench/generative.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
)

# used for gemini pro llm as a judge (API implementation coming soon)
# usage is as follows:
# -> no system prompt
# -> use following text, followed by instruction then example. E.g.
# [Rating instructions]
# [Prompt]: [Instruction1]
# TODO: complete formatting
# TODO: explain response averaging
prompt_v2_gemini = (
"Please act as an impartial judge and evaluate the quality of the responses provided by two AI assistants to the user question displayed below. " # noqa
"You should choose the assistant that follows the user's instructions and answers the user's question better. " # noqa
Expand Down

0 comments on commit a6176f3

Please sign in to comment.