Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a regular expression to describe tokens to suppress #1997

Merged
merged 3 commits into from Apr 9, 2024

Commits on Mar 26, 2024

  1. Allow a regular expression to describe tokens to suppress.

    Example: --suppress-tokens-re "[,\.]|[ ]?[0-9]+" will suppress commas, periods, and numeric tokens.
    
    Technique inspired by openai/whisper#1041
    
    Co-authored-by: Georgi Gerganov <[email protected]>
    ulatekh and ggerganov committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    4853a90 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    d2eeca8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee751d7 View commit details
    Browse the repository at this point in the history