Upload FlaxWhisperForConditionalGeneration
Browse files- config.json +10 -1
- flax_model.msgpack +3 -0
- generation_config.json +15 -0
config.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"_name_or_path": "openai/whisper-tiny",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
|
|
5 |
"architectures": [
|
6 |
"WhisperForConditionalGeneration"
|
7 |
],
|
@@ -11,6 +12,7 @@
|
|
11 |
50257
|
12 |
],
|
13 |
"bos_token_id": 50257,
|
|
|
14 |
"d_model": 384,
|
15 |
"decoder_attention_heads": 6,
|
16 |
"decoder_ffn_dim": 1536,
|
@@ -26,6 +28,12 @@
|
|
26 |
"forced_decoder_ids": null,
|
27 |
"init_std": 0.02,
|
28 |
"is_encoder_decoder": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"max_length": 448,
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
@@ -36,7 +44,8 @@
|
|
36 |
"scale_embedding": false,
|
37 |
"suppress_tokens": [],
|
38 |
"torch_dtype": "float32",
|
39 |
-
"transformers_version": "4.
|
40 |
"use_cache": false,
|
|
|
41 |
"vocab_size": 51865
|
42 |
}
|
|
|
2 |
"_name_or_path": "openai/whisper-tiny",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": false,
|
6 |
"architectures": [
|
7 |
"WhisperForConditionalGeneration"
|
8 |
],
|
|
|
12 |
50257
|
13 |
],
|
14 |
"bos_token_id": 50257,
|
15 |
+
"classifier_proj_size": 256,
|
16 |
"d_model": 384,
|
17 |
"decoder_attention_heads": 6,
|
18 |
"decoder_ffn_dim": 1536,
|
|
|
28 |
"forced_decoder_ids": null,
|
29 |
"init_std": 0.02,
|
30 |
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 10,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.0,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.05,
|
37 |
"max_length": 448,
|
38 |
"max_source_positions": 1500,
|
39 |
"max_target_positions": 448,
|
|
|
44 |
"scale_embedding": false,
|
45 |
"suppress_tokens": [],
|
46 |
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.27.4",
|
48 |
"use_cache": false,
|
49 |
+
"use_weighted_layer_sum": false,
|
50 |
"vocab_size": 51865
|
51 |
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b3535a042f7ed7a22f83e7be2daabde8bf7e8bb6743410408eba75fa347f082
|
3 |
+
size 151048591
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"begin_suppress_tokens": [
|
4 |
+
220,
|
5 |
+
50257
|
6 |
+
],
|
7 |
+
"bos_token_id": 50257,
|
8 |
+
"decoder_start_token_id": 50258,
|
9 |
+
"eos_token_id": 50257,
|
10 |
+
"max_length": 448,
|
11 |
+
"pad_token_id": 50257,
|
12 |
+
"suppress_tokens": [],
|
13 |
+
"transformers_version": "4.27.4",
|
14 |
+
"use_cache": false
|
15 |
+
}
|