tuananh7198
commited on
Commit
•
1d1312a
1
Parent(s):
b333424
Model save
Browse files- config.json +9 -9
- pytorch_model.bin +2 -2
- run.sh +6 -5
- runs/Dec16_22-32-26_ip-172-16-16-209.ec2.internal/1671230049.1602852/events.out.tfevents.1671230049.ip-172-16-16-209.ec2.internal.12258.1 +3 -0
- runs/Dec16_22-32-26_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230049.ip-172-16-16-209.ec2.internal.12258.0 +3 -0
- runs/Dec16_22-40-12_ip-172-16-16-209.ec2.internal/1671230436.8033047/events.out.tfevents.1671230436.ip-172-16-16-209.ec2.internal.18804.1 +3 -0
- runs/Dec16_22-40-12_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230436.ip-172-16-16-209.ec2.internal.18804.0 +3 -0
- runs/Dec16_22-43-26_ip-172-16-16-209.ec2.internal/1671230631.900337/events.out.tfevents.1671230631.ip-172-16-16-209.ec2.internal.21903.1 +3 -0
- runs/Dec16_22-43-26_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230631.ip-172-16-16-209.ec2.internal.21903.0 +3 -0
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "openai/whisper-
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"architectures": [
|
@@ -11,17 +11,17 @@
|
|
11 |
50257
|
12 |
],
|
13 |
"bos_token_id": 50257,
|
14 |
-
"d_model":
|
15 |
-
"decoder_attention_heads":
|
16 |
-
"decoder_ffn_dim":
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
-
"decoder_layers":
|
19 |
"decoder_start_token_id": 50258,
|
20 |
"dropout": 0.0,
|
21 |
-
"encoder_attention_heads":
|
22 |
-
"encoder_ffn_dim":
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
-
"encoder_layers":
|
25 |
"eos_token_id": 50257,
|
26 |
"forced_decoder_ids": null,
|
27 |
"init_std": 0.02,
|
@@ -30,7 +30,7 @@
|
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
32 |
"model_type": "whisper",
|
33 |
-
"num_hidden_layers":
|
34 |
"num_mel_bins": 80,
|
35 |
"pad_token_id": 50257,
|
36 |
"scale_embedding": false,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/whisper-large",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"architectures": [
|
|
|
11 |
50257
|
12 |
],
|
13 |
"bos_token_id": 50257,
|
14 |
+
"d_model": 1280,
|
15 |
+
"decoder_attention_heads": 20,
|
16 |
+
"decoder_ffn_dim": 5120,
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 32,
|
19 |
"decoder_start_token_id": 50258,
|
20 |
"dropout": 0.0,
|
21 |
+
"encoder_attention_heads": 20,
|
22 |
+
"encoder_ffn_dim": 5120,
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 32,
|
25 |
"eos_token_id": 50257,
|
26 |
"forced_decoder_ids": null,
|
27 |
"init_std": 0.02,
|
|
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
32 |
"model_type": "whisper",
|
33 |
+
"num_hidden_layers": 32,
|
34 |
"num_mel_bins": 80,
|
35 |
"pad_token_id": 50257,
|
36 |
"scale_embedding": false,
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b171162e0f6c3c123f162425aaf1faa210d63e93692be3832d6eb1f2da952b1
|
3 |
+
size 6173647530
|
run.sh
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
python run_speech_recognition_seq2seq_streaming.py \
|
2 |
-
--model_name_or_path="openai/whisper-
|
3 |
--dataset_name="mozilla-foundation/common_voice_11_0" \
|
4 |
--dataset_config_name="vi" \
|
5 |
--language="vi" \
|
6 |
--train_split_name="train+validation" \
|
7 |
--eval_split_name="test" \
|
8 |
--model_index_name="Whisper Medium Vietnamese" \
|
9 |
-
--max_steps="
|
10 |
--output_dir="./" \
|
11 |
-
--per_device_train_batch_size="
|
12 |
-
--per_device_eval_batch_size="
|
13 |
--logging_steps="25" \
|
14 |
--learning_rate="1e-5" \
|
15 |
--warmup_steps="100" \
|
@@ -34,4 +34,5 @@ python run_speech_recognition_seq2seq_streaming.py \
|
|
34 |
--do_normalize_eval \
|
35 |
--streaming \
|
36 |
--use_auth_token \
|
37 |
-
--push_to_hub
|
|
|
|
1 |
python run_speech_recognition_seq2seq_streaming.py \
|
2 |
+
--model_name_or_path="openai/whisper-large" \
|
3 |
--dataset_name="mozilla-foundation/common_voice_11_0" \
|
4 |
--dataset_config_name="vi" \
|
5 |
--language="vi" \
|
6 |
--train_split_name="train+validation" \
|
7 |
--eval_split_name="test" \
|
8 |
--model_index_name="Whisper Medium Vietnamese" \
|
9 |
+
--max_steps="1" \
|
10 |
--output_dir="./" \
|
11 |
+
--per_device_train_batch_size="1" \
|
12 |
+
--per_device_eval_batch_size="1" \
|
13 |
--logging_steps="25" \
|
14 |
--learning_rate="1e-5" \
|
15 |
--warmup_steps="100" \
|
|
|
34 |
--do_normalize_eval \
|
35 |
--streaming \
|
36 |
--use_auth_token \
|
37 |
+
--push_to_hub \
|
38 |
+
--optim="adafactor"
|
runs/Dec16_22-32-26_ip-172-16-16-209.ec2.internal/1671230049.1602852/events.out.tfevents.1671230049.ip-172-16-16-209.ec2.internal.12258.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a49fb63cfca9722716afb42f531506a9b654e12df67525792484a87c629dcd05
|
3 |
+
size 5885
|
runs/Dec16_22-32-26_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230049.ip-172-16-16-209.ec2.internal.12258.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e43d4f39f330c9ed2389759df229943264ffdd32b1743d25581fa654b34c5c5a
|
3 |
+
size 4281
|
runs/Dec16_22-40-12_ip-172-16-16-209.ec2.internal/1671230436.8033047/events.out.tfevents.1671230436.ip-172-16-16-209.ec2.internal.18804.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18da789c906ff6e7173fb9c818dfec1bb2be2488e1c35e74d50b6864438866c1
|
3 |
+
size 5886
|
runs/Dec16_22-40-12_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230436.ip-172-16-16-209.ec2.internal.18804.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27acde4ac608584e1408edd1527f4caf55b546e133cbc389e1943166dd202287
|
3 |
+
size 4282
|
runs/Dec16_22-43-26_ip-172-16-16-209.ec2.internal/1671230631.900337/events.out.tfevents.1671230631.ip-172-16-16-209.ec2.internal.21903.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:676abc95158f2282c3e598f121c04df5e06037b09b9c62d262993f550f364249
|
3 |
+
size 5886
|
runs/Dec16_22-43-26_ip-172-16-16-209.ec2.internal/events.out.tfevents.1671230631.ip-172-16-16-209.ec2.internal.21903.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8ff1544ca0236947e9b3ef3f8e9b5c4eed6be0ef26c469076e01d4c9c741a30
|
3 |
+
size 4627
|
tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 1024,
|
22 |
-
"name_or_path": "openai/whisper-
|
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": "openai/whisper-large",
|
23 |
"pad_token": null,
|
24 |
"processor_class": "WhisperProcessor",
|
25 |
"return_attention_mask": false,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3567
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:830f6ecfa0a963c5e4ff14505bfc4032398db3e6c643bafb761761372b95daa0
|
3 |
size 3567
|