-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add rag judges that use mistral-large-instruct
Signed-off-by: lilacheden <[email protected]>
- Loading branch information
1 parent
16ebe42
commit 56347a8
Showing
23 changed files
with
272 additions
and
0 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
13 changes: 13 additions & 0 deletions
13
.../catalog/metrics/rag/end_to_end/answer_correctness/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...talog/metrics/rag/end_to_end/answer_correctness/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...xt/catalog/metrics/rag/end_to_end/answer_relevance/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...catalog/metrics/rag/end_to_end/answer_relevance/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...t/catalog/metrics/rag/end_to_end/context_relevance/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.context_relevance.judge_context_relevance_ares_numeric", | ||
"task": "tasks.rag_eval.context_relevance.binary", | ||
"format": null, | ||
"main_score": "context_relevance_judge", | ||
"prediction_field": "contexts", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...atalog/metrics/rag/end_to_end/context_relevance/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.context_relevance.judge_context_relevance_ares_numeric", | ||
"task": "tasks.rag_eval.context_relevance.binary", | ||
"format": null, | ||
"main_score": "context_relevance_judge", | ||
"prediction_field": "contexts", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...unitxt/catalog/metrics/rag/end_to_end/faithfulness/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...txt/catalog/metrics/rag/end_to_end/faithfulness/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...atalog/metrics/rag/external_rag/answer_correctness/mistral_large_instruct_rits_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...log/metrics/rag/external_rag/answer_correctness/mistral_large_instruct_watsonx_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../catalog/metrics/rag/external_rag/answer_relevance/mistral_large_instruct_rits_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...talog/metrics/rag/external_rag/answer_relevance/mistral_large_instruct_watsonx_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...catalog/metrics/rag/external_rag/context_relevance/mistral_large_instruct_rits_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.context_relevance.judge_context_relevance_ares_numeric", | ||
"task": "tasks.rag_eval.context_relevance.binary", | ||
"format": null, | ||
"main_score": "context_relevance_judge", | ||
"prediction_field": "contexts", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...alog/metrics/rag/external_rag/context_relevance/mistral_large_instruct_watsonx_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.context_relevance.judge_context_relevance_ares_numeric", | ||
"task": "tasks.rag_eval.context_relevance.binary", | ||
"format": null, | ||
"main_score": "context_relevance_judge", | ||
"prediction_field": "contexts", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...itxt/catalog/metrics/rag/external_rag/faithfulness/mistral_large_instruct_rits_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
11 changes: 11 additions & 0 deletions
11
...t/catalog/metrics/rag/external_rag/faithfulness/mistral_large_instruct_watsonx_judge.json
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,11 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": {} | ||
} |
13 changes: 13 additions & 0 deletions
13
...metrics/rag/response_generation/answer_correctness/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...rics/rag/response_generation/answer_correctness/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_correctness.judge_loose_match_no_context_numeric", | ||
"task": "tasks.rag_eval.answer_correctness.binary", | ||
"format": null, | ||
"main_score": "answer_correctness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...g/metrics/rag/response_generation/answer_relevance/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...etrics/rag/response_generation/answer_relevance/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.answer_relevance.judge_answer_relevance_numeric", | ||
"task": "tasks.rag_eval.answer_relevance.binary", | ||
"format": null, | ||
"main_score": "answer_relevance_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...talog/metrics/rag/response_generation/faithfulness/mistral_large_instruct_rits_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_instruct_2407_rits", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...og/metrics/rag/response_generation/faithfulness/mistral_large_instruct_watsonx_judge.json
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,13 @@ | ||
{ | ||
"__type__": "task_based_ll_mas_judge", | ||
"inference_model": "engines.classification.mistral_large_watsonx", | ||
"template": "templates.rag_eval.faithfulness.judge_with_question_simplified_verbal", | ||
"task": "tasks.rag_eval.faithfulness.binary", | ||
"format": null, | ||
"main_score": "faithfulness_judge", | ||
"prediction_field": "answer", | ||
"infer_log_probs": false, | ||
"judge_to_generator_fields_mapping": { | ||
"ground_truths": "reference_answers" | ||
} | ||
} |