Skip to content

[RFC][wip] make room for batch eval - #1002

Draft
jonathanlastmileai wants to merge 2 commits into
mainfrom
pr1002
Draft

[RFC][wip] make room for batch eval#1002
jonathanlastmileai wants to merge 2 commits into
mainfrom
pr1002

Conversation

@jonathanlastmileai

@jonathanlastmileai jonathanlastmileai commented Jan 23, 2024

Copy link
Copy Markdown
Contributor

[RFC][wip] make room for batch eval

This moves the existing eval library to "test_suite_eval" and starts the equivalent
for batch runs. Also makes the interface a little clearer.

Essentially, the differences are:

  • each metric runs on a list of inputs, not just one
  • each input can be paired with a reference. This is possible in the "test suite"
    setup, but it is clunkier.

Stack created with Sapling. Best reviewed with ReviewStack.

- Add decorators for metric creation and reimplement some existing ones
- Add a unit test


Test plan:

Existing and new unit tests.
@jonathanlastmileai jonathanlastmileai changed the title [wip] rename -> test_suite, batch eval [RFC] rename -> test_suite, batch eval Jan 23, 2024
This moves the existing eval library to "test_suite_eval" and starts the equivalent
for batch runs. Also makes the interface a little clearer.

Essentially, the differences are:
- each metric runs on a _list_ of inputs, not just one
- each input can be paired with a reference. This is possible in the "test suite"
setup, but it is clunkier.
@jonathanlastmileai jonathanlastmileai changed the title [RFC] rename -> test_suite, batch eval [RFC][wip] make room for batch eval Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant