Skip to content

[Whisper] Conflict of logic in accuracy_eval.py #2258

@wu6u3tw

Description

@wu6u3tw

Conflict of logic in accuracy_eval.py
2 steps are performed in the script (in order) for the text output of whisper.

  1. Filter: only certain characters are accepted from the text output
    e.g. only ‘a-z’, ‘ ’, ‘.’ is accepted

  2. Normalize: convert certain phrases into another form
    e.g. “one hundred dollar” -> “100$”.

Issues: Normalize will violate the filtering logic, in the example above
“100$” should be filtered out, but added because normalization comes 2nd

Fix

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