Unify llm judges into a single prepare file#1696
Conversation
Hi @martinscooper ,
How does that sound to you? |
Then, if a user needs a more specific source from where the context field should be taken from, they could specify it manually for their use case.
|
| data = { | ||
| "test": [ | ||
| { | ||
| "question": "How is the weather?", |
There was a problem hiding this comment.
Why was this examples changed? Is this intentional?
There was a problem hiding this comment.
No, I will remove it
Signed-off-by: Martín Santillán Cooper <msantillancooper@ibm.com>
67103ef to
9d77d49
Compare
|
@yoavkatz @elronbandel I applied the fix. |
This PR moves judges in
prepare/metrics/llm_as_judge/direct/llama_3_3_70b_instruct_adherence_completeness.pytoprepare/metrics/llm_as_judge/llm_as_judge.pyso that:llm_as_judge_contants.py@lilacheden the default context fields of the adherence metric's
instructionsfield seems a bit too specific.Do you think we could simplify it?
@elronbandel I tried setting those context fields values using the square bracket notation but it says it is marlformed. Could you remind me if dictionaries are supported there?