FireRedASR2S
A SOTA Industrial-Grade All-in-One ASR system with ASR, VAD, LID, and Punc modules. FireRedASR2 supports Chinese (Mandarin, 20+ dialects/accents), English, code-switching, and both speech and singing ASR. FireRedVAD supports speech/singing/music in 100+ langs. FireRedLID supports 100+ langs and 20+ zh dialects. FireRedPunc supports zh and en.
File Explorer
- event.wav
- FireRedASR2.png
- FireRedASR2S.png
- hello_en.wav
- hello_zh.wav
- fireredasr2
- inference_asr_aed.sh
- inference_asr_llm.sh
- pretrained_models
- wav
- wav4aed
- fireredasr2s
- inference_asr_system.sh
- pretrained_models
- wav
- wav4aed
- fireredlid
- inference_lid.sh
- pretrained_models
- wav
- wav4aed
- nopunc.txt
- fireredpunc
- inference_punc.sh
- pretrained_models
- wav.tar.gz
- wav.tar.gz
- fireredvad
- inference_aed.sh
- inference_stream_vad.sh
- inference_vad.sh
- pretrained_models
- asr_feat.py
- token_dict.py
- adapter.py
- conformer_encoder.py
- ctc.py
- transformer_decoder.py
- fireredasr_aed.py
- fireredasr_llm.py
- lstm_lm.py
- param.py
- aed_tokenizer.py
- llm_tokenizer.py
- io.py
- wer.py
- __init__.py
- asr.py
- speech2text.py
- feat.py
- token_dict.py
- conformer_encoder.py
- transformer_decoder.py
- fireredlid_aed.py
- param.py
- lid_tokenizer.py
- io.py
- __init__.py
- lid.py
- README.md
- speech2lang.py
- __init__.py
- hf_bert_tokenizer.py
- token_dict.py
- __init__.py
- fireredpunc_bert.py
- param.py
- __init__.py
- add_punc.py
- punc.py
- __init__.py
- aed.py
- fireredvad_cli.py
- stream_vad.py
- vad.py
- __init__.py
- audio_feat.py
- constants.py
- detect_model.py
- stream_vad_postprocessor.py
- vad_postprocessor.py
- __init__.py
- io.py
- __init__.py
- aed.py
- stream_vad.py
- vad.py
- __init__.py
- fireredasr2s-cli
- fireredasr2s_cli.py
- fireredasr2system.py
- aed_tokenizer.py
- asr_feat.py
- fireredasr_aed_tensorrt.py
- model.py
- config.pbtxt
- convert_checkpoint.py
- export_encoder_tensorrt.py
- export_tensorrt.sh
- ctc.py
- docker-compose.yml
- Dockerfile
- http_client.py
- infer.py
- pyproject.toml
- README.md
- run.sh
- uv.lock
- .gitignore
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
ffmpeg
View Details ▼
ffmpeg
Video conversion tool.
See also: `gst-launch-1.0`.
ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}
Extract the sound from a video and save it as MP3:
ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}
Transcode a FLAC file to Red Book CD format (44100kHz, 16bit):
ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:1000' -r 15 {{path/to/output.gif}}
Save a video as GIF, scaling the height to 1000px and setting framerate to 15:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
huggingface-cli
View Details ▼
huggingface-cli
This command is an alias of `hf`.
tldr hf
View documentation for the original command:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python3
View Details ▼
python3
This command is an alias of `python`.
tldr python
View documentation for the original command:
