DialogueSidon2 / config.json
Wataru's picture
DialogueSidon2 release
4923245 verified
Raw History Blame Contribute Delete
7.91 kB
{
"format": "dialoguesidon2",
"version": 1,
"global_step": 200000,
"cfg": {
"vae": {
"ssl_model_name": "facebook/w2v-bert-2.0",
"target_layer": 8,
"input_dim": 1024,
"hidden_dim": 512,
"latent_dim": 32,
"decoder_channels": 1536,
"decoder_rates": [
8,
5,
4,
3
],
"hf_config": {
"return_dict": true,
"output_hidden_states": false,
"torchscript": false,
"dtype": "float32",
"pruned_heads": {},
"tie_word_embeddings": true,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"is_decoder": false,
"cross_attention_hidden_size": null,
"add_cross_attention": false,
"tie_encoder_decoder": false,
"finetuning_task": null,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"task_specific_params": null,
"problem_type": null,
"tokenizer_class": null,
"prefix": null,
"bos_token_id": 1,
"pad_token_id": 0,
"eos_token_id": 2,
"sep_token_id": null,
"decoder_start_token_id": null,
"max_length": 20,
"min_length": 0,
"do_sample": false,
"early_stopping": false,
"num_beams": 1,
"num_beam_groups": 1,
"diversity_penalty": 0.0,
"temperature": 1.0,
"top_k": 50,
"top_p": 1.0,
"typical_p": 1.0,
"repetition_penalty": 1.0,
"length_penalty": 1.0,
"no_repeat_ngram_size": 0,
"encoder_no_repeat_ngram_size": 0,
"bad_words_ids": null,
"num_return_sequences": 1,
"output_scores": false,
"return_dict_in_generate": false,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"remove_invalid_values": false,
"exponential_decay_length_penalty": null,
"suppress_tokens": null,
"begin_suppress_tokens": null,
"codevector_dim": 768,
"contrastive_logits_temperature": 0.1,
"diversity_loss_weight": 0.1,
"feat_quantizer_dropout": 0.0,
"model_type": "wav2vec2-bert",
"num_codevector_groups": 2,
"num_codevectors_per_group": 320,
"num_negatives": 100,
"proj_codevector_dim": 768,
"tf_legacy_loss": false,
"use_bfloat16": false,
"hidden_size": 1024,
"num_hidden_layers": 8,
"intermediate_size": 4096,
"hidden_act": "swish",
"num_attention_heads": 16,
"feature_projection_input_dim": 160,
"hidden_dropout": 0.0,
"attention_dropout": 0.0,
"activation_dropout": 0.0,
"feat_proj_dropout": 0.0,
"final_dropout": 0.1,
"layerdrop": 0.0,
"layer_norm_eps": 1e-05,
"initializer_range": 0.02,
"vocab_size": null,
"use_weighted_layer_sum": false,
"max_source_positions": 5000,
"position_embeddings_type": "relative_key",
"rotary_embedding_base": 10000,
"left_max_position_embeddings": 64,
"right_max_position_embeddings": 8,
"conv_depthwise_kernel_size": 31,
"conformer_conv_dropout": 0.1,
"apply_spec_augment": false,
"mask_time_prob": 0.05,
"mask_time_length": 10,
"mask_time_min_masks": 2,
"mask_feature_prob": 0.0,
"mask_feature_length": 10,
"mask_feature_min_masks": 0,
"ctc_loss_reduction": "sum",
"ctc_zero_infinity": false,
"add_adapter": false,
"adapter_kernel_size": 3,
"adapter_stride": 2,
"num_adapter_layers": 1,
"adapter_act": "relu",
"output_hidden_size": 1024,
"use_intermediate_ffn_before_adapter": false,
"classifier_proj_size": 768,
"tdnn_dim": [
512,
512,
512,
512,
1500
],
"tdnn_kernel": [
5,
3,
3,
1,
1
],
"tdnn_dilation": [
1,
2,
3,
1,
1
],
"xvector_output_dim": 512,
"output_attentions": false,
"_name_or_path": "facebook/w2v-bert-2.0"
}
},
"sample_posterior": true,
"conditioner": {
"name": "facebook/w2v-bert-2.0",
"layers": 13,
"gradient_checkpointing": false,
"hf_config": {
"return_dict": true,
"output_hidden_states": false,
"torchscript": false,
"dtype": "float32",
"pruned_heads": {},
"tie_word_embeddings": true,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"is_decoder": false,
"cross_attention_hidden_size": null,
"add_cross_attention": false,
"tie_encoder_decoder": false,
"finetuning_task": null,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"task_specific_params": null,
"problem_type": null,
"tokenizer_class": null,
"prefix": null,
"bos_token_id": 1,
"pad_token_id": 0,
"eos_token_id": 2,
"sep_token_id": null,
"decoder_start_token_id": null,
"max_length": 20,
"min_length": 0,
"do_sample": false,
"early_stopping": false,
"num_beams": 1,
"num_beam_groups": 1,
"diversity_penalty": 0.0,
"temperature": 1.0,
"top_k": 50,
"top_p": 1.0,
"typical_p": 1.0,
"repetition_penalty": 1.0,
"length_penalty": 1.0,
"no_repeat_ngram_size": 0,
"encoder_no_repeat_ngram_size": 0,
"bad_words_ids": null,
"num_return_sequences": 1,
"output_scores": false,
"return_dict_in_generate": false,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"remove_invalid_values": false,
"exponential_decay_length_penalty": null,
"suppress_tokens": null,
"begin_suppress_tokens": null,
"codevector_dim": 768,
"contrastive_logits_temperature": 0.1,
"diversity_loss_weight": 0.1,
"feat_quantizer_dropout": 0.0,
"model_type": "wav2vec2-bert",
"num_codevector_groups": 2,
"num_codevectors_per_group": 320,
"num_negatives": 100,
"proj_codevector_dim": 768,
"tf_legacy_loss": false,
"use_bfloat16": false,
"hidden_size": 1024,
"num_hidden_layers": 13,
"intermediate_size": 4096,
"hidden_act": "swish",
"num_attention_heads": 16,
"feature_projection_input_dim": 160,
"hidden_dropout": 0.0,
"attention_dropout": 0.0,
"activation_dropout": 0.0,
"feat_proj_dropout": 0.0,
"final_dropout": 0.1,
"layerdrop": 0.0,
"layer_norm_eps": 1e-05,
"initializer_range": 0.02,
"vocab_size": null,
"use_weighted_layer_sum": false,
"max_source_positions": 5000,
"position_embeddings_type": "relative_key",
"rotary_embedding_base": 10000,
"left_max_position_embeddings": 64,
"right_max_position_embeddings": 8,
"conv_depthwise_kernel_size": 31,
"conformer_conv_dropout": 0.1,
"apply_spec_augment": false,
"mask_time_prob": 0.05,
"mask_time_length": 10,
"mask_time_min_masks": 2,
"mask_feature_prob": 0.0,
"mask_feature_length": 10,
"mask_feature_min_masks": 0,
"ctc_loss_reduction": "sum",
"ctc_zero_infinity": false,
"add_adapter": false,
"adapter_kernel_size": 3,
"adapter_stride": 2,
"num_adapter_layers": 1,
"adapter_act": "relu",
"output_hidden_size": 1024,
"use_intermediate_ffn_before_adapter": false,
"classifier_proj_size": 768,
"tdnn_dim": [
512,
512,
512,
512,
1500
],
"tdnn_kernel": [
5,
3,
3,
1,
1
],
"tdnn_dilation": [
1,
2,
3,
1,
1
],
"xvector_output_dim": 512,
"output_attentions": false,
"_name_or_path": "facebook/w2v-bert-2.0"
}
},
"readout": {
"hidden": 768
},
"efficient_ssl_attention": true,
"performance": {
"compile_ssl": true,
"flex_ssl_attention": true
},
"loss": {
"assignment_weight": 1.0
},
"optim": {
"fused": true,
"lr": 0.0001,
"conditioner_lr": 2e-05,
"betas": [
0.9,
0.95
],
"weight_decay": 0.0,
"warmup_steps": 2000,
"cooldown_start": 160000,
"min_lr_ratio": 0.0,
"max_steps": 200000,
"skip_grad_norm": null,
"max_grad_norm": 1.0
},
"vae_checkpoint": null,
"statistics_path": null
}
}