lukmanaj's picture
Upload SeamlessM4TForTextToText
ef5034f verified
{
"_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
}