Giter VIP home page Giter VIP logo

Comments (5)

gyujin-kim avatar gyujin-kim commented on August 15, 2024 1

Hi @jambayk
Thanks for the response & hard work.
I will test whisper multilingual model in a few days.
And will report the result.
thanks again for your hard work.

from olive.

jambayk avatar jambayk commented on August 15, 2024

Thanks for bringing this up! Our whisper example currently doesn't support multi-language support since the changes related to it were introduced in a newer unreleased version of onnxruntime. However, we have plans to add support for ort > 1.15 (nightly versions) and multi-language.

I will link this issue when the corresponding PR is made.

from olive.

gyujin-kim avatar gyujin-kim commented on August 15, 2024

Hi. @jambayk
Thanks for the response.
I hope that the work will go smoothly.

from olive.

jambayk avatar jambayk commented on August 15, 2024

@gyujin-kim The linked PR above added multilingual support. Please refer to the updated Whisper example readme for details on how to use it.

from olive.

gyujin-kim avatar gyujin-kim commented on August 15, 2024

Hi @jambayk

I have succeeded in creating a whisper onnx model and testing it.

  • olive for convert : commit e559816
  • onnxruntime for convert & inference : ort-nightly 1.16.0.dev20230625001
  • inference test : use test_transcription.py

And I succeed to convert the other whisper model(ex. whisper-small) but recognized text quality is poor than torch model and onnx encoder-decoder model.
(https://colab.research.google.com/github/usefulsensors/openai-whisper/blob/main/notebooks/whisper_onnxruntime.ipynb)
Testing several languages by tweaking 'decoder_input_ids' in the 'whisper_dataset.py' file, the quality loss was worse in non-English languages.
I can't figure out what could be the problem.
Any suggesions to check this problem?

Edit1:
I have test with int8 model. I will test another precision and re-checking.
Edit2:
I have test with fp32 model and got better result.
But still worse than original model output.
I did't test lot of input, I will be update the status later after more test.
thanks.

from olive.

Related Issues (20)

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.