occ-ai / obs-polyglot

Realtime local AI translation services for OBS based on CTranslate2
https://obsproject.com/forum/resources/polyglot-real-time-local-translation-ai-service-for-obs.1818/
GNU General Public License v2.0
46 stars 5 forks source link

Japanese language support #7

Open Casuallynoted opened 3 months ago

Casuallynoted commented 3 months ago

Hello!

I'm not sure how doable this is as I'm not overly familiar with LASER3, but from what I can tell, there isn't an NLLB code on the provided list for Japanese or Chinese. Is there a way to translate those languages, or alternatively is there a chance the feature could be added?

royshil commented 3 months ago

@Casuallynoted i now have support for M2M-100 model which has Japanese and Chinese support: https://huggingface.co/facebook/m2m100_1.2B/blob/main/special_tokens_map.json (e.g. ja and zh)