Skip to content

Support for sequence labelling tasks #889

@penguinwang96825

Description

@penguinwang96825

Hi

First of all, thanks for the great work on evalscope, it’s been really useful for evaluating QA and MCQ tasks!

I wanted to ask if there are any chances to support sequence labelling tasks (e.g., NER, POS tagging). This would be particularly valuable for evaluating models on token-level or span-level outputs, beyond just QA/MCQ.

I’m thinking maybe we could add support for sequence labelling via in-text annotated outputs. The approach is to represent labels inline using XML-like tags, for example:

Input: Yang lives in Manchester  
Output: <response> <person> Yang </person> lives in <location> Manchester </location> </response>

The framework then extracts the corresponding BIO or tagging labels from model outputs and evaluates them with standard metrics (e.g., seqeval F1).

Thanks again for maintaining this great library!

Warm regards,
Yang

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions