csukuangfj/WSChuan-ASR
0
📂 Project Tree
WSChuan-ASR
├── paraformer_large_chuan/
│ ├── config.yaml
│ ├── model.pt
│ └── infer.py
│
├── Qwen2.5-omni3B/
| ├──added_tokens.json
| ├──args.json
| ├──char_template.jinja
| ├──config.json
| ├──generation_config.json
| ├──merges.txt
| ├──model-00001-of-00003.safetensors
| ├──model-00002-of-00003.safetensors
| ├──model-00003-of-00003.safetensors
| ├──model.safetensors.index.json
| ├──preprocessor_config.json
| ├──special_tokens_map.json
| ├──spk_dict.pt
| ├──tokenizer_config.json
| ├──tokenizer.json
| ├──video_preprocessor_config.json
| └──vocab.json
│
├── .gitattributes
└── README.mdASR Leaderboard
ASR Inference
ParaformerlargeChuan
export CUDA_VISIBLE_DEVICES=7
root_dir=./test_data
test_sets=("WSC-Eval-ASR" "WSC-Eval-ASR-Hard" "WSC-Eval-ASR-Easy")
model_dir=./model_dir
out_rootdir=./results
mkdir -p $out_rootdir
python infer_paraformer.py \
--model $model_dir \
--wav_scp_file $root_dir/$test_data/wav.scp \
--output_dir $out_rootdir/debug \
--device "cuda" \
--output_file $out_dir/hyp.txtQwen2.5-Omni-3B_Chuan
python infer_qwen2.5omni.py \
--wavs_path /path/to/your/wav.scp \
--out_path /path/to/your/results.txt \
--gpu 0 \
--model /path/to/your/modelNote:
Original: https://huggingface.co/ASLP-lab/WSChuan-ASR
Duplicated by: https://huggingface.co/spaces/huggingface-projects/repo_duplicator
