File size: 2,618 Bytes
ef5034f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
{
"_name_or_path": "./hf-seamless-m4t-medium-en-tw",
"activation_dropout": 0.0,
"activation_function": "relu",
"adaptor_dropout": 0.1,
"adaptor_kernel_size": 8,
"adaptor_stride": 8,
"add_adapter": true,
"architectures": [
"SeamlessM4TForTextToText"
],
"attention_dropout": 0.1,
"bos_token_id": 2,
"conv_depthwise_kernel_size": 31,
"decoder_attention_heads": 16,
"decoder_ffn_dim": 4096,
"decoder_layerdrop": 0.05,
"decoder_layers": 12,
"decoder_start_token_id": 3,
"dropout": 0.1,
"encoder_attention_heads": 16,
"encoder_ffn_dim": 4096,
"encoder_layerdrop": 0.05,
"encoder_layers": 12,
"eos_token_id": 3,
"feature_projection_input_dim": 160,
"hidden_size": 1024,
"initializer_range": 0.02,
"is_encoder_decoder": true,
"lang_embed_dim": 256,
"layer_norm_eps": 1e-05,
"leaky_relu_slope": 0.1,
"max_new_tokens": 256,
"max_position_embeddings": 4096,
"max_source_positions": 4096,
"model_type": "seamless_m4t",
"num_adapter_layers": 1,
"num_attention_heads": 16,
"num_conv_pos_embedding_groups": 16,
"num_conv_pos_embeddings": 128,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embeddings_type": "relative",
"resblock_dilation_sizes": [
[
1,
3,
5
],
[
1,
3,
5
],
[
1,
3,
5
]
],
"resblock_kernel_sizes": [
3,
7,
11
],
"rotary_embedding_base": 10000,
"sampling_rate": 16000,
"scale_embedding": true,
"speech_encoder_attention_heads": 16,
"speech_encoder_dropout": 0.0,
"speech_encoder_hidden_act": "swish",
"speech_encoder_intermediate_size": 4096,
"speech_encoder_layerdrop": 0.1,
"speech_encoder_layers": 12,
"spkr_embed_dim": 256,
"t2u_bos_token_id": 0,
"t2u_decoder_attention_heads": 16,
"t2u_decoder_ffn_dim": 8192,
"t2u_decoder_layers": 4,
"t2u_decoder_start_token_id": 2,
"t2u_encoder_attention_heads": 16,
"t2u_encoder_ffn_dim": 8192,
"t2u_encoder_layers": 4,
"t2u_eos_token_id": 2,
"t2u_max_new_tokens": 1024,
"t2u_max_position_embeddings": 2048,
"t2u_pad_token_id": 1,
"t2u_vocab_size": 10082,
"torch_dtype": "float32",
"transformers_version": "4.44.0",
"unit_embed_dim": 1280,
"unit_hifi_gan_vocab_size": 10000,
"upsample_initial_channel": 512,
"upsample_kernel_sizes": [
11,
8,
8,
4,
4
],
"upsample_rates": [
5,
4,
4,
2,
2
],
"use_cache": true,
"var_pred_dropout": 0.5,
"variance_predictor_kernel_size": 3,
"vocab_size": 256206,
"vocoder_num_langs": 36,
"vocoder_num_spkrs": 200,
"vocoder_offset": 4
}
|