File size: 765 Bytes
a1be16b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash

accelerate launch --mixed_precision=bf16 --num_processes=1 run_pseudo_labelling_pt.py \
  --model_name_or_path "openai/whisper-tiny" \
  --dataset_name "distil-whisper/librispeech_asr" \
  --dataset_config_name "all" \
  --data_split_name "validation.clean+validation.other" \
  --text_column_name "text" \
  --cache_dir "/home/sanchit/.cache" \
  --dataset_cache_dir "/home/sanchit/.cache" \
  --output_dir "./transcriptions-streaming" \
  --wandb_project "distil-whisper-debug" \
  --per_device_eval_batch_size 8 \
  --dtype "bfloat16" \
  --dataloader_num_workers 16 \
  --logging_steps 2 \
  --report_to "wandb" \
  --streaming \
  --max_samples_per_split 256 \
  --max_label_length 256 \
  --return_timestamps \
  --decode_token_ids False