giangndm commited on
Commit
df4f173
·
verified ·
1 Parent(s): 50ea2f7

Upload whisper encoder

Browse files
Files changed (2) hide show
  1. config.json +100 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 51866,
3
+ "num_mel_bins": 128,
4
+ "d_model": 1280,
5
+ "encoder_layers": 32,
6
+ "encoder_attention_heads": 20,
7
+ "decoder_layers": 4,
8
+ "decoder_attention_heads": 20,
9
+ "decoder_ffn_dim": 5120,
10
+ "encoder_ffn_dim": 5120,
11
+ "dropout": 0.0,
12
+ "attention_dropout": 0.0,
13
+ "activation_dropout": 0.0,
14
+ "activation_function": "gelu",
15
+ "init_std": 0.02,
16
+ "encoder_layerdrop": 0.0,
17
+ "decoder_layerdrop": 0.0,
18
+ "use_cache": true,
19
+ "num_hidden_layers": 32,
20
+ "scale_embedding": false,
21
+ "max_source_positions": 1500,
22
+ "max_target_positions": 448,
23
+ "classifier_proj_size": 256,
24
+ "use_weighted_layer_sum": false,
25
+ "apply_spec_augment": false,
26
+ "mask_time_prob": 0.05,
27
+ "mask_time_length": 10,
28
+ "mask_time_min_masks": 2,
29
+ "mask_feature_prob": 0.0,
30
+ "mask_feature_length": 10,
31
+ "mask_feature_min_masks": 0,
32
+ "median_filter_width": 7,
33
+ "return_dict": true,
34
+ "output_hidden_states": false,
35
+ "torchscript": false,
36
+ "torch_dtype": "bfloat16",
37
+ "use_bfloat16": false,
38
+ "tf_legacy_loss": false,
39
+ "pruned_heads": {},
40
+ "tie_word_embeddings": true,
41
+ "chunk_size_feed_forward": 0,
42
+ "is_encoder_decoder": true,
43
+ "is_decoder": false,
44
+ "cross_attention_hidden_size": null,
45
+ "add_cross_attention": false,
46
+ "tie_encoder_decoder": false,
47
+ "max_length": 20,
48
+ "min_length": 0,
49
+ "do_sample": false,
50
+ "early_stopping": false,
51
+ "num_beams": 1,
52
+ "num_beam_groups": 1,
53
+ "diversity_penalty": 0.0,
54
+ "temperature": 1.0,
55
+ "top_k": 50,
56
+ "top_p": 1.0,
57
+ "typical_p": 1.0,
58
+ "repetition_penalty": 1.0,
59
+ "length_penalty": 1.0,
60
+ "no_repeat_ngram_size": 0,
61
+ "encoder_no_repeat_ngram_size": 0,
62
+ "bad_words_ids": null,
63
+ "num_return_sequences": 1,
64
+ "output_scores": false,
65
+ "return_dict_in_generate": false,
66
+ "forced_bos_token_id": null,
67
+ "forced_eos_token_id": null,
68
+ "remove_invalid_values": false,
69
+ "exponential_decay_length_penalty": null,
70
+ "suppress_tokens": null,
71
+ "begin_suppress_tokens": [
72
+ 220,
73
+ 50256
74
+ ],
75
+ "architectures": [
76
+ "WhisperForConditionalGeneration"
77
+ ],
78
+ "finetuning_task": null,
79
+ "id2label": {
80
+ "0": "LABEL_0",
81
+ "1": "LABEL_1"
82
+ },
83
+ "label2id": {
84
+ "LABEL_0": 0,
85
+ "LABEL_1": 1
86
+ },
87
+ "tokenizer_class": null,
88
+ "prefix": null,
89
+ "bos_token_id": 50257,
90
+ "pad_token_id": 50257,
91
+ "eos_token_id": 50257,
92
+ "sep_token_id": null,
93
+ "decoder_start_token_id": 50258,
94
+ "task_specific_params": null,
95
+ "problem_type": null,
96
+ "_name_or_path": "openai/whisper-large-v3-turbo",
97
+ "transformers_version": "4.53.1",
98
+ "model_type": "whisper",
99
+ "output_attentions": false
100
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4be317b74dc06e3bfc9801a39c144388d16d796e1bbad0d6ee4c0acdfd17c959
3
+ size 1273988144