lighteval icon indicating copy to clipboard operation
lighteval copied to clipboard

[FT] showing count in Markdown summary table

Open jamesbraza opened this issue 1 year ago • 3 comments

Issue encountered

I am seeing this output from lighteval endpoint litellm with lighteval==0.10.0:

|          Task          |Version|    Metric     |Value|   |Stderr|
|------------------------|------:|---------------|----:|---|-----:|
|all                     |       |ether0_accuracy|    0|±  |     0|
|community:ether0:loose:0|      0|ether0_accuracy|    0|±  |     0|

At a glance, it's unclear if I have misconfigured LightevalTaskConfig.hf_filter, or if accuracy truly was 0%.

(Note: in actuality, there were 10 questions, all incorrect.)

Solution/Feature

Showing a count of questions run, to clarify the size of the evaluation.

Possible alternatives

None

jamesbraza avatar Jun 09 '25 17:06 jamesbraza

I opened a fix in #1187 that adds a Count column to the markdown summary table using per-task sample counts from the tracker output.

Bortlesboat avatar Mar 13 '26 04:03 Bortlesboat

If the Count column is added, it’s worth deriving it from the same filtered sample set used for the final metric, not just the dataset size. Otherwise hf_filter / skipped samples can still make

passionworkeer avatar Mar 13 '26 05:03 passionworkeer

Good point. That’s the behavior I was aiming for here: in #1187 the Count comes from the tracker’s per-task details, not the raw dataset size. If there’s still a path where hf_filter/skips can make that inaccurate, I’m happy to tighten it and add a targeted test.

Bortlesboat avatar Mar 13 '26 05:03 Bortlesboat