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

Add option to ignore casing in Includes eval template #655

Merged
merged 3 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Add tests for ignore_case option for Includes eval template
  • Loading branch information
trizko committed Apr 12, 2023
commit 862c736a524b54d3c5bf1bdeb40306df287991da
1 change: 1 addition & 0 deletions evals/registry/eval_sets/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ test:
- test-match
- test-fuzzy-match
- test-includes
- test-includes-ignore-case
- coqa-match
- coqa-fact
- coqa-fact-expl
Expand Down
1 change: 1 addition & 0 deletions evals/registry/eval_sets/test-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ test-basic:
- test-match
- test-fuzzy-match
- test-includes
- test-includes-ignore-case
10 changes: 10 additions & 0 deletions evals/registry/evals/test-basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ test-includes.s1.simple-v0:
class: evals.elsuite.basic.includes:Includes
args:
samples_jsonl: test_fuzzy_match/samples.jsonl

test-includes-ignore-case:
id: test-includes-ignore-case.s1.simple-v0
description: Example eval that uses fuzzy matching to score completions.
metrics: [accuracy]
test-includes-ignore-case.s1.simple-v0:
class: evals.elsuite.basic.includes:Includes
args:
samples_jsonl: test_fuzzy_match/samples.jsonl
ignore_case: true