gerryc commited on
Commit
2b24357
1 Parent(s): 0103917

Training in progress, step 1000

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "openai/whisper-small",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "architectures": [
 
1
  {
2
+ "_name_or_path": "gerryc/whisper-small-ar",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "architectures": [
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6bd105af5822c4ea555248d7265a2e4584a35330a88bd95dac230a2ab282d6c
3
  size 967102601
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adf21435a36297bdf8ca67e060fb08761854d387efe59c9d87afb8fb3c055cd9
3
  size 967102601
runs/Dec09_22-29-52_150-136-66-91/1670625011.7124658/events.out.tfevents.1670625011.150-136-66-91.153804.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb4ec7f1ffd1583ec745882940471dce0ead727edf65321819a0f1dde03ed067
3
+ size 5869
runs/Dec09_22-29-52_150-136-66-91/events.out.tfevents.1670625011.150-136-66-91.153804.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69bbd4ccbfdc1e0cccada7050c910e17c4d56061a6e40966cbe41af90f465299
3
+ size 10853
tokenizer_config.json CHANGED
@@ -19,7 +19,7 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 1024,
22
- "name_or_path": "openai/whisper-small",
23
  "pad_token": null,
24
  "processor_class": "WhisperProcessor",
25
  "return_attention_mask": false,
 
19
  },
20
  "errors": "replace",
21
  "model_max_length": 1024,
22
+ "name_or_path": "gerryc/whisper-small-ar",
23
  "pad_token": null,
24
  "processor_class": "WhisperProcessor",
25
  "return_attention_mask": false,
train2.sh ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ python run_speech_recognition_seq2seq_streaming.py \
2
+ --model_name_or_path="gerryc/whisper-small-ar" \
3
+ --dataset_name="mozilla-foundation/common_voice_11_0" \
4
+ --dataset_config_name="ar" \
5
+ --language="arabic" \
6
+ --train_split_name="train" \
7
+ --eval_split_name="validation" \
8
+ --max_eval_samples=256 \
9
+ --do_lower_case \
10
+ --do_remove_punctuation \
11
+ --model_index_name="Whisper Small Arabic" \
12
+ --max_steps="50000" \
13
+ --output_dir="./" \
14
+ --per_device_train_batch_size="64" \
15
+ --per_device_eval_batch_size="32" \
16
+ --logging_steps="25" \
17
+ --learning_rate="1e-5" \
18
+ --warmup_steps="500" \
19
+ --evaluation_strategy="steps" \
20
+ --eval_steps="1000" \
21
+ --save_strategy="steps" \
22
+ --save_steps="1000" \
23
+ --generation_max_length="225" \
24
+ --length_column_name="input_length" \
25
+ --max_duration_in_seconds="30" \
26
+ --text_column_name="sentence" \
27
+ --freeze_feature_encoder="False" \
28
+ --report_to="tensorboard" \
29
+ --metric_for_best_model="wer" \
30
+ --greater_is_better="False" \
31
+ --load_best_model_at_end \
32
+ --gradient_checkpointing \
33
+ --fp16 \
34
+ --overwrite_output_dir \
35
+ --do_train \
36
+ --do_eval \
37
+ --predict_with_generate \
38
+ --do_normalize_eval \
39
+ --streaming \
40
+ --use_auth_token \
41
+ --push_to_hub
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cdd16fa657d48d514adf5732acdd109ad7c1338a57d1f8b857c022b07a7e05df
3
  size 3579
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:587e06ffef62adbf1f508d5d25bcb28386f1133172f2384339b580f2f0e5cc43
3
  size 3579