sew-d-base-plus-400k / config.json
anton-l's picture
anton-l HF staff
Update hidden_act and layer_norm_eps
d93aa94
{
"activation_dropout": 0.0,
"apply_spec_augment": true,
"architectures": [
"SEWDModel"
],
"attention_dropout": 0.1,
"bos_token_id": 1,
"classifier_proj_size": 256,
"conv_bias": false,
"conv_dim": [
96,
192,
192,
192,
192,
384,
384,
384,
384,
768,
768,
768,
768
],
"conv_kernel": [
10,
3,
1,
3,
1,
3,
1,
3,
1,
2,
1,
2,
1
],
"conv_stride": [
5,
2,
1,
2,
1,
2,
1,
2,
1,
2,
1,
2,
1
],
"ctc_loss_reduction": "sum",
"ctc_zero_infinity": false,
"eos_token_id": 2,
"feat_extract_activation": "gelu",
"feat_extract_norm": "group",
"feat_proj_dropout": 0.1,
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
"final_dropout": 0.0,
"hidden_act": "gelu_python",
"hidden_dropout": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-07,
"layerdrop": 0.2,
"mask_feature_length": 10,
"mask_feature_prob": 0.0,
"mask_time_length": 10,
"mask_time_prob": 0.65,
"max_position_embeddings": 512,
"model_type": "sew-d",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 12,
"num_conv_pos_embedding_groups": 16,
"num_conv_pos_embeddings": 31,
"num_feat_extract_layers": 13,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"squeeze_factor": 2,
"tokenizer_class": "Wav2Vec2CTCTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.12.0.dev0",
"use_weighted_layer_sum": false,
"feature_layer_norm_eps": 1e-05
}