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

Add compression_ratio_hallucination_threshold #2421

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Ko4ka
Copy link

@Ko4ka Ko4ka commented Nov 1, 2024

Add compression_ratio_hallucination_threshold to Discard High Compression Ratio Segments in transcribe()

#2420

Add compression_ratio_hallucination_threshold to Discard High Compression Ratio Segments in transcribe()

openai#2420
Added support for None when halucinating
Copy link

@apetresc apetresc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments

whisper/transcribe.py Outdated Show resolved Hide resolved
whisper/transcribe.py Outdated Show resolved Hide resolved
whisper/transcribe.py Outdated Show resolved Hide resolved
Fixed comments
@Ko4ka
Copy link
Author

Ko4ka commented Nov 3, 2024

@apetresc thx
I've updated the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants