Comments (5)
Thanks for the feedback Ju-Chieh, its important that this model be relatively easy to understand. One limitation of defining this model in the recipe is that it cannot be reused across multiple recipes. Perhaps there's something else we could do to improve transparency.
One thing that could potentially help: instead of defining the blocks in three separate yaml files, we could put them all in the same yaml file. I think this would require re-writing the "ReplicateBlock" method in PR #79 based on the latest changes to the yaml (#101).
Do you think that putting all of the parameters in one yaml file would help?
from speechbrain.
I would say that it's already quite transparent ... What is your concern @jjery2243542 ?
from speechbrain.
My concern is, the recipe might become difficult to modify if we use the whole block of module instead of declaring one by one from nnet
. One has to look into the model and try to know how to override this yaml when they want to change the architecture.
from speechbrain.
That's a bit the idea of "lobes". Instead of redefining the same model every time in the experiment.py, we can put in "lobes" some kind of popular models and just use them. If users want to change the current model with another one in the lobes they can do it very easily. This way it is also easier to maintain the recipes: if we wanna modify something in the CRDNN model, for instance, we do it just once and not for all the recipes (that can be a lot at the end of the project). Note that using models in lobes is not mandatory and users can always define their model in experiment.py. But in our recipes we have to be consistent and the "lobes" approach is what we are currently using in all of them. @Gastron any other comment?
from speechbrain.
I think you are right. Using a customized model is quite easy so we could use lobes to share some general structure.
from speechbrain.
Related Issues (20)
- Program memory segmentation error (core dumped) for training LibriMix
- LibriSpeech Whisper Finetuning - WER 98% after 3 epochs HOT 9
- [Feature Request]: AdaMER-CTC for ASR task training
- Cannot reproduce DPRNN results on WSJ0-2Mix (Speech Separation) HOT 6
- ModuleNotFoundError: No module named 'speechbrain.pretrained' HOT 4
- Fix obsolete uses of `speechbrain.pretrained` in documentation
- `speechbrain/__init__.py` is ignored in pip editable installs for scripts out of repo HOT 1
- PyPI install incorrectly ships a `tests` package
- 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
- not able to import 'HuggingFaceWhisper' from speechbrain.lobes.models.huggingface_whisper HOT 7
- Adapters + LLama -- re-design. HOT 6
- Torch 2.3 breaks DDP? HOT 3
- 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
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.