-
Notifications
You must be signed in to change notification settings - Fork 190
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 #203 from SylphAI-Inc/main
[v0.2.2] G_eval and comprehensive LLM eval guideline
- Loading branch information
Showing
51 changed files
with
3,436 additions
and
1,632 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
from .answer_match_acc import AnswerMatchAcc | ||
from .retriever_recall import RetrieverRecall | ||
from .retriever_relevance import RetrieverRelevance | ||
from .llm_as_judge import LLMasJudge, DEFAULT_LLM_EVALUATOR_PROMPT | ||
from .g_eval import ( | ||
GEvalJudgeEvaluator, | ||
GEvalLLMJudge, | ||
GEvalMetric, | ||
DEFAULT_G_EVAL_RPROMPT, | ||
) | ||
|
||
__all__ = [ | ||
"AnswerMatchAcc", | ||
"RetrieverRecall", | ||
"RetrieverRelevance", | ||
"LLMasJudge", | ||
"DEFAULT_LLM_EVALUATOR_PROMPT", | ||
"GEvalJudgeEvaluator", | ||
"GEvalLLMJudge", | ||
"GEvalMetric", | ||
"DEFAULT_G_EVAL_RPROMPT", | ||
] |
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.