Giter Site home page Giter Site logo

Comments (7)

MahmoudAshraf97 avatar MahmoudAshraf97 commented on May 14, 2024

Not all languages are supported right now, I'm actively working on supporting more languages

from whisper-diarization.

alloc7260 avatar alloc7260 commented on May 14, 2024

I am also willing to contribute for the same.
Just wanted little guidance.

from whisper-diarization.

alloc7260 avatar alloc7260 commented on May 14, 2024

Can you tell me how many languages are supported right now?

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on May 14, 2024

Right now word timestamps are generated using WhisperX, languages that are not supported in whisperx can be generated using Whisper Dynamic Time Warping, you can find tutorals for that on the original whisper repo, and supported languages are in the code

from whisper-diarization.

alloc7260 avatar alloc7260 commented on May 14, 2024

mn = "skylord/wav2vec2-large-xlsr-hindi" #@param
alignment_model, metadata = whisperx.load_align_model(
language_code=whisper_results["language"], device=device, model_name=mn
)

I have changes this line
it is used to take language specific model from hugging face

there are many language model available for many languages there

take model name from there that suits your language and put it in mn variable

and continue running...

WER will vary according to model you choose

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on May 14, 2024

You can modify this in whisperX repo, we import supported languages from there

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on May 14, 2024

@alloc7260 Hello, all languages that are supported in whisper are supported in the code now

from whisper-diarization.

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.