-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from TianyiQ/main
feat: add support for API-based benchmarking
- Loading branch information
Showing
28 changed files
with
249 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from benchmark.framework import JudgeBase, ExamineeBase | ||
from benchmark.dummies import DummyJudge | ||
from challenges.follow import FollowJudge | ||
from challenges.predict import PredictJudge | ||
from challenges.coevolve import CoevolveJudge | ||
|
||
from algorithms.lifelong_dpo import LifelongDPOExaminee | ||
from algorithms.lifelong_rlhf import LifelongRLHFExaminee | ||
from algorithms.extrapolative_dpo import ExtrapolativeDPOExaminee | ||
from algorithms.extrapolative_rlhf import ExtrapolativeRLHFExaminee | ||
from benchmark.dummies import DummyExaminee | ||
|
||
from run_benchmark import run_benchmark | ||
|
||
from src.abstractions.model import Model, fill_in_QA_template | ||
from src.abstractions.data import Data, DataFileCollection | ||
|
||
__all__ = [ | ||
"run_benchmark", | ||
"Model", | ||
"Data", | ||
"DataFileCollection", | ||
"JudgeBase", | ||
"ExamineeBase", | ||
"DummyJudge", | ||
"FollowJudge", | ||
"PredictJudge", | ||
"CoevolveJudge", | ||
"DummyExaminee", | ||
"LifelongDPOExaminee", | ||
"LifelongRLHFExaminee", | ||
"ExtrapolativeDPOExaminee", | ||
"ExtrapolativeRLHFExaminee", | ||
"fill_in_QA_template", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.