Skip to content

Commit 886889e

Browse files
committed
update dependencies and doc accordingly; cleanup wav
1 parent d006fa0 commit 886889e

5 files changed

+54
-22
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
*.kenlm filter=lfs diff=lfs merge=lfs -text
66
*.arpa filter=lfs diff=lfs merge=lfs -text
77
*ubyte filter=lfs diff=lfs merge=lfs -text
8+
*.ipynb merge=nbdev-merge

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ recipes/*/logs
133133
tests/
134134
.hydra/
135135
*.png
136+
*.wav
136137
*.pt
137138
*.onnx
138139
*.ckpt

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,19 @@ you need python \<3.12
1919

2020
### Install using Pip
2121

22+
Install package:
2223
``` sh
2324
pip install slg-nimrod
2425
```
26+
Install espeak for LM:
27+
```bash
28+
brew install espeak #macos
29+
```
30+
Install Spacy english model
31+
```bash
32+
python -m spacy download en_core_web_sm
33+
```
34+
2535

2636
## Usage
2737

@@ -33,7 +43,9 @@ git lfs install
3343
# update changes
3444
git lfs fetch --all
3545
# copy the actual data
36-
git lfs pull
46+
git lfs checkout
47+
# or just
48+
git lfs pull # combing both steps above into one (like usual git pull)
3749
```
3850

3951
Check recipes in `recipes/` folder. E.g. for a simple digit recognizer

environment-macos.yml

+25-16
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,42 @@ channels:
55
- conda-forge
66
- huggingface
77
dependencies:
8+
- anyascii
9+
- datasets
10+
- h5py
11+
- hydra-core
12+
- inflect
813
- jupyterlab
914
- matplotlib
10-
- tqdm
11-
- pandas
12-
- datasets
13-
- transformers
1415
- nbdev
15-
- spacy
16-
- inflect
17-
- anyascii
1816
- omegaconf
19-
- hydra-core
20-
- wandb
2117
- onnxruntime
22-
- h5py
18+
- pandas
19+
- portalocker
2320
- pre-commit
2421
- pytest
22+
- python-dotenv
2523
- portalocker
24+
- spacy
25+
- streamlit
26+
- optuna
27+
- tensorboard
28+
- transformers
29+
- tqdm
30+
- wandb
2631
- pip:
32+
- encodec
33+
- hydra_colorlog
34+
- hydra-optuna-sweeper
2735
- jupyterlab-quarto
36+
- kenlm
37+
- lightning
38+
- lhotse
39+
- plum-dispatch
40+
- https://github.com/kpu/kenlm/archive/master.zip
41+
- phonemizer
2842
- torch
2943
- torchvision
3044
- torchtext
45+
- torchdata
3146
- torchaudio
32-
- plum-dispatch
33-
- https://github.com/kpu/kenlm/archive/master.zip
34-
- lhotse
35-
- phonemizer
36-
- hydra_colorlog
37-
- lightning

settings.ini

+14-5
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,22 @@ language = English
3737
status = 3
3838

3939
### Optional ###
40-
requirements = torch==2.0.1 torchvision==0.15.2 torchtext==0.15.2 torchdata==0.6.1 torchaudio==2.0.2 \
41-
anyascii datasets encodec h5py hydra-core hydra-optuna-sweeper inflect jupyterlab==4.0.6 \
40+
; requirements = torch==2.0.1 torchvision==0.15.2 torchtext==0.15.2 torchdata==0.6.1 torchaudio==2.0.2 \
41+
; anyascii datasets encodec h5py hydra-core hydra-optuna-sweeper inflect jupyterlab==4.0.6 \
42+
; lightning matplotlib nbdev omegaconf onnxruntime pandas portalocker \
43+
; pre-commit python-dotenv pytest spacy==3.6.1 tensorboard tqdm transformers wandb \
44+
; hydra_colorlog jupyterlab-quarto kenlm lhotse==1.16.0 plum-dispatch \
45+
; phonemizer==3.2.1 streamlit optuna
46+
; # https://github.com/kpu/kenlm/archive/master.zip cupy
47+
48+
requirements = torch torchvision torchtext torchdata torchaudio \
49+
anyascii datasets encodec h5py hydra-core hydra-optuna-sweeper inflect jupyterlab \
4250
lightning matplotlib nbdev omegaconf onnxruntime pandas portalocker \
43-
pre-commit python-dotenv pytest spacy==3.6.1 tensorboard tqdm transformers wandb \
44-
hydra_colorlog jupyterlab-quarto kenlm lhotse==1.16.0 plum-dispatch \
45-
phonemizer==3.2.1 streamlit optuna
51+
pre-commit python-dotenv pytest spacy tensorboard tqdm transformers wandb \
52+
hydra_colorlog jupyterlab-quarto kenlm lhotse plum-dispatch \
53+
phonemizer streamlit optuna
4654
# https://github.com/kpu/kenlm/archive/master.zip cupy
4755

56+
4857
# dev_requirements =
4958
# console_scripts =

0 commit comments

Comments
 (0)