Views
No views yet
['p', 'ə', 'r', 'b', 'u', 'a', 't', 'a', 'n', 'ɲ', 'a']. Therefore, the model's vocabulary contains the different IPA phonemes found in g2p ID.1for m in greedy_search fast_beam_search modified_beam_search; do
2 ./pruned_transducer_stateless7_streaming/decode.py \
3 --epoch 30 \
4 --avg 9 \
5 --exp-dir ./pruned_transducer_stateless7_streaming/exp \
6 --max-duration 600 \
7 --decode-chunk-len 32 \
8 --decoding-method $m
9done| Decoding | LibriVox | FLEURS | Common Voice |
|---|---|---|---|
| Greedy Search | 4.87% | 11.45% | 14.97% |
| Modified Beam Search | 4.71% | 11.25% | 14.31% |
| Fast Beam Search | 4.85% | 12.55% | 14.89% |
1for m in greedy_search fast_beam_search modified_beam_search; do
2 ./pruned_transducer_stateless7_streaming/streaming_decode.py \
3 --epoch 30 \
4 --avg 9 \
5 --exp-dir ./pruned_transducer_stateless7_streaming/exp \
6 --decoding-method $m \
7 --decode-chunk-len 32 \
8 --num-decode-streams 1500
9done| Decoding | LibriVox | FLEURS | Common Voice |
|---|---|---|---|
| Greedy Search | 5.12% | 12.74% | 15.78% |
| Modified Beam Search | 4.78% | 11.83% | 14.54% |
| Fast Beam Search | 4.81% | 12.93% | 14.96% |
1cd egs/bookbot/ASR
2mkdir tmp
3cd tmp
4git lfs install
5git clone https://huggingface.co/bookbot/pruned-transducer-stateless7-streaming-id1./pruned_transducer_stateless7_streaming/jit_pretrained.py \
2 --nn-model-filename ./tmp/pruned-transducer-stateless7-streaming-id/exp/cpu_jit.pt \
3 --lang-dir ./tmp/pruned-transducer-stateless7-streaming-id/data/lang_phone \
4 ./tmp/pruned-transducer-stateless7-streaming-id/test_waves/sample1.wav2023-06-21 10:19:18,563 INFO [jit_pretrained.py:217] device: cpu
2023-06-21 10:19:19,231 INFO [lexicon.py:168] Loading pre-compiled tmp/pruned-transducer-stateless7-streaming-id/data/lang_phone/Linv.pt
2023-06-21 10:19:19,232 INFO [jit_pretrained.py:228] Constructing Fbank computer
2023-06-21 10:19:19,233 INFO [jit_pretrained.py:238] Reading sound files: ['./tmp/pruned-transducer-stateless7-streaming-id/test_waves/sample1.wav']
2023-06-21 10:19:19,234 INFO [jit_pretrained.py:244] Decoding started
2023-06-21 10:19:20,090 INFO [jit_pretrained.py:271]
./tmp/pruned-transducer-stateless7-streaming-id/test_waves/sample1.wav:
p u l a ŋ | s ə k o l a h | p i t ə r i | s a ŋ a t | l a p a r
2023-06-21 10:19:20,090 INFO [jit_pretrained.py:273] Decoding Done1git clone https://github.com/bookbot-hive/icefall
2cd icefall
3export PYTHONPATH=`pwd`:$PYTHONPATH1cd egs/bookbot_id/ASR
2./prepare.sh1export CUDA_VISIBLE_DEVICES="0"
2./pruned_transducer_stateless7_streaming/train.py \
3 --num-epochs 30 \
4 --use-fp16 1 \
5 --max-duration 400