guillaume-be / rust-bert

Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
https://docs.rs/crate/rust-bert
Apache License 2.0
2.51k stars 210 forks source link

Question STT? #225

Open The-Mr-L opened 2 years ago

The-Mr-L commented 2 years ago

Hey! can this be used for speech to text processing? I daut it, I just want to be sure :) thank you

guillaume-be commented 2 years ago

Hello @LambdaMan2K ,

You are right - there are currently no speech to text models implemented. The models could take tensors as an input but the loading and pre-processing of the audio files would have to be implemented separately. This may be a great addition if this is something you would be interested in, but may benefit the broader Rust ecosystem and may have its place in a separate crate.