hf-transformers-bot commited on
Commit
48b8755
·
verified ·
1 Parent(s): 4946113

Update tiny models for ParakeetForTDT

Browse files
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ParakeetForTDT"
4
+ ],
5
+ "blank_token_id": 8192,
6
+ "decoder_hidden_size": 32,
7
+ "dtype": "float32",
8
+ "durations": [
9
+ 0,
10
+ 1,
11
+ 2,
12
+ 3,
13
+ 4
14
+ ],
15
+ "encoder_config": {
16
+ "activation_dropout": 0.0,
17
+ "attention_bias": true,
18
+ "attention_dropout": 0.0,
19
+ "conv_kernel_size": 9,
20
+ "convolution_bias": true,
21
+ "dropout": 0.0,
22
+ "dropout_positions": 0.0,
23
+ "hidden_act": "silu",
24
+ "hidden_size": 64,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 256,
27
+ "layerdrop": 0.0,
28
+ "max_position_embeddings": 5000,
29
+ "model_type": "parakeet_encoder",
30
+ "num_attention_heads": 4,
31
+ "num_hidden_layers": 2,
32
+ "num_key_value_heads": 4,
33
+ "num_mel_bins": 80,
34
+ "scale_input": true,
35
+ "subsampling_conv_channels": 32,
36
+ "subsampling_conv_kernel_size": 3,
37
+ "subsampling_conv_stride": 2,
38
+ "subsampling_factor": 8
39
+ },
40
+ "hidden_act": "relu",
41
+ "initializer_range": 0.02,
42
+ "is_encoder_decoder": true,
43
+ "max_symbols_per_step": 5,
44
+ "model_type": "parakeet_tdt",
45
+ "num_decoder_layers": 1,
46
+ "pad_token_id": 2,
47
+ "transformers_version": "5.16.0.dev0",
48
+ "vocab_size": 8193
49
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "output_attentions": false,
4
+ "output_hidden_states": false,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "5.16.0.dev0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36ad4cd57465647761be3b975a4c8b487282401378ecbe89952205877f2692a
3
+ size 3090800
preprocessor_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor_type": "ParakeetFeatureExtractor",
3
+ "feature_size": 128,
4
+ "hop_length": 160,
5
+ "n_fft": 512,
6
+ "padding_side": "right",
7
+ "padding_value": 0.0,
8
+ "preemphasis": 0.97,
9
+ "return_attention_mask": true,
10
+ "sampling_rate": 16000,
11
+ "win_length": 400
12
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": false,
4
+ "eos_token": "<|endoftext|>",
5
+ "is_local": true,
6
+ "local_files_only": false,
7
+ "model_max_length": 1000000000000000019884624838656,
8
+ "pad_token": "<pad>",
9
+ "processor_class": "ParakeetProcessor",
10
+ "tokenizer_class": "ParakeetTokenizer",
11
+ "unk_token": "<unk>"
12
+ }