aboutsummaryrefslogtreecommitdiff
path: root/swr2_asr/train.py
diff options
context:
space:
mode:
authorPherkel2023-08-18 13:57:03 +0200
committerPherkel2023-08-18 13:57:03 +0200
commit2d259159808fc5370933a3843abba8b1f4560c1d (patch)
treeed0be3eb3b66ddd43f9c49e8470f9e13d8ec1500 /swr2_asr/train.py
parent20b02196820097a75897e380c5e0d4f9cb2138f4 (diff)
fix ci pipeline
Diffstat (limited to 'swr2_asr/train.py')
-rw-r--r--swr2_asr/train.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/swr2_asr/train.py b/swr2_asr/train.py
index abe0e08..f61776a 100644
--- a/swr2_asr/train.py
+++ b/swr2_asr/train.py
@@ -1,12 +1,9 @@
-# import dataset
-# define model
-# define loss
-# define optimizer
-# train
+"""Training script for the ASR model."""
from AudioLoader.speech.mls import MultilingualLibriSpeech
-def main():
+def main() -> None:
+ """Main function."""
dataset = MultilingualLibriSpeech(
"data", "mls_polish_opus", split="train", download=True
)