diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp index 4fc3de077..2b3fb91a8 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/prompt_tuning.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/prompt_tuning.py index d5918632a..afaec6557 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/prompt_tuning.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/prompt_tuning.py @@ -1560,7 +1560,7 @@ def run_adapter(rank, world_size, args, wb=None): logging.info(params) logging.info("About to create model") - model = get_transducer_model(params) + model = get_transducer_model(params, prompt=True) num_param = sum([p.numel() if p.requires_grad else 0 for p in model.parameters()]) logging.info(f"Number of model parameters: {num_param}") @@ -1618,8 +1618,6 @@ def run_adapter(rank, world_size, args, wb=None): librispeech = LibriSpeechAsrDataModule(args) - prompt = prompt.to('cuda') - ''' if params.hpo: train_cuts = librispeech.train_clean_10_cuts(option=params.gender) @@ -1689,7 +1687,6 @@ def run_adapter(rank, world_size, args, wb=None): world_size=world_size, rank=rank, wb=wb, - prompt=prompt, ) if params.print_diagnostics: