hf-transformers-bot commited on
Commit
2bcd0e9
·
verified ·
1 Parent(s): 8bc2a3b

Update tiny models for ParakeetForCTC

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ParakeetForCTC"
4
+ ],
5
+ "ctc_loss_reduction": "mean",
6
+ "ctc_zero_infinity": true,
7
+ "dtype": "float32",
8
+ "encoder_config": {
9
+ "activation_dropout": 0.0,
10
+ "attention_bias": true,
11
+ "attention_dropout": 0.0,
12
+ "conv_kernel_size": 9,
13
+ "convolution_bias": true,
14
+ "dropout": 0.0,
15
+ "dropout_positions": 0.0,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 64,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 256,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 5000,
22
+ "model_type": "parakeet_encoder",
23
+ "num_attention_heads": 4,
24
+ "num_hidden_layers": 2,
25
+ "num_key_value_heads": 4,
26
+ "num_mel_bins": 80,
27
+ "scale_input": true,
28
+ "subsampling_conv_channels": 32,
29
+ "subsampling_conv_kernel_size": 3,
30
+ "subsampling_conv_stride": 2,
31
+ "subsampling_factor": 8
32
+ },
33
+ "initializer_range": 0.02,
34
+ "model_type": "parakeet_ctc",
35
+ "pad_token_id": 1024,
36
+ "transformers_version": "5.16.0.dev0",
37
+ "vocab_size": 1025
38
+ }
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": 1024,
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:3d2869802ef46607396e3ff941f1b041dbecfd2c0e9543611e6f4e12e7684b10
3
+ size 1179156
preprocessor_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor_type": "ParakeetFeatureExtractor",
3
+ "feature_size": 80,
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,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": false,
4
+ "is_local": true,
5
+ "local_files_only": false,
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "pad_token": "<pad>",
8
+ "processor_class": "ParakeetProcessor",
9
+ "tokenizer_class": "ParakeetTokenizer",
10
+ "unk_token": "<unk>"
11
+ }