3v324v23 commited on
Commit
cf5e8fc
·
1 Parent(s): 07ec9e6

something

Browse files
.gitignore ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.wav
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+ .venv/
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ #uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ #poetry.lock
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ #pdm.lock
114
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
115
+ # in version control.
116
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
117
+ .pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
122
+ __pypackages__/
123
+
124
+ # Celery stuff
125
+ celerybeat-schedule
126
+ celerybeat.pid
127
+
128
+ # SageMath parsed files
129
+ *.sage.py
130
+
131
+ # Environments
132
+ .env
133
+ .venv
134
+ env/
135
+ venv/
136
+ ENV/
137
+ env.bak/
138
+ venv.bak/
139
+
140
+ # Spyder project settings
141
+ .spyderproject
142
+ .spyproject
143
+
144
+ # Rope project settings
145
+ .ropeproject
146
+
147
+ # mkdocs documentation
148
+ /site
149
+
150
+ # mypy
151
+ .mypy_cache/
152
+ .dmypy.json
153
+ dmypy.json
154
+
155
+ # Pyre type checker
156
+ .pyre/
157
+
158
+ # pytype static type analyzer
159
+ .pytype/
160
+
161
+ # Cython debug symbols
162
+ cython_debug/
163
+
164
+ # PyCharm
165
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
166
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
167
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
168
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
169
+ #.idea/
170
+
171
+ # Ruff stuff:
172
+ .ruff_cache/
173
+
174
+ # PyPI configuration file
175
+ .pypirc
176
+
177
+ uz_transformer
178
+ audio_data_loader
179
+ *.pyc
180
+ 1000_unigram.model
181
+ 1000_unigram.vocab
hyperparams.yaml CHANGED
@@ -37,7 +37,7 @@ avoid_if_longer_than_val_test: 100.0
37
  ckpt_interval_minutes: 15 # save checkpoint every N min
38
 
39
  ####################### Training Parameters ####################################
40
- number_of_epochs: 50
41
  optimizer_step_limit: 30000
42
  batch_size: 200 # This works with a 32GB GPU ! (bs * nb_gpu * accum) > 128 !
43
  ctc_weight: 0.3
@@ -222,7 +222,7 @@ noam_annealing: &id009 !new:speechbrain.nnet.schedulers.NoamScheduler
222
  n_warmup_steps: 1000
223
 
224
  checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
225
- checkpoints_dir: results/conformer_en/1101/save
226
  recoverables:
227
  model: *id008
228
  noam_scheduler: *id009
@@ -235,7 +235,7 @@ checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
235
  # Time Drop
236
  counter: &id010 !new:speechbrain.utils.epoch_loop.EpochCounter
237
 
238
- limit: 50
239
 
240
  epoch_counter: *id010
241
  normalize: *id011
@@ -271,7 +271,7 @@ compute_features: !new:speechbrain.lobes.features.Fbank
271
  n_mels: 80
272
 
273
  train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger
274
- save_file: results/conformer_en/1101/train_log.txt
275
 
276
  error_rate_computer: !name:speechbrain.utils.metric_stats.ErrorRateStats
277
  acc_computer: !name:speechbrain.utils.Accuracy.AccuracyStats
 
37
  ckpt_interval_minutes: 15 # save checkpoint every N min
38
 
39
  ####################### Training Parameters ####################################
40
+ number_of_epochs: 100
41
  optimizer_step_limit: 30000
42
  batch_size: 200 # This works with a 32GB GPU ! (bs * nb_gpu * accum) > 128 !
43
  ctc_weight: 0.3
 
222
  n_warmup_steps: 1000
223
 
224
  checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
225
+ checkpoints_dir: uz_transformer/model_saved/save
226
  recoverables:
227
  model: *id008
228
  noam_scheduler: *id009
 
235
  # Time Drop
236
  counter: &id010 !new:speechbrain.utils.epoch_loop.EpochCounter
237
 
238
+ limit: 100
239
 
240
  epoch_counter: *id010
241
  normalize: *id011
 
271
  n_mels: 80
272
 
273
  train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger
274
+ save_file: uz_transformer/model_saved/train_log.txt
275
 
276
  error_rate_computer: !name:speechbrain.utils.metric_stats.ErrorRateStats
277
  acc_computer: !name:speechbrain.utils.Accuracy.AccuracyStats
model_saved/save/CKPT+2025-02-22+08-52-02+00/CKPT.yaml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02e226b162e6518cfcacfe6f67e69890eae63d816a687455dbc965a9ac2c4c89
3
+ size 97
model_saved/save/CKPT+2025-02-22+08-52-02+00/brain.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83a9e4a1cb0c26f318e9efb8d3c33c53f9d5af689d2a070c91f2eaa12160203f
3
+ size 67
model_saved/save/CKPT+2025-02-22+08-52-02+00/counter.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e17daca5f3e175f448bacace3bc0da47d0655a74c8dd0dc497a3afbdad95f1f
3
+ size 2
model_saved/save/CKPT+2025-02-22+08-52-02+00/dataloader-TRAIN.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fbc314fb0b511345465b5b907ec6961328e5e393ff831c8d74912184098bf41
3
+ size 3
model_saved/save/CKPT+2025-02-22+08-52-02+00/dataloader-VALID.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91
3
+ size 4
model_saved/save/CKPT+2025-02-22+08-52-02+00/model.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb17169878ac028d33c2cf3ac9bf404ff0d1b29dc40257bd856020dd5ad5e13
3
+ size 175365750
model_saved/save/CKPT+2025-02-22+08-52-02+00/noam_scheduler.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1b82f7474a07599f3d52721fd899126cefe9adfadebb93e75ab9b6c1c646aab
3
+ size 892
model_saved/save/CKPT+2025-02-22+08-52-02+00/normalizer.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf81e54922da5ab601ea23c4bbd13d1f6052f8d7016f7263775103f8cc460880
3
+ size 2218
model_saved/save/CKPT+2025-02-22+08-52-02+00/optimizer.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cfef1692b3806b93e9c7175eaee905e7e6f305b85ae12e07acbd3ec8ef8c177
3
+ size 343101283
model_saved/save/CKPT+2025-02-22+08-52-02+00/scaler.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19091a5c4714c66c94dc6602ef32ea9eeaff62a6dd01e1ed5bc28eeef5b5a61d
3
+ size 988