Update tiny models for FastSpeech2ConformerModel
Browse files- config.json +86 -0
- model.safetensors +3 -0
- tokenizer_config.json +39 -0
- vocab.json +1 -0
config.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FastSpeech2ConformerModel"
|
| 4 |
+
],
|
| 5 |
+
"convolution_bias": true,
|
| 6 |
+
"decoder_attention_dropout_rate": 0.2,
|
| 7 |
+
"decoder_concat_after": false,
|
| 8 |
+
"decoder_config": {
|
| 9 |
+
"attention_dropout_rate": 0.2,
|
| 10 |
+
"concat_after": false,
|
| 11 |
+
"dropout_rate": 0.2,
|
| 12 |
+
"kernel_size": 31,
|
| 13 |
+
"layers": 1,
|
| 14 |
+
"linear_units": 384,
|
| 15 |
+
"normalize_before": false,
|
| 16 |
+
"num_attention_heads": 2,
|
| 17 |
+
"positional_dropout_rate": 0.2
|
| 18 |
+
},
|
| 19 |
+
"decoder_dropout_rate": 0.2,
|
| 20 |
+
"decoder_kernel_size": 31,
|
| 21 |
+
"decoder_layers": 1,
|
| 22 |
+
"decoder_linear_units": 384,
|
| 23 |
+
"decoder_normalize_before": false,
|
| 24 |
+
"decoder_num_attention_heads": 2,
|
| 25 |
+
"decoder_positional_dropout_rate": 0.2,
|
| 26 |
+
"dtype": "float32",
|
| 27 |
+
"duration_predictor_channels": 256,
|
| 28 |
+
"duration_predictor_dropout_rate": 0.2,
|
| 29 |
+
"duration_predictor_kernel_size": 3,
|
| 30 |
+
"duration_predictor_layers": 1,
|
| 31 |
+
"encoder_attention_dropout_rate": 0.2,
|
| 32 |
+
"encoder_concat_after": false,
|
| 33 |
+
"encoder_config": {
|
| 34 |
+
"attention_dropout_rate": 0.2,
|
| 35 |
+
"concat_after": false,
|
| 36 |
+
"dropout_rate": 0.2,
|
| 37 |
+
"kernel_size": 7,
|
| 38 |
+
"layers": 1,
|
| 39 |
+
"linear_units": 384,
|
| 40 |
+
"normalize_before": false,
|
| 41 |
+
"num_attention_heads": 2,
|
| 42 |
+
"positional_dropout_rate": 0.2
|
| 43 |
+
},
|
| 44 |
+
"encoder_dropout_rate": 0.2,
|
| 45 |
+
"encoder_kernel_size": 7,
|
| 46 |
+
"encoder_layers": 1,
|
| 47 |
+
"encoder_linear_units": 384,
|
| 48 |
+
"encoder_normalize_before": false,
|
| 49 |
+
"encoder_num_attention_heads": 2,
|
| 50 |
+
"encoder_positional_dropout_rate": 0.2,
|
| 51 |
+
"energy_embed_dropout": 0.0,
|
| 52 |
+
"energy_embed_kernel_size": 1,
|
| 53 |
+
"energy_predictor_channels": 256,
|
| 54 |
+
"energy_predictor_dropout": 0.5,
|
| 55 |
+
"energy_predictor_kernel_size": 3,
|
| 56 |
+
"energy_predictor_layers": 1,
|
| 57 |
+
"hidden_size": 24,
|
| 58 |
+
"is_encoder_decoder": true,
|
| 59 |
+
"max_source_positions": 5000,
|
| 60 |
+
"model_type": "fastspeech2_conformer",
|
| 61 |
+
"num_languages": null,
|
| 62 |
+
"num_mel_bins": 8,
|
| 63 |
+
"num_speakers": null,
|
| 64 |
+
"pitch_embed_dropout": 0.0,
|
| 65 |
+
"pitch_embed_kernel_size": 1,
|
| 66 |
+
"pitch_predictor_channels": 256,
|
| 67 |
+
"pitch_predictor_dropout": 0.5,
|
| 68 |
+
"pitch_predictor_kernel_size": 5,
|
| 69 |
+
"pitch_predictor_layers": 1,
|
| 70 |
+
"positionwise_conv_kernel_size": 3,
|
| 71 |
+
"reduction_factor": 1,
|
| 72 |
+
"speaker_embed_dim": null,
|
| 73 |
+
"speaking_speed": 1.0,
|
| 74 |
+
"speech_decoder_postnet_dropout": 0.5,
|
| 75 |
+
"speech_decoder_postnet_kernel": 5,
|
| 76 |
+
"speech_decoder_postnet_layers": 2,
|
| 77 |
+
"speech_decoder_postnet_units": 128,
|
| 78 |
+
"stop_gradient_from_energy_predictor": false,
|
| 79 |
+
"stop_gradient_from_pitch_predictor": true,
|
| 80 |
+
"transformers_version": "5.16.0.dev0",
|
| 81 |
+
"use_cnn_in_conformer": true,
|
| 82 |
+
"use_macaron_style_in_conformer": true,
|
| 83 |
+
"use_masking": true,
|
| 84 |
+
"use_weighted_masking": false,
|
| 85 |
+
"vocab_size": 78
|
| 86 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4c8baf64fca611ffccc8def5d83af48f74fa8bb50964c337b6686910224f753
|
| 3 |
+
size 1284220
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<blank>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<unk>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"77": {
|
| 20 |
+
"content": "<sos/eos>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"backend": "custom",
|
| 29 |
+
"bos_token": "<sos/eos>",
|
| 30 |
+
"clean_up_tokenization_spaces": true,
|
| 31 |
+
"eos_token": "<sos/eos>",
|
| 32 |
+
"is_local": false,
|
| 33 |
+
"local_files_only": false,
|
| 34 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 35 |
+
"pad_token": "<blank>",
|
| 36 |
+
"should_strip_spaces": true,
|
| 37 |
+
"tokenizer_class": "FastSpeech2ConformerTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
vocab.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"<blank>": 0, "<unk>": 1, "AH0": 2, "N": 3, "T": 4, "D": 5, "S": 6, "R": 7, "L": 8, "DH": 9, "K": 10, "Z": 11, "IH1": 12, "IH0": 13, "M": 14, "EH1": 15, "W": 16, "P": 17, "AE1": 18, "AH1": 19, "V": 20, "ER0": 21, "F": 22, ",": 23, "AA1": 24, "B": 25, "HH": 26, "IY1": 27, "UW1": 28, "IY0": 29, "AO1": 30, "EY1": 31, "AY1": 32, ".": 33, "OW1": 34, "SH": 35, "NG": 36, "G": 37, "ER1": 38, "CH": 39, "JH": 40, "Y": 41, "AW1": 42, "TH": 43, "UH1": 44, "EH2": 45, "OW0": 46, "EY2": 47, "AO0": 48, "IH2": 49, "AE2": 50, "AY2": 51, "AA2": 52, "UW0": 53, "EH0": 54, "OY1": 55, "EY0": 56, "AO2": 57, "ZH": 58, "OW2": 59, "AE0": 60, "UW2": 61, "AH2": 62, "AY0": 63, "IY2": 64, "AW2": 65, "AA0": 66, "'": 67, "ER2": 68, "UH2": 69, "?": 70, "OY2": 71, "!": 72, "AW0": 73, "UH0": 74, "OY0": 75, "..": 76, "<sos/eos>": 77}
|