Commit
•
433f259
1
Parent(s):
c78f49d
Upload tiny models for ASTModel
Browse files- config.json +23 -0
- preprocessor_config.json +13 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ASTModel"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"frequency_stride": 2,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 32,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 37,
|
12 |
+
"layer_norm_eps": 1e-12,
|
13 |
+
"max_length": 24,
|
14 |
+
"model_type": "audio-spectrogram-transformer",
|
15 |
+
"num_attention_heads": 4,
|
16 |
+
"num_hidden_layers": 5,
|
17 |
+
"num_mel_bins": 16,
|
18 |
+
"patch_size": 2,
|
19 |
+
"qkv_bias": true,
|
20 |
+
"time_stride": 2,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.28.0.dev0"
|
23 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "ASTFeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"max_length": 1024,
|
6 |
+
"mean": -4.2677393,
|
7 |
+
"num_mel_bins": 128,
|
8 |
+
"padding_side": "right",
|
9 |
+
"padding_value": 0.0,
|
10 |
+
"return_attention_mask": false,
|
11 |
+
"sampling_rate": 16000,
|
12 |
+
"std": 4.5689974
|
13 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d6565e5c7fa19b3eed53506093ac79d833a5572113608810d00474794c22a00
|
3 |
+
size 176822
|