hf-transformers-bot
commited on
Commit
·
d978412
1
Parent(s):
e7f7372
Upload tiny models for ASTForAudioClassification
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 |
+
"ASTForAudioClassification"
|
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:7a497bc13a373636765b18b8c3243147d5af0ca9de80812f0fb31ecc258a1200
|
3 |
+
size 181186
|