Skip to content

[BUG] Cannot run math_500/mmlu_pro on models without chat template #1089

@Giuseppe5

Description

@Giuseppe5

Describe the bug

When running math_500/mmlu_pro (and potentially other tasks) on a model without a chat template, I get the following error:

TypeError: can only concatenate list (not "tuple") to list

at the following line.

To Reproduce

lighteval accelerate "model_name=HuggingFaceTB/SmolLM2-135M" "mmlu_pro|0"

Expected behavior

Eval to run

Version info

lighteval==0.13
transformers==4.57.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions