charsiu commited on
Commit
cb29a9e
1 Parent(s): fecc8b9

Upload Speech2TextForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. generation_config.json +10 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/scratch/lingjzhu_root/lingjzhu1/lingjzhu/models/medium/checkpoint-32000",
3
+ "activation_dropout": 0.15,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "Speech2TextForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.15,
9
+ "bos_token_id": 1,
10
+ "classifier_dropout": 0.0,
11
+ "conv_channels": 1024,
12
+ "conv_kernel_sizes": [
13
+ 5,
14
+ 5
15
+ ],
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": 2,
22
+ "dropout": 0.15,
23
+ "early_stopping": true,
24
+ "encoder_attention_heads": 8,
25
+ "encoder_ffn_dim": 2048,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 12,
28
+ "eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "init_std": 0.02,
31
+ "input_channels": 1,
32
+ "input_feat_per_channel": 80,
33
+ "is_encoder_decoder": true,
34
+ "max_length": 200,
35
+ "max_source_positions": 6000,
36
+ "max_target_positions": 1024,
37
+ "model_type": "speech_to_text",
38
+ "num_beams": 5,
39
+ "num_conv_layers": 2,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "scale_embedding": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.35.2",
45
+ "use_cache": true,
46
+ "vocab_size": 450
47
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "max_length": 200,
7
+ "num_beams": 5,
8
+ "pad_token_id": 0,
9
+ "transformers_version": "4.35.2"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34f884f5437afb5b7de0a3480a220be4c0fa7db10bf8287320999441d6d31201
3
+ size 279707736