Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TREC experiment and adding rubric to all prompts #1660

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ credentials.toml
# test files generated by benchmark experiments
**/tests/*.csv
**/results/*.csv
**/experiments/mlruns/
**/experiments/*.zip

# test files generated by pytest
test-output.xml
Expand Down
58 changes: 58 additions & 0 deletions examples/experimental/mipro_fewshot_optimized

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions examples/experimental/mipro_zeroshot_optimized
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"generate_score_and_reasons.predictor": {
"lm": null,
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Your task is to evaluate if every sentence in the statement (except the trivial ones like stylistic sentences) is supported or entailed by the source context.\nGenerate a score the scale of 0.0 to 1.0 with reasons for the score.",
"fields": [
{
"prefix": "Input:",
"description": "${input}"
},
{
"prefix": "Reasoning: Let's think step by step in order to",
"description": "${produce the output}. We ..."
},
{
"prefix": "Output:",
"description": "${output}"
}
]
}
}
}
Loading