GithubHelp home page GithubHelp logo

Comments (7)

Adel-Moumen avatar Adel-Moumen commented on June 12, 2024

Hi,

The path to whisper is: from speechbrain.lobes.models.huggingface_transformers.whisper import Whisper

from speechbrain.

aquorio15 avatar aquorio15 commented on June 12, 2024

Hi,
Thanks for the quick reply. I want to import this module https://speechbrain.readthedocs.io/en/stable/API/speechbrain.lobes.models.huggingface_whisper.html

from speechbrain.

Adel-Moumen avatar Adel-Moumen commented on June 12, 2024

Could you please share with me the speechbrain version that you are using? I think you are not using the latest speechbrain hence why you are struggling to import the whisper module.

from speechbrain.

aquorio15 avatar aquorio15 commented on June 12, 2024

I install speechbrain by using the following command which is available on the official website

git clone https://github.com/speechbrain/speechbrain.git
cd speechbrain
pip install -r requirements.txt
pip install --editable .

I don't know how to check the version. Can you tell me what is the argument for that. This is my first time using the toolkit

from speechbrain.

Adel-Moumen avatar Adel-Moumen commented on June 12, 2024

This is the correct way of downloading speechbrain. I think the issue is that you are not looking at the latest documentation. Please have a look here: https://speechbrain.readthedocs.io/en/latest/API/speechbrain.lobes.models.huggingface_transformers.whisper.html#module-speechbrain.lobes.models.huggingface_transformers.whisper also make sure to have a look at our beginner tutorials hosted on our website.

from speechbrain.

aquorio15 avatar aquorio15 commented on June 12, 2024

Just now did a fresh install from the link above. Speechbrain is installed as I am able to import the speechbrain module but I am not able to import 'huggingface_whisper' module.

from speechbrain.

Adel-Moumen avatar Adel-Moumen commented on June 12, 2024

Just now did a fresh install from the link above. Speechbrain is installed as I am able to import the speechbrain module but I am not able to import 'huggingface_whisper' module.

Please have a look at this notebook that I did for you: https://colab.research.google.com/drive/1O9tigK_0Qv3JOlf-e9_j2pYilkztQm2_?usp=sharing

You'll see how to import this module.

from speechbrain.

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.