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

Will switching to SeamlessM4Tv2 be better #4

Open
jkfnc opened this issue Dec 1, 2023 · 9 comments
Open

Will switching to SeamlessM4Tv2 be better #4

jkfnc opened this issue Dec 1, 2023 · 9 comments

Comments

@jkfnc
Copy link

jkfnc commented Dec 1, 2023

SeamlessM4Tv2 Released today seems to have all this and translation with streaming support ? Will it be better than Whisper and Coqui ?

@KoljaB
Copy link
Owner

KoljaB commented Dec 1, 2023

Probably yes. Advancements in this area are made crazy fast, i feel stuff like this expires in like 4 weeks.

@jkfnc
Copy link
Author

jkfnc commented Dec 4, 2023

I think it may have to be a flag between whisper and Meta as Seamless M4T V2 is still CC-BY-NC license which is incompatible with your MIT License.

@KoljaB
Copy link
Owner

KoljaB commented Dec 4, 2023

Damn. You are right and this also counts for the coqui. Need to revoke MIT 2 here asap.

@jayakumark
Copy link

Probably this one https://huggingface.co/spaces/styletts2/styletts2 can replace Coqui and its MIT.

@KoljaB
Copy link
Owner

KoljaB commented Dec 5, 2023

Not sure about that. StyleTTS2 is only good in english and can't zero shot voice clone.

@jkfnc
Copy link
Author

jkfnc commented Dec 22, 2023

This one seems to capture Tone and emotion is what they claim https://research.myshell.ai/open-voice/zero-shot-cross-lingual-voice-cloning may work for your TurnVoice project

@stevenbaert
Copy link

Fyi, this is what I found as extra information (Mac):

Use Apple's Metal for GPU Acceleration:
Apple provides the Metal framework for GPU acceleration on macOS. Some machine learning libraries, like TensorFlow and PyTorch, offer ways to leverage Metal for acceleration through third-party initiatives or experimental support.

For PyTorch, there's an experimental project called PyTorch-Metal that aims to bring Metal GPU acceleration to PyTorch on macOS.
For TensorFlow, you might explore Apple's Metal plugin for TensorFlow that enables using Metal for accelerated machine learning operations.

Use PlaidML:
PlaidML is an open-source tensor compiler that can enable deep learning on different types of GPUs, including AMD GPUs found in many Macs. It works with Keras as a backend and can be a way to leverage your Mac's GPU for acceleration.

@ajeema
Copy link

ajeema commented Apr 4, 2024

maybe MeloTTS/OpenVoice would be a good replacement, also distil_whisper

@KoljaB
Copy link
Owner

KoljaB commented Apr 5, 2024

maybe MeloTTS/OpenVoice would be a good replacement, also distil_whisper

You can alread use distil whisper models. Update your faster whisper to latest version (pip install -U faster-whisper), then change the model to one of the distil supported ones (distil-large-v2, distil-medium.en, distil-small.en) in this line:

recorder = AudioToTextRecorder(model="tiny.en", language="en", spinner=False)

Melo I found to have rather bad quality (so few emotions) and OpenVoice is a research project which does not get updates. So I won't implement those into RealtimeTTS (takes a lot for a TTS engine to be considered for me to make it realtime).

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

No branches or pull requests

5 participants