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 async scoring methods #109

Merged
merged 6 commits into from
Jan 8, 2024
Merged

Add async scoring methods #109

merged 6 commits into from
Jan 8, 2024

Conversation

cheungrowan
Copy link
Contributor

@cheungrowan cheungrowan commented Jan 5, 2024

Add TestSuite.arun and Scorer.arun methods to support async scoring. Other changes refactor existing code that can be shared between the synchronous run and asychronous run methods.

@cheungrowan cheungrowan requested a review from edinpeter January 5, 2024 16:32
break
else:
ref_outputs.append(case.reference_output)
# TODO: make separate object?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With only one caller, I don't think its a big deal. Definitely an interesting return type hint though!

edinpeter
edinpeter previously approved these changes Jan 5, 2024
@cheungrowan cheungrowan merged commit f1e4277 into main Jan 8, 2024
9 checks passed
@cheungrowan cheungrowan deleted the rcheung/LLM-887 branch January 8, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants