fix: add checks to ensure evaluate model args are valid - #1795
Conversation
d37f1da to
5adf63d
Compare
|
@leseb I noticed you introduced a function |
Yes, that's the proper way to validate the model is GGUF so please use it. |
leseb
left a comment
There was a problem hiding this comment.
See: #1795 (comment)
Also, can you add a test case for this? Thanks!
|
The root of the issue is that MMLU and MMLU-Branch only work for .safetensors models right now. What we actually want to check is that the model is Seb and JD worked on adding a check for this here: https://github.com/instructlab/instructlab/blob/main/src/instructlab/model/backends/backends.py#L115 |
dfd4562 to
45ff504
Compare
|
@nathan-weinberg @alimaredia @alinaryan @danmcp |
…anch Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
45ff504 to
8e416ab
Compare
For MTBench and MTBenchBranch, yes we are spinning up a vLLM server but there is also llama-cpp support so GGUF files can be used, though for most users using vLLM and safetensors makes the most sense here |
|
@leseb @alinaryan @booxter I've done a bit of a refactor here - know you all already approved but wanted to give you a ping in case you had any comments on the new code |
8e416ab to
e60ef6b
Compare
booxter
left a comment
There was a problem hiding this comment.
It's fine; some ideas on how to improve if you'd like to.
e60ef6b to
642289b
Compare
…ch and mt_bench_branch Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
642289b to
26704cd
Compare
Changes were address and Dan is on PTO, can followup need be
While testing Eval, I noticed we are passing a GGUF file by default to the
evaluatecommand but Evaluation won't fully support GGUF until instructlab/eval#50 is completeI filed #1792 to track this on the CLI side, but adding this minor check as well in the meantime
Checklist:
conventional commits.