|
#!/usr/bin/env bash |
|
|
|
export CUDA_VISIBLE_DEVICES="0,1" |
|
|
|
git lfs install |
|
git clone https://huggingface.co/csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless7-2022-11-11 |
|
|
|
./pruned_transducer_stateless7/finetune.py \ |
|
--world-size 2 \ |
|
--num-epochs 20 \ |
|
--start-epoch 1 \ |
|
--exp-dir pruned_transducer_stateless7/exp \ |
|
--subset S \ |
|
--use-fp16 1 \ |
|
--base-lr 0.005 \ |
|
--lr-epochs 100 \ |
|
--lr-batches 100000 \ |
|
--bpe-model icefall-asr-librispeech-pruned-transducer-stateless7-2022-11-11/data/lang_bpe_500/bpe.model \ |
|
--do-finetune 1 \ |
|
--use-mux 1 \ |
|
--finetune-ckpt icefall-asr-librispeech-pruned-transducer-stateless7-2022-11-11/exp/pretrained.pt \ |
|
--max-duration 500 |
|
|