|
{ |
|
"_name_or_path": "facebook/hubert-base-ls960", |
|
"activation_dropout": 0.1, |
|
"apply_spec_augment": true, |
|
"architectures": [ |
|
"HubertForSequenceClassification" |
|
], |
|
"attention_dropout": 0.1, |
|
"bos_token_id": 1, |
|
"classifier_proj_size": 256, |
|
"conv_bias": false, |
|
"conv_dim": [ |
|
512, |
|
512, |
|
512, |
|
512, |
|
512, |
|
512, |
|
512 |
|
], |
|
"conv_kernel": [ |
|
10, |
|
3, |
|
3, |
|
3, |
|
3, |
|
2, |
|
2 |
|
], |
|
"conv_stride": [ |
|
5, |
|
2, |
|
2, |
|
2, |
|
2, |
|
2, |
|
2 |
|
], |
|
"ctc_loss_reduction": "sum", |
|
"ctc_zero_infinity": false, |
|
"do_stable_layer_norm": false, |
|
"eos_token_id": 2, |
|
"feat_extract_activation": "gelu", |
|
"feat_extract_dropout": 0.0, |
|
"feat_extract_norm": "group", |
|
"feat_proj_dropout": 0.1, |
|
"feat_proj_layer_norm": true, |
|
"final_dropout": 0.1, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout": 0.1, |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Arabic", |
|
"1": "Basque", |
|
"10": "Dutch", |
|
"11": "English", |
|
"12": "Esperanto", |
|
"13": "Estonian", |
|
"14": "French", |
|
"15": "Frisian", |
|
"16": "Georgian", |
|
"17": "German", |
|
"18": "Greek", |
|
"19": "Hakha_Chin", |
|
"2": "Breton", |
|
"20": "Indonesian", |
|
"21": "Interlingua", |
|
"22": "Italian", |
|
"23": "Japanese", |
|
"24": "Kabyle", |
|
"25": "Kinyarwanda", |
|
"26": "Kyrgyz", |
|
"27": "Latvian", |
|
"28": "Maltese", |
|
"29": "Mangolian", |
|
"3": "Catalan", |
|
"30": "Persian", |
|
"31": "Polish", |
|
"32": "Portuguese", |
|
"33": "Romanian", |
|
"34": "Romansh_Sursilvan", |
|
"35": "Russian", |
|
"36": "Sakha", |
|
"37": "Slovenian", |
|
"38": "Spanish", |
|
"39": "Swedish", |
|
"4": "Chinese_China", |
|
"40": "Tamil", |
|
"41": "Tatar", |
|
"42": "Turkish", |
|
"43": "Ukranian", |
|
"44": "Welsh", |
|
"5": "Chinese_Hongkong", |
|
"6": "Chinese_Taiwan", |
|
"7": "Chuvash", |
|
"8": "Czech", |
|
"9": "Dhivehi" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Arabic": "0", |
|
"Basque": "1", |
|
"Breton": "2", |
|
"Catalan": "3", |
|
"Chinese_China": "4", |
|
"Chinese_Hongkong": "5", |
|
"Chinese_Taiwan": "6", |
|
"Chuvash": "7", |
|
"Czech": "8", |
|
"Dhivehi": "9", |
|
"Dutch": "10", |
|
"English": "11", |
|
"Esperanto": "12", |
|
"Estonian": "13", |
|
"French": "14", |
|
"Frisian": "15", |
|
"Georgian": "16", |
|
"German": "17", |
|
"Greek": "18", |
|
"Hakha_Chin": "19", |
|
"Indonesian": "20", |
|
"Interlingua": "21", |
|
"Italian": "22", |
|
"Japanese": "23", |
|
"Kabyle": "24", |
|
"Kinyarwanda": "25", |
|
"Kyrgyz": "26", |
|
"Latvian": "27", |
|
"Maltese": "28", |
|
"Mangolian": "29", |
|
"Persian": "30", |
|
"Polish": "31", |
|
"Portuguese": "32", |
|
"Romanian": "33", |
|
"Romansh_Sursilvan": "34", |
|
"Russian": "35", |
|
"Sakha": "36", |
|
"Slovenian": "37", |
|
"Spanish": "38", |
|
"Swedish": "39", |
|
"Tamil": "40", |
|
"Tatar": "41", |
|
"Turkish": "42", |
|
"Ukranian": "43", |
|
"Welsh": "44" |
|
}, |
|
"layer_norm_eps": 1e-05, |
|
"layerdrop": 0.1, |
|
"mask_feature_length": 10, |
|
"mask_feature_min_masks": 0, |
|
"mask_feature_prob": 0.0, |
|
"mask_time_length": 10, |
|
"mask_time_min_masks": 2, |
|
"mask_time_prob": 0.05, |
|
"model_type": "hubert", |
|
"num_attention_heads": 12, |
|
"num_conv_pos_embedding_groups": 16, |
|
"num_conv_pos_embeddings": 128, |
|
"num_feat_extract_layers": 7, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"tokenizer_class": "Wav2Vec2CTCTokenizer", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.33.2", |
|
"use_weighted_layer_sum": false, |
|
"vocab_size": 32 |
|
} |
|
|