Comments (7)
Hi,
The path to whisper is: from speechbrain.lobes.models.huggingface_transformers.whisper import Whisper
from speechbrain.
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.
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.
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.
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.
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.
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)
- Circular Import Error HOT 8
- Circular import in ESC-50 classification recipe HOT 2
- Tacotron2.decoder.infer behaves incorrectly HOT 2
- Can't reproduce pretraining results for Wav2vec2 using LibriSpeech recipe HOT 9
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! HOT 2
- Adapters + LLama -- re-design. HOT 6
- Torch 2.3 breaks DDP? HOT 7
- Training twice as long with Torch > 1.11 HOT 10
- Training regression for Conformer-Transducer models HOT 2
- Math Domain Error in Pretraining tutorial. HOT 1
- Typing syntax not supported in 3.7/3.8 HOT 8
- Potential `SpectrogramDrop` bugs HOT 1
- dtype mismatch in AttentiveStatisticsPooling with FP16 training mode HOT 1
- Task ASR Reported: Caught ZeroDivisionError in DataLoader worker process 0. HOT 4
- Huggingface-Aishell get wrong prediction HOT 2
- AMD ROCm: Conformer-transducer diverges HOT 2
- AMD ROCm: `torch.backends.cudnn.benchmark` should be set to `False` by default on ROCm
- Wav2Vec2WordpieceTokenizer' object has no attribute '_create_trie' HOT 2
- Same result for different samples (with same name) using speech separation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speechbrain.