Views
No views yet
GaudiConfig file for running the Wav2Vec2 model on Habana's Gaudi processors (HPU).use_fused_adam: whether to use Habana's custom AdamW implementationuse_fused_clip_norm: whether to use Habana's fused gradient norm clipping operatoruse_torch_autocast: whether to use Torch Autocast for managing mixed precision1python run_audio_classification.py \
2 --model_name_or_path facebook/wav2vec2-base \
3 --dataset_name superb \
4 --dataset_config_name ks \
5 --output_dir /tmp/wav2vec2-base-ft-keyword-spotting \
6 --overwrite_output_dir \
7 --remove_unused_columns False \
8 --do_train \
9 --do_eval \
10 --learning_rate 3e-5 \
11 --max_length_seconds 1 \
12 --attention_mask False \
13 --warmup_ratio 0.1 \
14 --num_train_epochs 5 \
15 --per_device_train_batch_size 256 \
16 --per_device_eval_batch_size 256 \
17 --dataloader_num_workers 4 \
18 --seed 27 \
19 --use_habana \
20 --use_lazy_mode \
21 --gaudi_config_name Habana/wav2vec2 \
22 --throughput_warmup_steps 2 \
23 --bf16