abdeladim-s / subsai

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️
https://abdeladim-s.github.io/subsai/
GNU General Public License v3.0
1.31k stars 107 forks source link

Censoring #96

Open MidnightKittenCat opened 10 months ago

MidnightKittenCat commented 10 months ago

Are there any models that don't have any nsfw censoring?

abdeladim-s commented 10 months ago

I don't know to be honest, but I think the "models" are just different implementations of the Whisper architecture and the model weights are still the same from openAI, so all the implementations will behave in the same way I assume.

MidnightKittenCat commented 10 months ago

I don't know to be honest, but I think the "models" are just different implementations of the Whisper architecture and the model weights are still the same from openAI, so all the implementations will behave in the same way I assume.

Not quite sure about this so just thought I’d check with you on it.

“ NLLB 200 can translate in 200 languages, which makes it even more attractive! Quality seems to be on par with Opus MT in the languages we've tested. The model does not enforce any sort of filtering on adult content”

Could we have the option to have different translation methods? Such as google translate, NLLB 200

abdeladim-s commented 10 months ago

I didn't know about NLLB 200 .. it seems interesting. Thanks for letting me know. Yes, I think I can add it to the translation models if you need it!

For google translate, the official API will need keys and stuff .. And I want the project to be free from third party services, just self hosted AI models.

MidnightKittenCat commented 10 months ago

I didn't know about NLLB 200 .. it seems interesting. Thanks for letting me know. Yes, I think I can add it to the translation models if you need it!

For google translate, the official API will need keys and stuff .. And I want the project to be free from third party services, just self hosted AI models.

Yes please that'd be great!

MidnightKittenCat commented 10 months ago

I didn't know about NLLB 200 .. it seems interesting. Thanks for letting me know. Yes, I think I can add it to the translation models if you need it!

For google translate, the official API will need keys and stuff .. And I want the project to be free from third party services, just self hosted AI models.

Could we also add translation models such as opus and perhaps madlad from google? if not all's good! having nllb alone would be a game changer ;P

abdeladim-s commented 10 months ago

Here you go @MidnightKittenCat, nllb200 has been added to the translation models.

I am really surprised how good it is :) I don't think opus can come even close :D For madlad, It's interesting as well. Thanks for letting me know. Maybe I'll add it later.

For now please update the package and give nllb200 a try. Let me know if you found any issues ?

MidnightKittenCat commented 10 months ago

Here you go @MidnightKittenCat, nllb200 has been added to the translation models.

I am really surprised how good it is :) I don't think opus can come even close :D For madlad, It's interesting as well. Thanks for letting me know. Maybe I'll add it later.

For now please update the package and give nllb200 a try. Let me know if you found any issues ?

Great! I’m not home as of this moment so I’m a few hours I can give it a try, this should definitely fix the filtering issue I’ve been having ;P thanks a ton!

Definitely looking forward to madlad

abdeladim-s commented 10 months ago

You are welcome :) Take your time .. just wanted to make sure it's working without a problem on your side.

MidnightKittenCat commented 10 months ago

You are welcome :) Take your time .. just wanted to make sure it's working without a problem on your side.

Just got back, I do not see the option to choose the translation model anywhere in the webui. If there currently is no way to change the translation model in the webui could we have that added? Thanks! :D

abdeladim-s commented 10 months ago

It is in the webui as well. Make sure to update the package first, then from post processing tools, choose translation and select the nllb200 from the drop down menu, then check Create the model.