Matthijs commited on
Commit
0f47cc1
1 Parent(s): 0dd7b3a

Upload SpeechT5ForSpeechToText

Browse files
Files changed (3) hide show
  1. config.json +88 -0
  2. generation_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "apply_spec_augment": true,
4
+ "architectures": [
5
+ "SpeechT5ForSpeechToText"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "bos_token_id": 0,
9
+ "conv_bias": false,
10
+ "conv_dim": [
11
+ 512,
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512
18
+ ],
19
+ "conv_kernel": [
20
+ 10,
21
+ 3,
22
+ 3,
23
+ 3,
24
+ 3,
25
+ 2,
26
+ 2
27
+ ],
28
+ "conv_stride": [
29
+ 5,
30
+ 2,
31
+ 2,
32
+ 2,
33
+ 2,
34
+ 2,
35
+ 2
36
+ ],
37
+ "decoder_attention_heads": 12,
38
+ "decoder_ffn_dim": 3072,
39
+ "decoder_layerdrop": 0.1,
40
+ "decoder_layers": 6,
41
+ "decoder_max_relative_position": 160,
42
+ "decoder_start_token_id": 2,
43
+ "encoder_attention_heads": 12,
44
+ "encoder_ffn_dim": 3072,
45
+ "encoder_layerdrop": 0.1,
46
+ "encoder_layers": 12,
47
+ "encoder_max_relative_position": 160,
48
+ "eos_token_id": 2,
49
+ "feat_extract_activation": "gelu",
50
+ "feat_extract_norm": "group",
51
+ "feat_proj_dropout": 0.0,
52
+ "hidden_act": "gelu",
53
+ "hidden_dropout": 0.1,
54
+ "hidden_size": 768,
55
+ "initializer_range": 0.02,
56
+ "is_encoder_decoder": true,
57
+ "layer_norm_eps": 1e-05,
58
+ "mask_feature_length": 10,
59
+ "mask_feature_min_masks": 0,
60
+ "mask_feature_prob": 0.0,
61
+ "mask_time_length": 10,
62
+ "mask_time_min_masks": 2,
63
+ "mask_time_prob": 0.05,
64
+ "max_length": 450,
65
+ "max_speech_positions": 4000,
66
+ "max_text_positions": 450,
67
+ "model_type": "speecht5",
68
+ "num_conv_pos_embedding_groups": 16,
69
+ "num_conv_pos_embeddings": 128,
70
+ "num_feat_extract_layers": 7,
71
+ "num_mel_bins": 80,
72
+ "pad_token_id": 1,
73
+ "positional_dropout": 0.1,
74
+ "reduction_factor": 2,
75
+ "scale_embedding": false,
76
+ "speaker_embedding_dim": 512,
77
+ "speech_decoder_postnet_dropout": 0.5,
78
+ "speech_decoder_postnet_kernel": 5,
79
+ "speech_decoder_postnet_layers": 5,
80
+ "speech_decoder_postnet_units": 256,
81
+ "speech_decoder_prenet_dropout": 0.5,
82
+ "speech_decoder_prenet_layers": 2,
83
+ "speech_decoder_prenet_units": 256,
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.27.0.dev0",
86
+ "use_cache": true,
87
+ "vocab_size": 81
88
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "max_length": 450,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "4.27.0.dev0"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c981c2243ff3dcdf3700446a58d9cb809bf0bcb65dc5fee3a94ee830db363cc7
3
+ size 606181213