ayousanz commited on
Commit
e95480b
·
verified ·
1 Parent(s): 37682e9

Upload 7 files

Browse files
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "esnya/japanese_speecht5_tts",
4
+ "activation_dropout": 0.1,
5
+ "apply_spec_augment": true,
6
+ "architectures": [
7
+ "SpeechT5ForTextToSpeech"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 0,
11
+ "conv_bias": false,
12
+ "conv_dim": [
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512
20
+ ],
21
+ "conv_kernel": [
22
+ 10,
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 3,
27
+ 2,
28
+ 2
29
+ ],
30
+ "conv_stride": [
31
+ 5,
32
+ 2,
33
+ 2,
34
+ 2,
35
+ 2,
36
+ 2,
37
+ 2
38
+ ],
39
+ "decoder_attention_heads": 12,
40
+ "decoder_ffn_dim": 3072,
41
+ "decoder_layerdrop": 0.1,
42
+ "decoder_layers": 6,
43
+ "decoder_start_token_id": 2,
44
+ "encoder_attention_heads": 12,
45
+ "encoder_ffn_dim": 3072,
46
+ "encoder_layerdrop": 0.1,
47
+ "encoder_layers": 12,
48
+ "encoder_max_relative_position": 160,
49
+ "eos_token_id": 2,
50
+ "feat_extract_activation": "gelu",
51
+ "feat_extract_norm": "group",
52
+ "feat_proj_dropout": 0.0,
53
+ "guided_attention_loss_num_heads": 2,
54
+ "guided_attention_loss_scale": 10.0,
55
+ "guided_attention_loss_sigma": 0.4,
56
+ "hidden_act": "gelu",
57
+ "hidden_dropout": 0.1,
58
+ "hidden_size": 768,
59
+ "initializer_range": 0.02,
60
+ "is_encoder_decoder": true,
61
+ "layer_norm_eps": 1e-05,
62
+ "mask_feature_length": 10,
63
+ "mask_feature_min_masks": 0,
64
+ "mask_feature_prob": 0.0,
65
+ "mask_time_length": 10,
66
+ "mask_time_min_masks": 2,
67
+ "mask_time_prob": 0.05,
68
+ "max_length": 1876,
69
+ "max_speech_positions": 1876,
70
+ "max_text_positions": 600,
71
+ "model_type": "speecht5",
72
+ "num_conv_pos_embedding_groups": 16,
73
+ "num_conv_pos_embeddings": 128,
74
+ "num_feat_extract_layers": 7,
75
+ "num_mel_bins": 80,
76
+ "pad_token_id": 1,
77
+ "positional_dropout": 0.1,
78
+ "reduction_factor": 2,
79
+ "scale_embedding": false,
80
+ "speaker_embedding_dim": 16,
81
+ "speech_decoder_postnet_dropout": 0.5,
82
+ "speech_decoder_postnet_kernel": 5,
83
+ "speech_decoder_postnet_layers": 5,
84
+ "speech_decoder_postnet_units": 256,
85
+ "speech_decoder_prenet_dropout": 0.5,
86
+ "speech_decoder_prenet_layers": 2,
87
+ "speech_decoder_prenet_units": 256,
88
+ "torch_dtype": "float32",
89
+ "transformers_version": "4.49.0",
90
+ "use_cache": true,
91
+ "use_guided_attention_loss": true,
92
+ "vocab_size": 112
93
+ }
decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:714c4dfa63fce687dc287b16cd92f8d9cca3ee76537759ac76e5e849612d97bf
3
+ size 236935185
decoder_postnet_and_vocoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b398e4f2f119d3c744175a8a8560ded3831aa74d30e9713df491800743bda3cb
3
+ size 55432027
decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37e1151f8f1746961613f2d05bd0df321f011d1946a50d34c3b576a7c3dc3385
3
+ size 208566744
encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:463523f904485d8d32c17b9b5c98bafd8d243ba82339f847276a2e9987460af7
3
+ size 342898703
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": 1876,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "4.49.0"
9
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": false,
3
+ "feature_extractor_type": "SpeechT5FeatureExtractor",
4
+ "feature_size": 1,
5
+ "fmax": 7600,
6
+ "fmin": 80,
7
+ "frame_signal_scale": 1.0,
8
+ "hop_length": 16,
9
+ "mel_floor": 1e-10,
10
+ "num_mel_bins": 80,
11
+ "padding_side": "right",
12
+ "padding_value": 0.0,
13
+ "processor_class": "SpeechT5Processor",
14
+ "reduction_factor": 2,
15
+ "return_attention_mask": true,
16
+ "sampling_rate": 16000,
17
+ "win_function": "hann_window",
18
+ "win_length": 64
19
+ }