biemster / gasr

Google Chrome SODA Offline Speech Recognition command line client
https://hackaday.io/project/164399-android-offline-speech-recognition-natively-on-pc
144 stars 17 forks source link

Could anyone share the language model? #21

Closed dlxj closed 18 hours ago

dlxj commented 1 month ago

Could anyone please share the language model that works correctly with this project? The old version of the language model is no longer available for download, thanks in advance.

biemster commented 1 month ago

I'm almost finished with the chromeos version of SODA after which all the models mentioned here can be used: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/components/soda/soda_installer_impl_chromeos.cc

Those are available on simpler links like https://edgedl.me.gvt1.com/edgedl/dlc/hatch-release/R128-15955.0.0/dlc-scaled/libsoda-model-fr-fr-cnch24d1/package/dlc.img

I'm currently reworking this project to move both the library and models to the chromeos version of soda, including a downloader and patcher.

biemster commented 1 month ago

and arm64 (rpi)!

kocsaga commented 4 weeks ago

Well, that would be awesome. I am looking forward for it. All other alternatives not as precise as googles solution. I tried this repo, but can't make it work. Maybe my skills is not enough or maybe the method changed a lot.

goddade commented 3 weeks ago

I'm almost finished with the chromeos version of SODA after which all the models mentioned here can be used: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/components/soda/soda_installer_impl_chromeos.cc

Those are available on simpler links like https://edgedl.me.gvt1.com/edgedl/dlc/hatch-release/R128-15955.0.0/dlc-scaled/libsoda-model-fr-fr-cnch24d1/package/dlc.img

I'm currently reworking this project to move both the library and models to the chromeos version of soda, including a downloader and patcher.

What is the difference between chrome version and os version? Chrome OS has arm so.

biemster commented 3 weeks ago

i don't think there is any functional difference between the chrome and chromeos versions, although the chromeos one seems to be on a rolling release so a bit more frequent updates. There are some new "conch" models that work really great, I'm not sure the chrome lib can handle them, not tested yet. And the chromeos download links are easier to get.

The chromeos lib requires a very new libc though, due to some address reloc stuff i don't fully understand yet but definitely requires a patch.

But most importantly for me and as you already mentioned, ARM support!