hf-transformers-bot HF Staff commited on
Commit
f02d12c
·
verified ·
1 Parent(s): e07cc53

Update tiny models for GraniteSpeech5Encoder

Browse files
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "architectures": [
4
+ "GraniteSpeech5Encoder"
5
+ ],
6
+ "attention_bias": true,
7
+ "attention_dropout": 0.0,
8
+ "context_size": 13,
9
+ "conv_expansion_factor": 2,
10
+ "conv_kernel_size": 7,
11
+ "dtype": "float32",
12
+ "head_dim": 16,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 32,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 64,
17
+ "max_position_embeddings": 200,
18
+ "model_type": "granite_speech5_encoder",
19
+ "num_attention_heads": 2,
20
+ "num_hidden_layers": 2,
21
+ "num_key_value_heads": 2,
22
+ "num_mel_bins": 6,
23
+ "subsample_layers": [
24
+ 0
25
+ ],
26
+ "transformers_version": "5.19.0.dev0",
27
+ "vocab_size": 16384
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3331d54ec6357d1cae67f7e9f0ea3698bb4b57653a9d1f7fe5c7468faa426d1c
3
+ size 4480176
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "delta_win_length": 3,
3
+ "feature_extractor_type": "GraniteSpeech5FeatureExtractor",
4
+ "feature_size": 320,
5
+ "hop_length": 160,
6
+ "logmel_floor_db": 8.0,
7
+ "n_fft": 512,
8
+ "num_mel_bins": 80,
9
+ "padding_side": "right",
10
+ "padding_value": 0.0,
11
+ "return_attention_mask": true,
12
+ "sampling_rate": 16000,
13
+ "win_length": 400
14
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "is_local": true,
4
+ "local_files_only": false,
5
+ "model_max_length": 200,
6
+ "pad_token": "<|blank|>",
7
+ "padding": true,
8
+ "processor_class": "GraniteSpeech5Processor",
9
+ "tokenizer_class": "ParakeetTokenizer"
10
+ }