audio-asr
Use this sub-skill for AXLearn's speech and ASR workflows.
Typical triggers:
- Conformer, LibriSpeech,
ASREncoder,ASRModel, or speech feature extraction. LogMelFrontend,SpeechFeatureLayer,speech_input,text_input, orWordErrorRateMetricCalculator.- Streaming layer helpers or ASR decode / evaluation utilities.
If the task is only about the shared trainer runtime, use ../training-core/ first.
If the task is about axlearn gcp ..., use ../cli-cloud/.
What to read
references/workflows.mdfor LibriSpeech and ASR workflow structure.references/troubleshooting.mdfor tokenizer, fake-data, and feature-extraction failures.scripts/inspect_audio_configs.pyfor a safe config-inspection helper.
Common routes
Inspect the LibriSpeech trainer catalog
python scripts/inspect_audio_configs.py --module axlearn.experiments.audio.conformer.librispeech_trainer --config conformer-test-ctc --data-dir FAKE
Run a CPU-safe fake-data probe
Set DATA_DIR=FAKE so the LibriSpeech helpers use synthetic speech/text examples instead of TFDS-backed data.
Inspect ASR building blocks
The core pieces are:
LogMelFrontendfor log-mel feature extraction.SpeechFeatureLayerfor feature extraction + subsampling.ASREncoderandASRModelfor the encoder-decoder stack.WordErrorRateMetricCalculatorfor decoding-based evaluation.
Decision points
- Choose this sub-skill when the task names speech, ASR, Conformer, LibriSpeech, or WER.
- Keep shared trainer mechanics in
training-core. - Do not route GPT or vision questions here just because they also use
SpmdTrainer.