Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Custom models from HF or custom preconverted models #1

Open
Deathproof76 opened this issue Jul 5, 2024 · 1 comment

Comments

@Deathproof76
Copy link

Hello there! 👋
And thank you very much for this slimmed down version, it's been a truly great addition to my setup! 🙏

I've tried it myself, but I'm an amateur regarding coding and failed to do so. But might it be possible to integrate downloading custom models via Huggingface and converting them via the ct2-transformers-converter to use them with slim-bazarr-subgen?

For example: Keep the usual evironment mechanism so that if - "WHISPER_MODEL=distil-large-v3" is set in the compose one of https://huggingface.co/Systran models would be downloaded, but if I'd set it to "WHISPER_MODEL=bofenghuang/whisper-small-cv11-german" (for example), this version bofenghuang/whisper-small-cv11-german would be downloaded, converted for faster whisper and used?

Another possibility: one would be able to set an already converted custom model via env, which has been put into the model folder beforehand, could be more simple.

Would be glad if you could share your sentiment regarding this idea!
Anyways, kind regards and thank you again for sharing! ♥️

@HMKnapp
Copy link
Owner

HMKnapp commented Nov 29, 2024

I think it's a great idea! Probably won't have the time to dig into it. I made this mainly to fulfill a personal use and published it because others might find it useful as well.

If anyone wants to implement this, any PR is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants