eustlb HF Staff commited on
Commit
31083d9
·
1 Parent(s): 16ca394

trfs integration

Browse files
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ParakeetForCTC"
4
+ ],
5
+ "ctc_loss_reduction": "mean",
6
+ "ctc_zero_infinity": true,
7
+ "dtype": "bfloat16",
8
+ "encoder_config": {
9
+ "activation_dropout": 0.1,
10
+ "attention_bias": true,
11
+ "attention_dropout": 0.1,
12
+ "conv_kernel_size": 9,
13
+ "dropout": 0.1,
14
+ "dropout_positions": 0.0,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 1024,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
19
+ "layerdrop": 0.1,
20
+ "max_position_embeddings": 5000,
21
+ "model_type": "parakeet_encoder",
22
+ "num_attention_heads": 8,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 8,
25
+ "num_mel_bins": 80,
26
+ "scale_input": true,
27
+ "subsampling_conv_channels": 256,
28
+ "subsampling_conv_kernel_size": 3,
29
+ "subsampling_conv_stride": 2,
30
+ "subsampling_factor": 8
31
+ },
32
+ "initializer_range": 0.02,
33
+ "model_type": "parakeet_ctc",
34
+ "pad_token_id": 1024,
35
+ "transformers_version": "4.57.0.dev0",
36
+ "vocab_size": 1025
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1f5b1d2bc66d4a812a1c8ea48a9aa8678f863e1bd3ecbec3c75abd720897fda
3
+ size 2435506188
preprocessor_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "processor_class": "ParakeetProcessor",
10
+ "return_attention_mask": true,
11
+ "sampling_rate": 16000,
12
+ "win_length": 400
13
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pad_token": {
3
+ "content": "<pad>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "unk_token": {
10
+ "content": "<unk>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ }
16
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1024": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "clean_up_tokenization_spaces": false,
21
+ "extra_special_tokens": {},
22
+ "model_max_length": 1000000000000000019884624838656,
23
+ "pad_token": "<pad>",
24
+ "processor_class": "ParakeetProcessor",
25
+ "tokenizer_class": "ParakeetTokenizerFast",
26
+ "unk_token": "<unk>"
27
+ }