rohitp1 commited on
Commit
bd7c1dd
1 Parent(s): efe56ab

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +51 -0
  2. generation_config.json +14 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dgx2_whisper_base_teacher_student_distill_att_loss_libri360_epochs_50_batch_16_try4/checkpoint-100",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50256
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 512,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 50256,
28
+ "forced_decoder_ids": null,
29
+ "init_std": 0.02,
30
+ "is_encoder_decoder": true,
31
+ "mask_feature_length": 10,
32
+ "mask_feature_min_masks": 0,
33
+ "mask_feature_prob": 0.0,
34
+ "mask_time_length": 10,
35
+ "mask_time_min_masks": 2,
36
+ "mask_time_prob": 0.05,
37
+ "max_length": 448,
38
+ "max_source_positions": 1500,
39
+ "max_target_positions": 448,
40
+ "model_type": "whisper",
41
+ "num_hidden_layers": 6,
42
+ "num_mel_bins": 80,
43
+ "pad_token_id": 50256,
44
+ "scale_embedding": false,
45
+ "suppress_tokens": [],
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.29.2",
48
+ "use_cache": true,
49
+ "use_weighted_layer_sum": false,
50
+ "vocab_size": 51864
51
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "begin_suppress_tokens": [
3
+ 220,
4
+ 50256
5
+ ],
6
+ "bos_token_id": 50257,
7
+ "decoder_start_token_id": 50257,
8
+ "eos_token_id": 50256,
9
+ "max_length": 448,
10
+ "pad_token_id": 50256,
11
+ "return_timestamps": false,
12
+ "suppress_tokens": [],
13
+ "transformers_version": "4.29.2"
14
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67cc3a8d86d3d9c9102f77361f927bae77796dca1db66fc7013a5f97779652d1
3
+ size 290454551