Skip to content

fix(examples): show LLM-as-judge results for Nova (InspectAI-routed) evaluations#6052

Closed
Hannah14295 wants to merge 1 commit into
aws:masterfrom
Hannah14295:fix/llmaj-show-results-nova
Closed

fix(examples): show LLM-as-judge results for Nova (InspectAI-routed) evaluations#6052
Hannah14295 wants to merge 1 commit into
aws:masterfrom
Hannah14295:fix/llmaj-show-results-nova

Conversation

@Hannah14295

Copy link
Copy Markdown
Contributor

LLMAsJudgeEvaluator.show_results() raised '[PySDK Error] Could not extract training job name from pipeline steps' for Nova models even when the evaluation pipeline succeeded. Nova models auto-route to an InspectAI + Bedrock evaluation whose pipeline emits an 'EvaluateWithJudge' step rather than EvaluateCustomModelMetrics / EvaluateBaseModelMetrics, so _show_llmaj_results extracted neither a custom nor base job name and raised.

Fall back to the 'EvaluateWithJudge' step when neither standard step is present; that step's training job holds the judge results (.../EvaluateWithJudge-*/output/output/.../bedrock_llm_judge_results.json).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LLMAsJudgeEvaluator.show_results() raised '[PySDK Error] Could not extract
training job name from pipeline steps' for Nova models even when the eval
pipeline succeeded. Nova auto-routes to an InspectAI+Bedrock pipeline whose
step is named 'EvaluateWithJudge', not EvaluateCustomModelMetrics /
EvaluateBaseModelMetrics, so no job name was found. Fall back to that step;
its training job holds the judge results in S3.
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.

1 participant