Upload folder using huggingface_hub
Browse files- config.json +124 -0
- decoder.safetensors +3 -0
- encoder.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "drax",
|
| 3 |
+
"decoder_config": {
|
| 4 |
+
"hidden_size": 1280,
|
| 5 |
+
"cond_dim": 128,
|
| 6 |
+
"whisper_dim": 1280,
|
| 7 |
+
"n_heads": 20,
|
| 8 |
+
"dropout": 0.1,
|
| 9 |
+
"n_blocks": 16,
|
| 10 |
+
"length": 128,
|
| 11 |
+
"vocab_size": 51866,
|
| 12 |
+
"masked": false,
|
| 13 |
+
"support_language_codes": [
|
| 14 |
+
"en",
|
| 15 |
+
"fr",
|
| 16 |
+
"de",
|
| 17 |
+
"es",
|
| 18 |
+
"it",
|
| 19 |
+
"pt",
|
| 20 |
+
"ja",
|
| 21 |
+
"zh"
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"whisper_config": {
|
| 25 |
+
"vocab_size": 51866,
|
| 26 |
+
"num_mel_bins": 128,
|
| 27 |
+
"d_model": 1280,
|
| 28 |
+
"encoder_layers": 32,
|
| 29 |
+
"encoder_attention_heads": 20,
|
| 30 |
+
"decoder_layers": 32,
|
| 31 |
+
"decoder_attention_heads": 20,
|
| 32 |
+
"decoder_ffn_dim": 5120,
|
| 33 |
+
"encoder_ffn_dim": 5120,
|
| 34 |
+
"dropout": 0.0,
|
| 35 |
+
"attention_dropout": 0.0,
|
| 36 |
+
"activation_dropout": 0.0,
|
| 37 |
+
"activation_function": "gelu",
|
| 38 |
+
"init_std": 0.02,
|
| 39 |
+
"encoder_layerdrop": 0.0,
|
| 40 |
+
"decoder_layerdrop": 0.0,
|
| 41 |
+
"use_cache": true,
|
| 42 |
+
"num_hidden_layers": 32,
|
| 43 |
+
"scale_embedding": false,
|
| 44 |
+
"max_source_positions": 1500,
|
| 45 |
+
"max_target_positions": 448,
|
| 46 |
+
"classifier_proj_size": 256,
|
| 47 |
+
"use_weighted_layer_sum": false,
|
| 48 |
+
"apply_spec_augment": false,
|
| 49 |
+
"mask_time_prob": 0.05,
|
| 50 |
+
"mask_time_length": 10,
|
| 51 |
+
"mask_time_min_masks": 2,
|
| 52 |
+
"mask_feature_prob": 0.0,
|
| 53 |
+
"mask_feature_length": 10,
|
| 54 |
+
"mask_feature_min_masks": 0,
|
| 55 |
+
"median_filter_width": 7,
|
| 56 |
+
"return_dict": true,
|
| 57 |
+
"output_hidden_states": false,
|
| 58 |
+
"output_attentions": false,
|
| 59 |
+
"torchscript": false,
|
| 60 |
+
"torch_dtype": "float32",
|
| 61 |
+
"use_bfloat16": false,
|
| 62 |
+
"tf_legacy_loss": false,
|
| 63 |
+
"pruned_heads": {},
|
| 64 |
+
"tie_word_embeddings": true,
|
| 65 |
+
"chunk_size_feed_forward": 0,
|
| 66 |
+
"is_encoder_decoder": true,
|
| 67 |
+
"is_decoder": false,
|
| 68 |
+
"cross_attention_hidden_size": null,
|
| 69 |
+
"add_cross_attention": false,
|
| 70 |
+
"tie_encoder_decoder": false,
|
| 71 |
+
"max_length": 448,
|
| 72 |
+
"min_length": 0,
|
| 73 |
+
"do_sample": false,
|
| 74 |
+
"early_stopping": false,
|
| 75 |
+
"num_beams": 1,
|
| 76 |
+
"num_beam_groups": 1,
|
| 77 |
+
"diversity_penalty": 0.0,
|
| 78 |
+
"temperature": 1.0,
|
| 79 |
+
"top_k": 50,
|
| 80 |
+
"top_p": 1.0,
|
| 81 |
+
"typical_p": 1.0,
|
| 82 |
+
"repetition_penalty": 1.0,
|
| 83 |
+
"length_penalty": 1.0,
|
| 84 |
+
"no_repeat_ngram_size": 0,
|
| 85 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 86 |
+
"bad_words_ids": null,
|
| 87 |
+
"num_return_sequences": 1,
|
| 88 |
+
"output_scores": false,
|
| 89 |
+
"return_dict_in_generate": false,
|
| 90 |
+
"forced_bos_token_id": null,
|
| 91 |
+
"forced_eos_token_id": null,
|
| 92 |
+
"remove_invalid_values": false,
|
| 93 |
+
"exponential_decay_length_penalty": null,
|
| 94 |
+
"suppress_tokens": null,
|
| 95 |
+
"begin_suppress_tokens": [
|
| 96 |
+
220,
|
| 97 |
+
50257
|
| 98 |
+
],
|
| 99 |
+
"architectures": [
|
| 100 |
+
"WhisperForConditionalGeneration"
|
| 101 |
+
],
|
| 102 |
+
"finetuning_task": null,
|
| 103 |
+
"id2label": {
|
| 104 |
+
"0": "LABEL_0",
|
| 105 |
+
"1": "LABEL_1"
|
| 106 |
+
},
|
| 107 |
+
"label2id": {
|
| 108 |
+
"LABEL_0": 0,
|
| 109 |
+
"LABEL_1": 1
|
| 110 |
+
},
|
| 111 |
+
"tokenizer_class": null,
|
| 112 |
+
"prefix": null,
|
| 113 |
+
"bos_token_id": 50257,
|
| 114 |
+
"pad_token_id": 50256,
|
| 115 |
+
"eos_token_id": 50257,
|
| 116 |
+
"sep_token_id": null,
|
| 117 |
+
"decoder_start_token_id": 50258,
|
| 118 |
+
"task_specific_params": null,
|
| 119 |
+
"problem_type": null,
|
| 120 |
+
"_name_or_path": "openai/whisper-large-v3",
|
| 121 |
+
"transformers_version": "4.52.3",
|
| 122 |
+
"model_type": "whisper"
|
| 123 |
+
}
|
| 124 |
+
}
|
decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff21ef5aaf882a1b8d58a27536968c9a30ef8b721b369083c699cc886e08b561
|
| 3 |
+
size 2319564592
|
encoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91c0c099498c22452c00793a256b3405b47894e5a4136bb0700b499f393f019f
|
| 3 |
+
size 2547926008
|