Skip to content

Commit

Permalink
Merge pull request #17 from Adel-Moumen/add_submodule_sb
Browse files Browse the repository at this point in the history
add SB as submodule
  • Loading branch information
Adel-Moumen authored Jan 24, 2024
2 parents 4a52aeb + a219120 commit 6d4cee6
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "speechbrain"]
path = speechbrain
url = https://github.com/speechbrain/speechbrain.git
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,54 @@ To learn more about each available benchmark, please click on the corresponding

If you have any questions or need assistance, please don't hesitate to reach out. Happy benchmarking!

## 🛠️ Installation

1. Clone the GitHub repository and install the requirements:

```bash
git clone https://github.com/speechbrain/benchmarks.git
git submodule init
cd speechbrain
pip install -r requirements.txt
pip install -e .
```

2. Access SpeechBrain in your Python code:

```python
import speechbrain as sb
```

Any modifications made to the `speechbrain` package will be automatically reflected, thanks to the `--editable` flag.

## ✔️ Test Installation

Ensure your installation is correct by running the following commands:

```bash
pytest tests
pytest --doctest-modules speechbrain
```

## 🏃‍♂️ Running an Experiment

In SpeechBrain, you can train a model for any task using the following steps:

```python
cd recipes/<dataset>/<task>/
python experiment.py params.yaml
```

The results will be saved in the `output_folder` specified in the YAML file.

## 📘 Learning SpeechBrain

- **Website:** Explore general information on the [official website](https://speechbrain.github.io).

- **Tutorials:** Start with [basic tutorials](https://speechbrain.github.io/tutorial_basics.html) covering fundamental functionalities. Find advanced tutorials and topics in the Tutorials menu on the [SpeechBrain website](https://speechbrain.github.io).

- **Documentation:** Detailed information on the SpeechBrain API, contribution guidelines, and code is available in the [documentation](https://speechbrain.readthedocs.io/en/latest/index.html).


# Citing SpeechBrain
Please, cite SpeechBrain if you use it for your research or business.
Expand Down
1 change: 1 addition & 0 deletions speechbrain
Submodule speechbrain added at 274ed6

0 comments on commit 6d4cee6

Please sign in to comment.