nithinraok
commited on
Commit
·
e576832
1
Parent(s):
085a3de
adding safetensor model
Browse filesSigned-off-by: nithinraok <[email protected]>
- config.json +59 -0
- model.safetensors +3 -0
- preprocessor_config.json +21 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FastConformerForCTC"
|
| 4 |
+
],
|
| 5 |
+
"blank_token_id": 0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"ctc_loss_reduction": "mean",
|
| 8 |
+
"ctc_zero_infinity": true,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"fastconformer_config": {
|
| 11 |
+
"activation_dropout": 0.1,
|
| 12 |
+
"activation_function": "silu",
|
| 13 |
+
"architectures": [
|
| 14 |
+
"FastConformerModel"
|
| 15 |
+
],
|
| 16 |
+
"attention_bias": false,
|
| 17 |
+
"attention_dropout": 0.1,
|
| 18 |
+
"conv_kernel_size": 9,
|
| 19 |
+
"d_model": 1024,
|
| 20 |
+
"dropout": 0.1,
|
| 21 |
+
"dropout_emb": 0.0,
|
| 22 |
+
"encoder_attention_heads": 8,
|
| 23 |
+
"encoder_ffn_dim": 4096,
|
| 24 |
+
"encoder_layerdrop": 0.1,
|
| 25 |
+
"encoder_layers": 42,
|
| 26 |
+
"head_dim": 128,
|
| 27 |
+
"hidden_act": "silu",
|
| 28 |
+
"hidden_dropout_prob": 0.1,
|
| 29 |
+
"hidden_size": 1024,
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 4096,
|
| 32 |
+
"max_position_embeddings": 2048,
|
| 33 |
+
"mlp_bias": false,
|
| 34 |
+
"model_type": "fastconformer",
|
| 35 |
+
"nemo_decoder_type": "nemo.collections.asr.modules.ConvASRDecoder",
|
| 36 |
+
"nemo_encoder_type": "nemo.collections.asr.modules.ConformerEncoder",
|
| 37 |
+
"nemo_model_name": "nvidia/parakeet-ctc-1.1b",
|
| 38 |
+
"nemo_model_type": "parakeet",
|
| 39 |
+
"num_attention_heads": 8,
|
| 40 |
+
"num_hidden_layers": 42,
|
| 41 |
+
"num_key_value_heads": 8,
|
| 42 |
+
"num_mel_bins": 80,
|
| 43 |
+
"pretraining_tp": 1,
|
| 44 |
+
"rms_norm_eps": 1e-06,
|
| 45 |
+
"rope_scaling": null,
|
| 46 |
+
"rope_theta": 10000.0,
|
| 47 |
+
"subsampling_conv_channels": 256,
|
| 48 |
+
"subsampling_factor": 8,
|
| 49 |
+
"use_bias": true,
|
| 50 |
+
"use_cache": true,
|
| 51 |
+
"vocab_size": 1024,
|
| 52 |
+
"xscaling": true
|
| 53 |
+
},
|
| 54 |
+
"model_type": "fastconformer_for_ctc",
|
| 55 |
+
"pad_token_id": 0,
|
| 56 |
+
"torch_dtype": "float32",
|
| 57 |
+
"transformers_version": "4.53.0.dev0",
|
| 58 |
+
"vocab_size": 1025
|
| 59 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55a59b38ff5e4773e5d836fb997e2b3529fe44406c86ba1d5009f1c29df06a3d
|
| 3 |
+
size 4250700812
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"f_max": 8000,
|
| 3 |
+
"f_min": 0,
|
| 4 |
+
"feature_extractor_type": "FastConformerFeatureExtractor",
|
| 5 |
+
"feature_size": 80,
|
| 6 |
+
"hop_length": 160,
|
| 7 |
+
"mag_power": 2.0,
|
| 8 |
+
"mel_norm": "slaney",
|
| 9 |
+
"mel_scale": "htk",
|
| 10 |
+
"n_fft": 512,
|
| 11 |
+
"n_mels": 80,
|
| 12 |
+
"normalize": "per_feature",
|
| 13 |
+
"padding_side": "right",
|
| 14 |
+
"padding_value": 0.0,
|
| 15 |
+
"preemph": 0.97,
|
| 16 |
+
"return_attention_mask": true,
|
| 17 |
+
"sampling_rate": 16000,
|
| 18 |
+
"win_length": 400,
|
| 19 |
+
"window_size": 0.025,
|
| 20 |
+
"window_stride": 0.01
|
| 21 |
+
}
|