hf-transformers-bot commited on
Commit
7605a60
1 Parent(s): 99564b0

Upload tiny models for MCTCTForCTC

Browse files
Files changed (3) hide show
  1. config.json +38 -0
  2. preprocessor_config.json +21 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MCTCTForCTC"
4
+ ],
5
+ "attention_head_dim": 128,
6
+ "attention_probs_dropout_prob": 0.3,
7
+ "bos_token_id": 0,
8
+ "conv_channels": null,
9
+ "conv_dropout": 0.3,
10
+ "conv_glu_dim": 1,
11
+ "conv_kernel": [
12
+ 7
13
+ ],
14
+ "conv_stride": [
15
+ 3
16
+ ],
17
+ "ctc_loss_reduction": "sum",
18
+ "ctc_zero_infinity": false,
19
+ "eos_token_id": 2,
20
+ "hidden_act": "relu",
21
+ "hidden_dropout_prob": 0.3,
22
+ "hidden_size": 512,
23
+ "initializer_range": 0.02,
24
+ "input_channels": 1,
25
+ "input_feat_per_channel": 80,
26
+ "intermediate_size": 20,
27
+ "layer_norm_eps": 1e-05,
28
+ "layerdrop": 0.3,
29
+ "max_position_embeddings": 920,
30
+ "model_type": "mctct",
31
+ "num_attention_heads": 4,
32
+ "num_conv_layers": 1,
33
+ "num_hidden_layers": 4,
34
+ "pad_token_id": 1,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.28.0.dev0",
37
+ "vocab_size": 32
38
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor_type": "MCTCTFeatureExtractor",
3
+ "feature_size": 80,
4
+ "frame_signal_scale": 32768.0,
5
+ "hop_length": 10,
6
+ "mel_floor": 1.0,
7
+ "n_fft": 512,
8
+ "n_freqs": 257,
9
+ "normalize_means": true,
10
+ "normalize_vars": true,
11
+ "num_mel_bins": 80,
12
+ "padding_side": "right",
13
+ "padding_value": 0.0,
14
+ "preemphasis_coeff": 0.97,
15
+ "return_attention_mask": false,
16
+ "sample_size": 400,
17
+ "sample_stride": 160,
18
+ "sampling_rate": 16000,
19
+ "win_function": "hamming_window",
20
+ "win_length": 25
21
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:577047b34475d8a3ac1b77db80e2110399b9290f673db3b4573b4da4e989ec84
3
+ size 23283719