Giter Club home page Giter Club logo

custom_whisper's People

Contributors

cociweb avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

custom_whisper's Issues

Download loop

I try to install it in a fresh HA x86 install, but:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
INFO:main:Downloading custom model Small to /data
INFO:wyoming_faster_whisper.download:model.bin is downloaded into /data/custom from url: https://huggingface.co/Hungarians/Whisper-small-hu-cleaned/resolve/main/fp32/model.bin
INFO:wyoming_faster_whisper.download:vocabulary.txt is downloaded into /data/custom from url: https://huggingface.co/Hungarians/Whisper-small-hu-cleaned/resolve/main/fp32/vocabulary.txt
INFO:wyoming_faster_whisper.download:config.json is downloaded into /data/custom from url: https://huggingface.co/Hungarians/Whisper-small-hu-cleaned/resolve/main/fp32/config.json
INFO:wyoming_faster_whisper.download:hash.json is downloaded into /data/custom from url: https://huggingface.co/Hungarians/Whisper-small-hu-cleaned/resolve/main/fp32/hash.json
INFO:main:Succesfully downloaded the custom model: custom
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/wyoming_faster_whisper/main.py", line 182, in
asyncio.run(main())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_faster_whisper/main.py", line 141, in main
AsrModel(
TypeError: AsrModel.init() missing 1 required positional argument: 'version'
[11:48:24] INFO: Service exited with code 1 (by signal 0)
INFO:main:Downloading custom model Small to /data

Download loop contiue forever...

Cannot use my custom model

I've converted custom model myself and put it to "custom" folder. But container always tries to download it. If I dont specify web address of the model it shows the following error:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
And it also deletes my data!

Actually I don't see any improvement against the original faster-widget container TBH, exept new directory "custom".

Is it possible just to start a container with my local custom model that I already have on my server?

Unable to Load Spanish Model in Custom Whisper Environment

Greetings!

I hope this message finds you well. I'm reaching out from Argentina, currently attempting to load a Spanish model into Whisper. I've successfully installed custom_whisper in Docker using the suggested docker-compose.yml, and everything is running smoothly. However, when I try to load a model.bin from another Spanish model, I encounter the following error:

RuntimeError: Unsupported model binary version. This executable supports models with binary version v6 or below, but the model has binary version v1868833084. This usually means that the model was generated by a later version of CTranslate2. (Forward compatibility is not guaranteed.)

I've tested several models, all yielding the same result. Are there any Spanish models compatible with this setup? I'm pleased with how easy it was to set up, but the Hungarian language isn't suitable for my needs.

Thank you for your assistance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.