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

Large model #18

Open
mootje2 opened this issue Aug 31, 2023 · 3 comments
Open

Large model #18

mootje2 opened this issue Aug 31, 2023 · 3 comments

Comments

@mootje2
Copy link

mootje2 commented Aug 31, 2023

Thanks for the nice afford with this app, I was wondering if I could- use it with the large model because I can see that with the multilanguage the transscription the large model have much better results than the one you are using. I have the large model on my Ubuntu server and test it with Gradio it gives a much better transcription. The question is how to adjust the script the use the large model from my local server?. also I saw in your demo on hugging face there is a microphone I do miss it.
Thanks

@xenova
Copy link
Owner

xenova commented Aug 31, 2023

The purpose of this project is to run whisper directly in your browser, instead of a local server, so, I won't be modifying it to support an external API. However, feel free to clone the repo yourself, then separating the frontend from the backend if you wish to reuse the user interface.

@yavuzKomecoglu
Copy link

Hi @xenova,
We added it to the models list as 'Xenova/whisper-large': [1550]. I download the model, but I get the error "RangeError: offset is out of bounds" during the transcription phase. I get the same error on devices with these different RAMs. How can I operate the Large model?

@midpoint
Copy link

midpoint commented Jun 17, 2024

whisper-web\src\components\AudioManager.tsx

    const models = {
        // Original checkpoints
        'Xenova/whisper-tiny': [41, 152],
        'Xenova/whisper-base': [77, 291],
        'Xenova/whisper-small': [249],
        'Xenova/whisper-medium': [776],
        'Xenova/whisper-large-v2': [23776],
        'Xenova/whisper-large-v3': [17776],

        // Distil Whisper (English-only)
        'distil-whisper/distil-medium.en': [402],
        'distil-whisper/distil-large-v2': [767],
    };

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

4 participants