Giter Club home page Giter Club logo

Comments (4)

mkiol avatar mkiol commented on May 20, 2024 1

Thanks for the suggestion.

It looks that "Translate to English" option was in 3.x version but I've removed it when added Translator feature based on Bergamot engine. I thought that having two independent "translators" would be too confusing for the users and difficult to clearly represent in the user interface, but...

You're not the only one asking this, so it's clear that there is value in having this option. I will re-enable it in the next version.

BTW, Whisper can also translate from English to non-English language. It doesn't work for all languages and models but for few. When your, for instance, set "Whisper Large-v2" for Spanish and say something in English, the decoded text will be a translation to Spanish. Probably this is a "side effect" of using GTP model 🤔 I didn't figure out so far how make this "hidden" feature usable because it is not super deterministic (e.g does not work for all models).

from dsnote.

mkiol avatar mkiol commented on May 20, 2024 1

@devSJR Exactly. It is very non deterministic. You cannot "force" engine to always translate to German. At least I didn't find any option for this. On the other hand, translation to English is very reliable and supported both by whisper.cpp and Faster Whisper.

Option to force translation to English is already implemented (2d52f56) and will be in v4.4.0.

from dsnote.

devSJR avatar devSJR commented on May 20, 2024

It works for German. 🤯
English (FasterWhisper Large-v3)

Edit: now, I understand what you mean. There are some sentences, that Whisper will not translate. For example, if I exchange a commonly used word for a less commonly used word with a very similar meaning. In this case, the following happens. The model is set to English. I speak German. One sentence will be in correct German. The other sentence is translated in correct English.

from dsnote.

mkiol avatar mkiol commented on May 20, 2024

"Translate any Whisper language into English" added in: 2d52f56

Change is included in v4.4.0,

from dsnote.

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.