script/down_on.sub
Browse files- script/down_on.sub +38 -0
script/down_on.sub
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
#SBATCH -J down_on # Job name
|
| 3 |
+
#SBATCH -o down_on_%j.out # Name of stdout output log file (%j expands to jobID)
|
| 4 |
+
#SBATCH -e down_on_%j.err # Name of stderr output log file (%j expands to jobID)
|
| 5 |
+
#SBATCH -N 1 # Total number of nodes requested
|
| 6 |
+
#SBATCH -n 1 # Total number of cores requested
|
| 7 |
+
#SBATCH --mem=5000 # Total amount of (real) memory requested (per node)
|
| 8 |
+
#SBATCH -t 10:00:00 # Time limit (hh:mm:ss)
|
| 9 |
+
#SBATCH --partition=gpu # Request partition for resource allocation
|
| 10 |
+
#SBATCH --gres=gpu:1 # Specify a list of generic consumable resources (per node)
|
| 11 |
+
|
| 12 |
+
cd /home/mr249/ac_h
|
| 13 |
+
/home/mr249/env/hugh/bin/python run_audio_classification.py \
|
| 14 |
+
--model_name_or_path facebook/wav2vec2-base \
|
| 15 |
+
--dataset_name MatsRooth/down_on \
|
| 16 |
+
--output_dir wav2vec2-base_down_on \
|
| 17 |
+
--overwrite_output_dir \
|
| 18 |
+
--remove_unused_columns False \
|
| 19 |
+
--do_train \
|
| 20 |
+
--do_eval \
|
| 21 |
+
--fp16 \
|
| 22 |
+
--learning_rate 3e-5 \
|
| 23 |
+
--max_length_seconds 1 \
|
| 24 |
+
--attention_mask False \
|
| 25 |
+
--warmup_ratio 0.1 \
|
| 26 |
+
--num_train_epochs 5 \
|
| 27 |
+
--per_device_train_batch_size 32 \
|
| 28 |
+
--gradient_accumulation_steps 4 \
|
| 29 |
+
--per_device_eval_batch_size 32 \
|
| 30 |
+
--dataloader_num_workers 1 \
|
| 31 |
+
--logging_strategy steps \
|
| 32 |
+
--logging_steps 10 \
|
| 33 |
+
--evaluation_strategy epoch \
|
| 34 |
+
--save_strategy epoch \
|
| 35 |
+
--load_best_model_at_end True \
|
| 36 |
+
--metric_for_best_model accuracy \
|
| 37 |
+
--save_total_limit 3 \
|
| 38 |
+
--seed 0
|