RASMUS/Finnish-ASR-Canary-v2
01.2k
1# Copyright (c) 2020-2025, NVIDIA CORPORATION.2#3# Licensed under the Apache License, Version 2.0 (the "License");4# you may not use this file except in compliance with the License.5# You may obtain a copy of the License at6#7# http://www.apache.org/licenses/LICENSE-2.08#9# Unless required by applicable law or agreed to in writing, software10# distributed under the License is distributed on an "AS IS" BASIS,11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12# See the License for the specific language governing permissions and13# limitations under the License.14TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/magpietts.py \15 --config-name magpietts \16 model.model_type=multi_encoder_context_tts \17 +model.transcript_decoder_layers=[3,4,5,6,7] \18 +model.context_decoder_layers=[8,9] \19 +train_ds_meta.an4.manifest_path="/home/TestData/an4_dataset/an4_train_context_v1.json" \20 +train_ds_meta.an4.audio_dir="/" \21 +train_ds_meta.an4.tokenizer_names="[english_phoneme]" \22 +train_ds_meta.an4.feature_dir=null \23 +val_ds_meta.an4.manifest_path="/home/TestData/an4_dataset/an4_val_context_v1.json" \24 +val_ds_meta.an4.audio_dir="/" \25 +val_ds_meta.an4.tokenizer_names="[english_phoneme]" \26 +val_ds_meta.an4.feature_dir=null \27 max_epochs=1 \28 batch_size=4 \29 model.codecmodel_path="/home/TestData/tts/21fps_causal_codecmodel.nemo" \30 trainer.devices="[0]" \31 +trainer.limit_train_batches=1 \32 +trainer.limit_val_batches=1 \33 trainer.strategy=auto \34 model.train_ds.dataloader_params.num_workers=0 \35 model.validation_ds.dataloader_params.num_workers=0 \36 ~trainer.check_val_every_n_epoch37 