Skip to content

A bug related to regular expression in extracting equations in GSM8K in DIVERSE project  #38

@lyconghk

Description

@lyconghk

In DIVERSE project, utils.py GSM8KExample class, there is a bug of regular expression in the function init_equations().
the pattern "<<.+>>[0-9.]+" is not correct to find multiple equations among <<>> in a sample solution.
image

Test case:
image

Ethan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions