pere commited on
Commit
83407cc
2 Parent(s): 112f924 844c8c5
Files changed (1) hide show
  1. run_xla_test.sh +5 -5
run_xla_test.sh CHANGED
@@ -4,7 +4,7 @@
4
  #PT_XLA_DEBUG=1
5
  python xla_spawn.py --num_cores=4 run_whisper_finetuning.py\
6
  --model_name_or_path="openai/whisper-small" \
7
- --output_dir="../whisper-NST-TPU-test-2" \
8
  --overwrite_output_dir=True \
9
  --language="Norwegian" \
10
  --task="transcribe" \
@@ -18,14 +18,14 @@ python xla_spawn.py --num_cores=4 run_whisper_finetuning.py\
18
  --per_device_train_batch_size=16 \
19
  --learning_rate=2e-5 \
20
  --warmup_steps=0 \
21
- --max_steps=2000 \
22
  --gradient_checkpointing=True \
23
  --gradient_accumulation_steps=1 \
24
  --group_by_length=False \
25
  --evaluation_strategy="steps" \
26
- --save_steps=200 \
27
- --eval_steps=0 \
28
- --max_eval_samples=1 \
29
  --logging_steps=100 \
30
  --load_best_model_at_end=False \
31
  --metric_for_best_model="wer" \
 
4
  #PT_XLA_DEBUG=1
5
  python xla_spawn.py --num_cores=4 run_whisper_finetuning.py\
6
  --model_name_or_path="openai/whisper-small" \
7
+ --output_dir="../whisper-NST-TPU-test4" \
8
  --overwrite_output_dir=True \
9
  --language="Norwegian" \
10
  --task="transcribe" \
 
18
  --per_device_train_batch_size=16 \
19
  --learning_rate=2e-5 \
20
  --warmup_steps=0 \
21
+ --max_steps=20 \
22
  --gradient_checkpointing=True \
23
  --gradient_accumulation_steps=1 \
24
  --group_by_length=False \
25
  --evaluation_strategy="steps" \
26
+ --save_steps=20 \
27
+ --eval_steps=1 \
28
+ --max_eval_samples=2 \
29
  --logging_steps=100 \
30
  --load_best_model_at_end=False \
31
  --metric_for_best_model="wer" \