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 Replicate demo and API #42

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

Add Replicate demo and API #42

wants to merge 8 commits into from

Conversation

chenxwh
Copy link

@chenxwh chenxwh commented Nov 14, 2023

Hi @Vaibhavs10!

Impressive work on insanely-fast-whisper, especially for processing long audio inputs!

This pull request makes it possible to run insanely-fast-whisper on Replicate (https://replicate.com/cjwbw/insanely-fast-whisper) and via API (https://replicate.com/cjwbw/insanely-fast-whisper/api). Also happy to transfer the demo page to your account for easier modification :)

@Vaibhavs10
Copy link
Owner

Hi @chenxwh - Sure! Would be lovely to transfer it to my account: https://replicate.com/vaibhavs10 🤗

@chenxwh
Copy link
Author

chenxwh commented Nov 14, 2023

@@ -16,6 +16,9 @@ Not convinced? Here are some benchmarks we ran on a free [Google Colab T4 GPU](/
| Faster Whisper (`fp16` + `beam_size [1]`) | ~9.23 (*9 min 23 sec*) |
| Faster Whisper (`8-bit` + `beam_size [1]`) | ~8 (*8 min 15 sec*) |

Try the Relicate demo here: [![Replicate](https://replicate.com/cjwbw/insanely-fast-whisper/badge)](https://replicate.com/cjwbw/insanely-fast-whisper)
Copy link

Choose a reason for hiding this comment

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

That redirects to https://replicate.com/vaibhavs10/incredibly-fast-whisper .
Does it help you track incoming users?

Copy link

Choose a reason for hiding this comment

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

No that's just a leftover old URL that redirects to the renamed model.

@@ -16,6 +16,9 @@ Not convinced? Here are some benchmarks we ran on a free [Google Colab T4 GPU](/
| Faster Whisper (`fp16` + `beam_size [1]`) | ~9.23 (*9 min 23 sec*) |
| Faster Whisper (`8-bit` + `beam_size [1]`) | ~8 (*8 min 15 sec*) |

Try the Relicate demo here: [![Replicate](https://replicate.com/cjwbw/insanely-fast-whisper/badge)](https://replicate.com/cjwbw/insanely-fast-whisper)
Copy link

Choose a reason for hiding this comment

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

Suggested change
Try the Relicate demo here: [![Replicate](https://replicate.com/cjwbw/insanely-fast-whisper/badge)](https://replicate.com/cjwbw/insanely-fast-whisper)
Try the Relicate demo here: [![Replicate](https://replicate.com/vaibhavs10/incredibly-fast-whisper/badge)](https://replicate.com/vaibhavs10/incredibly-fast-whisper)

@Vaibhavs10 Vaibhavs10 self-assigned this Nov 17, 2023
@Vaibhavs10
Copy link
Owner

Sorry folks! been busy trying to figure out the best API and adding speaker diarization. Once I do that, we can update that on replicate, too, and perhaps do another round of comms. :)

@zeke
Copy link

zeke commented Nov 17, 2023

Sounds good. Would love to help with that.

@Vaibhavs10
Copy link
Owner

Sorry for the delay! Hey @zeke @chenxwh - I just added preliminary support for Speaker diarisation! Would you like to help me port these changes to Replicate as well?

@Vaibhavs10
Copy link
Owner

I unfortunately haven't! Would anyone of you be able to do that for me?
It's getting quite a bit late here unfortunately! So happy to do comms with ya tomorrow AM too?
I'm based in CET!

@chenxwh
Copy link
Author

chenxwh commented Nov 28, 2023

@Vaibhavs10 Sure it's added! (btw GMT here) :D

@Vaibhavs10
Copy link
Owner

Ayy! lovely! @chenxwh nice to meet ya!! - How should we push this to Replicate?

@Vaibhavs10
Copy link
Owner

Oh, I just checked that it is already pushed to Replicate! I'm happy for y'all to do comms for this ofc (it is better if it comes from y'all than me 🤗)!

@Vaibhavs10
Copy link
Owner

Got a possible bug report about the replicate UI: #123 (comment)

Feel free to ignore if not relevant! 🤗

@zeke
Copy link

zeke commented Jan 19, 2024

☝🏼 That bug is still open but I don't think it should block this release. The Replicate model already has 44000 runs, so it's definitely working for people.

@Vaibhavs10 anything else blocking getting this merged?

@hlevring
Copy link

Whatever is out there right now at https://replicate.com/vaibhavs10/incredibly-fast-whisper is definitely pretty broken , so if this pull request also fixes that it would be nice.

vaibhavs10-incredibly-fast-whisper – Run with an API on Replicate - Google Chrome

@zeke
Copy link

zeke commented Jan 31, 2024

Looks like @chenxwh pushed a fix for that.

@unitythemaker
Copy link

Hey, can you add support for the whisper turbo model?

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.

6 participants