Commit
·
51186ff
1
Parent(s):
6a0b76e
Training in progress, step 500
Browse files- .ipynb_checkpoints/run-checkpoint.sh +3 -3
- previous_runs/run2.sh +35 -0
- pytorch_model.bin +1 -1
- run.sh +3 -3
- special_tokens_map.json +1 -1
- training_args.bin +1 -1
.ipynb_checkpoints/run-checkpoint.sh
CHANGED
@@ -5,11 +5,11 @@ python run_speech_recognition_ctc_bnb.py \
|
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="10" \
|
8 |
-
--per_device_train_batch_size="
|
9 |
--per_device_eval_batch_size="8" \
|
10 |
-
--gradient_accumulation_steps="
|
11 |
--learning_rate="6.5e-5" \
|
12 |
-
--warmup_steps="
|
13 |
--length_column_name="input_length" \
|
14 |
--evaluation_strategy="steps" \
|
15 |
--text_column_name="sentence" \
|
|
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="10" \
|
8 |
+
--per_device_train_batch_size="32" \
|
9 |
--per_device_eval_batch_size="8" \
|
10 |
+
--gradient_accumulation_steps="2" \
|
11 |
--learning_rate="6.5e-5" \
|
12 |
+
--warmup_steps="500" \
|
13 |
--length_column_name="input_length" \
|
14 |
--evaluation_strategy="steps" \
|
15 |
--text_column_name="sentence" \
|
previous_runs/run2.sh
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python run_speech_recognition_ctc_bnb.py \
|
2 |
+
--dataset_name="mozilla-foundation/common_voice_8_0" \
|
3 |
+
--model_name_or_path="facebook/wav2vec2-xls-r-1b" \
|
4 |
+
--dataset_config_name="ar" \
|
5 |
+
--output_dir="./" \
|
6 |
+
--overwrite_output_dir \
|
7 |
+
--num_train_epochs="10" \
|
8 |
+
--per_device_train_batch_size="16" \
|
9 |
+
--per_device_eval_batch_size="8" \
|
10 |
+
--gradient_accumulation_steps="4" \
|
11 |
+
--learning_rate="6.5e-5" \
|
12 |
+
--warmup_steps="2000" \
|
13 |
+
--length_column_name="input_length" \
|
14 |
+
--evaluation_strategy="steps" \
|
15 |
+
--text_column_name="sentence" \
|
16 |
+
--chars_to_ignore , ? . ! \- \; \: \" “ % ‘ ” � — ’ … – \
|
17 |
+
--save_steps="500" \
|
18 |
+
--eval_steps="500" \
|
19 |
+
--logging_steps="100" \
|
20 |
+
--layerdrop="0.0" \
|
21 |
+
--activation_dropout="0.1" \
|
22 |
+
--save_total_limit="4" \
|
23 |
+
--freeze_feature_encoder \
|
24 |
+
--feat_proj_dropout="0.0" \
|
25 |
+
--mask_time_prob="0.75" \
|
26 |
+
--mask_time_length="10" \
|
27 |
+
--mask_feature_prob="0.25" \
|
28 |
+
--mask_feature_length="64" \
|
29 |
+
--gradient_checkpointing \
|
30 |
+
--use_auth_token \
|
31 |
+
--fp16 \
|
32 |
+
--group_by_length \
|
33 |
+
--do_train --do_eval \
|
34 |
+
--push_to_hub
|
35 |
+
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3850799473
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eeb00bccae6d7ea51d516a4124467126a9777ca0ae6e1e0a15c2785e956204d5
|
3 |
size 3850799473
|
run.sh
CHANGED
@@ -5,11 +5,11 @@ python run_speech_recognition_ctc_bnb.py \
|
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="10" \
|
8 |
-
--per_device_train_batch_size="
|
9 |
--per_device_eval_batch_size="8" \
|
10 |
-
--gradient_accumulation_steps="
|
11 |
--learning_rate="6.5e-5" \
|
12 |
-
--warmup_steps="
|
13 |
--length_column_name="input_length" \
|
14 |
--evaluation_strategy="steps" \
|
15 |
--text_column_name="sentence" \
|
|
|
5 |
--output_dir="./" \
|
6 |
--overwrite_output_dir \
|
7 |
--num_train_epochs="10" \
|
8 |
+
--per_device_train_batch_size="32" \
|
9 |
--per_device_eval_batch_size="8" \
|
10 |
+
--gradient_accumulation_steps="2" \
|
11 |
--learning_rate="6.5e-5" \
|
12 |
+
--warmup_steps="500" \
|
13 |
--length_column_name="input_length" \
|
14 |
--evaluation_strategy="steps" \
|
15 |
--text_column_name="sentence" \
|
special_tokens_map.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]", "additional_special_tokens": [{"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}]}
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]", "additional_special_tokens": [{"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}]}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2991
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00209e0242d354d1d01a12fd2e88cb4dd6c538753d5d6553cc95ceeefec9a1eb
|
3 |
size 2991
|