Better HN
topnewbestaskshowjobs
Log inSign up

renus

40 karma · joined Feb 11, 2018 (8y ago) · 19 submissions

Submissions

1.

Breaking Language Barriers - Moving closer towards production-ready Hindi ASR(collabora.com ↗)

9 points · by renus · 1y ago · discuss

comment 2y ago · link · parent

Everything runs locally, we use:

- WhisperLive for the transcription - https://github.com/collabora/WhisperLive - WhisperSpeech for the text-to-speech - https://github.com/collabora/WhisperSpeech

and an LLM (phi-2, Mistral, etc.) in between

comment 2y ago · link · parent

We are going to put the sample interface into the Docker, so it's more mainly:

> docker run --gpus all --shm-size 64G -p 80:80 -it ghcr.io/collabora/whisperfusion:latest

instead of:

> docker run --gpus all --shm-size 64G -p 6006:6006 -p 8888:8888 -it ghcr.io/collabora/whisperfusion:latest > cd examples/chatbot/html > python -m http.server

comment 2y ago · link · parent

A fast turnaround time is also super important; if the transcription is not correct, waiting multiple seconds for each turn would kill the application. E.g., ordering food using voice is only convenient if it gets me right all the time; if not, I will fall back to the app.

comment 2y ago · link · parent

To streamline the experience we don't send the transcription to the LLM after the pause, since we are using the time we wait for the end of sentence trigger (pause) to generate the LLM and text-to-speech output. So ideally once we detected the pause, we already processed everything.

comment 2y ago · link · parent

We tested https://huggingface.co/cognitivecomputations/dolphin-2_6-phi... as well, in some tasks it performs better. That said, you can use Mistral as well, we support a few models through TensorRT-LLM.

comment 2y ago · link · parent

pyryt posted https://arxiv.org/abs/2010.10874, which might be helpful here, but we probably end off with personalized models that learned from conversation styles. A magic stop/processing word would be the easiest to add since you already have the transcript, but it's taking the natural feel of a conversation.

comment 2y ago · link · parent

We will add the details, thanks for pointing it out.

comment 2y ago · link · parent

https://github.com/collabora/WhisperLive

comment 2y ago · link · parent

Good point; another area we are currently looking into is predicting intention; often, when talking to someone, we have a good idea of what that person might say next. That would not only help with latency but also, allow us to give better answers, and load the right context.

comment 2y ago · link · parent

For the transcription part, we are looking into W2v-BERT 2.0 as well and will make it available in a live-streaming context. That said, Whisper, especially small (<50ms), is not as compute-heavy; right now, most of the compute is consumed by the LLM.

comment 2y ago · link · parent

WhisperLive builds upon the Whisper model; for the demo, we used small.en, but you can also use large without introducing a bigger latency for the overall pipeline since the transcription process is decoupled from the LLM and text-to-speech process.

comment 2y ago · link · parent

WhisperFusion is fully open-source - https://github.com/collabora/WhisperFusion

comment 3y ago · link · parent

Curious to see how this works? Check out our demo page - https://col.la/transcription to generate your own transcription, summary, and translation, or use our browser extension - https://github.com/collabora/WhisperLive to get live transcriptions.

comment 3y ago · link · parent

Using state-of-the-art natural language processing techniques, we developed an AI-driven automatic transcription, summarization, and translation pipeline.

16.

AI-Crafted Daily Digest: Exploring Latest ML Developments(podcast.mlcult.org ↗)

1 points · by renus · 3y ago · discuss

17.

Deep Learning Optimizer Visualization(vis.ensmallen.org ↗)

77 points · by renus · 7y ago · 4 comments

18.

Deep learning optimizer visualization(mlpack.org ↗)

2 points · by renus · 8y ago · discuss