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 pass in multiple template text files for LLM-as-judge eval #99

Merged
merged 15 commits into from
Sep 11, 2024

Conversation

rchan26
Copy link
Collaborator

@rchan26 rchan26 commented Sep 10, 2024

Fix for #98.

With this PR, you can pass in a number of .txt files for a new --templates argument separated with commas, e.g.

prompto_run_experiment ... --templates temp1.txt,temp2.txt

or

prompto_create_judge_file ... --templates 'temp1.txt, temp2.txt'

Tests have been updated for this.

To do:

@rchan26 rchan26 marked this pull request as draft September 10, 2024 16:07
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rchan26 rchan26 marked this pull request as ready for review September 11, 2024 17:21
@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.86%. Comparing base (48d0440) to head (c3c9ee2).
Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   63.62%   63.86%   +0.23%     
==========================================
  Files          40       40              
  Lines        2128     2142      +14     
==========================================
+ Hits         1354     1368      +14     
  Misses        774      774              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rchan26 rchan26 merged commit 7d4b251 into main Sep 11, 2024
6 checks passed
@rchan26 rchan26 deleted the eval-docs branch September 11, 2024 17:38
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.

Support multiple prompt templates for LLM-as-judge evaluation Improve evaluation functionalities
2 participants