GithubHelp home page GithubHelp logo

Comments (6)

mallorbc avatar mallorbc commented on July 22, 2024 1

Perhaps some analysis could be done on the wav audio to see if its silence or not

from whisper_mic.

SunnyOd avatar SunnyOd commented on July 22, 2024

@BakingBrains That's a known issue with a lot of AI models, called hallucination. Not much can be done about it unfortunately at this stage afaik

from whisper_mic.

BakingBrains avatar BakingBrains commented on July 22, 2024

Yep @SunnyOd , I knew, I thought there might be some method so that we can suppress the junk output. But thanks though👍

from whisper_mic.

SunnyOd avatar SunnyOd commented on July 22, 2024

Hi. Has anyone managed to suppress the junk output? I keep getting "Thank you" and a couple of other phrases pop up during inactivity/silence. I've played with energy levels and that has helped some but I think there might be more mileage with the fix below - possibly

I've found some threads where people have managed to fix it, this one looks to give the solution as including --suppress_tokens in the command when running whisper. Not sure how to add this flag to whisper_mic since the move to pip installation of whisper_mic. Is it worth looking into?

Thanks!
S

from whisper_mic.

MelvinGueneau avatar MelvinGueneau commented on July 22, 2024

from whisper_mic.

mallorbc avatar mallorbc commented on July 22, 2024

So this is due to hallucinations. There doesn't seem to be a way to fully fix it due to the way that the model was trained. It hallucinates when there is little to no audio so it makes something up.

I added a new flag that helps with this.

I'm going to leave this issue open. If anyone finds a real solution, please ping me here. However, I think with the current flags that exist with the tool that you can find a configuration that limits hallucinations.

from whisper_mic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.