File size: 1,647 Bytes
a313e10 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
export GLOG_logtostderr=1
export GLOG_v=2
model_dir=./20211025_conformer_exp_aishell1
# docker run --rm -it -p 10086:10086 wenetorg/wenet:latest
# /home/wenet/runtime/libtorch/build/bin/websocket_server_main \
# --port 10086 \
# --chunk_size -1 \
# --model_path $model_dir/final.zip \
# --unit_path $model_dir/units.txt 2>&1 | tee server.log
# /home/wenet/runtime/libtorch/build/bin/websocket_server_main \
# --port 10086 \
# --chunk_size -1 \
# --model_path $model_dir/final_quant.zip \
# --unit_path $model_dir/units.txt 2>&1 | tee server.log
# git-lfs install
# git clone https://huggingface.co/yuekai/aishell1_tlg_essentials
# cd ./aishell1_tlg_essentials && git-lfs pull
/home/wenet/runtime/libtorch/build/bin/websocket_server_main \
--port 10086 \
--chunk_size -1 \
--blank_skip_thresh 0.98 \
--beam 15.0 --lattice_beam 7.5 --max_active 7000 \
--ctc_weight 0.5 --rescoring_weight 1.0 \
--dict_path ./aishell1_tlg_essentials/output/words.txt \
--fst_path ./aishell1_tlg_essentials/output/TLG.fst \
--model_path $model_dir/final.zip \
--unit_path $model_dir/units.txt 2>&1 | tee server.log
# /home/wenet/runtime/libtorch/build/bin/websocket_server_main \
# --port 10086 \
# --chunk_size -1 \
# --blank_skip_thresh 0.98 \
# --beam 15.0 --lattice_beam 7.5 --max_active 7000 \
# --ctc_weight 0.5 --rescoring_weight 1.0 \
# --dict_path ./aishell1_tlg_essentials/output/words.txt \
# --fst_path ./aishell1_tlg_essentials/output/TLG.fst \
# --model_path $model_dir/final_quant.zip \
# --unit_path $model_dir/units.txt 2>&1 | tee server.log |