aboutsummaryrefslogtreecommitdiff
path: root/config.philipp.yaml
diff options
context:
space:
mode:
authorPherkel2023-09-12 14:19:15 +0200
committerGitHub2023-09-12 14:19:15 +0200
commit7a9a6c783e69b5a537a3d3f5bfe8d5fdc656c807 (patch)
tree0725631b9b68aeb65b292420a15941dcfa3fc04f /config.philipp.yaml
parentf9846193289c81d89342b6a36e951605c2cfa189 (diff)
parent7b71dab87591e04d874cd636614450b0e65e3f2b (diff)
Merge pull request #37 from Algo-Boys/fix/ultimate
Fix/ultimate
Diffstat (limited to 'config.philipp.yaml')
-rw-r--r--config.philipp.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/config.philipp.yaml b/config.philipp.yaml
new file mode 100644
index 0000000..f72ce2e
--- /dev/null
+++ b/config.philipp.yaml
@@ -0,0 +1,34 @@
+model:
+ n_cnn_layers: 3
+ n_rnn_layers: 5
+ rnn_dim: 512
+ n_feats: 128 # number of mel features
+ stride: 2
+ dropout: 0.2 # recommended to be around 0.4-0.6 for smaller datasets, 0.1 for really large datasets
+
+training:
+ learning_rate: 0.0005
+ batch_size: 32 # recommended to maximum number that fits on the GPU (batch size of 32 fits on a 12GB GPU)
+ epochs: 150
+ eval_every_n: 5 # evaluate every n epochs
+ num_workers: 4 # number of workers for dataloader
+ device: "cuda" # device to run inference on if gpu is available, else "cpu" will be set automatically
+
+dataset:
+ download: true
+ dataset_root_path: "data" # files will be downloaded into this dir
+ language_name: "mls_german_opus"
+ limited_supervision: false # set to True if you want to use limited supervision
+ dataset_percentage: 1 # percentage of dataset to use (1.0 = 100%)
+ shuffle: true
+
+tokenizer:
+ tokenizer_path: "data/tokenizers/char_tokenizer_german.json"
+
+checkpoints:
+ model_load_path: "data/runs/epoch31" # path to load model from
+ model_save_path: "data/runs/epoch" # path to save model to
+
+inference:
+ model_load_path: "data/runs/epoch30" # path to load model from
+ device: "cuda" # device to run inference on if gpu is available, else "cpu" will be set automatically \ No newline at end of file