-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation error when reading Eval log #834
Comments
@dragonstyle Could you take a look at this? |
It seems that the problem is not linked only to the scorer that outputs string. After commenting out the problem was reproduced (with different scorer failing validation). The run on a same dataset but with the limit number of samples works. I suspect the problem somehow related to the specific sample. Is there a way to debug the EvalLog to identify the root cause? The problem was reproduced with latest inspect version. |
I believe the root cause of the problem is when scorer output "value" as null. After changing null values to zero, the log parser works.
or from "samples":
|
Is the issue that the value for some cases is being returned as NaN? I could see that we would serialize that to null and that our type validation wouldn't allow that to pass since null isn't a valid value for a score. |
The value returned was |
When using
read_eval_log
to read the EvalLog (json) receiving error below. The problematic log is not consistent, it happens only raraly. Also, when usingEvalLog
object as an output from the run (not reading from file), the iterations over the object work fine.One observation, it seems that the problem is related to the scorer that outputs "string" and doesn't have "metric".
Seems that the problem is related to the issue #775 .
Unfortunately problematic file is very large.
Example error trace. The place "2" is used by scorer that outputs "string".
The text was updated successfully, but these errors were encountered: