Skip to content

Commit

Permalink
docs: Add multi-GPU usage to module docstring of finetune_asr_model
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Sep 26, 2024
1 parent e31c03b commit 9cb943f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/scripts/finetune_asr_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
"""Finetune a speech recognition model.
Usage:
python src/scripts/finetune_asr_model.py [key=value] [key=value] ...
Running on a single GPU:
python src/scripts/finetune_asr_model.py \
[key=value] [key=value] ...
Running on multiple GPUs:
accelerate launch [--use-deepspeed] src/scripts/finetune_asr_model.py \
[key=value] [key=value] ...
"""

import logging
Expand Down

0 comments on commit 9cb943f

Please sign in to comment.