Update tiny models for ParakeetEncoder
Browse files- config.json +30 -0
- model.safetensors +3 -0
- preprocessor_config.json +12 -0
- tokenizer.json +0 -0
- tokenizer_config.json +11 -0
config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ParakeetEncoder"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": true,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"conv_kernel_size": 9,
|
| 9 |
+
"convolution_bias": true,
|
| 10 |
+
"dropout": 0.0,
|
| 11 |
+
"dropout_positions": 0.0,
|
| 12 |
+
"dtype": "float32",
|
| 13 |
+
"hidden_act": "silu",
|
| 14 |
+
"hidden_size": 64,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 256,
|
| 17 |
+
"layerdrop": 0.0,
|
| 18 |
+
"max_position_embeddings": 5000,
|
| 19 |
+
"model_type": "parakeet_encoder",
|
| 20 |
+
"num_attention_heads": 4,
|
| 21 |
+
"num_hidden_layers": 2,
|
| 22 |
+
"num_key_value_heads": 4,
|
| 23 |
+
"num_mel_bins": 80,
|
| 24 |
+
"scale_input": true,
|
| 25 |
+
"subsampling_conv_channels": 32,
|
| 26 |
+
"subsampling_conv_kernel_size": 3,
|
| 27 |
+
"subsampling_conv_stride": 2,
|
| 28 |
+
"subsampling_factor": 8,
|
| 29 |
+
"transformers_version": "5.16.0.dev0"
|
| 30 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6655a7908b7f144740f1c1f14bf94873d0fdfbbb4f4281c146e402ddc76a0115
|
| 3 |
+
size 911680
|
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": 5000,
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"processor_class": "ParakeetProcessor",
|
| 9 |
+
"tokenizer_class": "ParakeetTokenizer",
|
| 10 |
+
"unk_token": "<unk>"
|
| 11 |
+
}
|