hf-transformers-bot commited on
Commit
df43199
·
verified ·
1 Parent(s): 870e880

Update tiny models for NemotronAsrStreamingForRNNT

Browse files
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "NemotronAsrStreamingForRNNT"
4
+ ],
5
+ "blank_token_id": 1025,
6
+ "decoder_hidden_size": 32,
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
+ "default_num_lookahead_tokens": 13,
15
+ "dropout": 0.0,
16
+ "dropout_positions": 0.0,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 64,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 256,
21
+ "layerdrop": 0.0,
22
+ "max_position_embeddings": 5000,
23
+ "model_type": "nemotron_asr_streaming_encoder",
24
+ "num_attention_heads": 4,
25
+ "num_hidden_layers": 2,
26
+ "num_key_value_heads": 4,
27
+ "num_mel_bins": 80,
28
+ "scale_input": true,
29
+ "sliding_window": 71,
30
+ "subsampling_conv_channels": 32,
31
+ "subsampling_conv_kernel_size": 3,
32
+ "subsampling_conv_stride": 2,
33
+ "subsampling_factor": 8
34
+ },
35
+ "hidden_act": "relu",
36
+ "initializer_range": 0.02,
37
+ "is_encoder_decoder": true,
38
+ "max_symbols_per_step": 5,
39
+ "model_type": "nemotron_asr_streaming",
40
+ "num_decoder_layers": 1,
41
+ "pad_token_id": 1024,
42
+ "transformers_version": "5.16.0.dev0",
43
+ "vocab_size": 1026
44
+ }
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:3574496a1c3eee9ab73222abdc31acdd8bac080f9914178ff88b710339a162f4
3
+ size 1233200
preprocessor_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor_type": "NemotronAsrStreamingFeatureExtractor",
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,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": "NemotronAsrStreamingProcessor",
9
+ "tokenizer_class": "ParakeetTokenizer",
10
+ "unk_token": "<unk>"
11
+ }