Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions