denis-kazakov
commited on
Commit
•
6f0bece
1
Parent(s):
118d4fc
Upload 4 files
Browse files- config.json +48 -0
- preprocessor_config.json +13 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "MIT/ast-finetuned-audioset-10-10-0.4593",
|
3 |
+
"architectures": [
|
4 |
+
"ASTForAudioClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"frequency_stride": 10,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "blues",
|
13 |
+
"1": "classical",
|
14 |
+
"2": "country",
|
15 |
+
"3": "disco",
|
16 |
+
"4": "hiphop",
|
17 |
+
"5": "jazz",
|
18 |
+
"6": "metal",
|
19 |
+
"7": "pop",
|
20 |
+
"8": "reggae",
|
21 |
+
"9": "rock"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"blues": "0",
|
27 |
+
"classical": "1",
|
28 |
+
"country": "2",
|
29 |
+
"disco": "3",
|
30 |
+
"hiphop": "4",
|
31 |
+
"jazz": "5",
|
32 |
+
"metal": "6",
|
33 |
+
"pop": "7",
|
34 |
+
"reggae": "8",
|
35 |
+
"rock": "9"
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"max_length": 1024,
|
39 |
+
"model_type": "audio-spectrogram-transformer",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"num_mel_bins": 128,
|
43 |
+
"patch_size": 16,
|
44 |
+
"qkv_bias": true,
|
45 |
+
"time_stride": 10,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.32.1"
|
48 |
+
}
|
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:a5d4cb2e7fe3799877e3b8367ba9c1cf3598c1f6422be22a208b92522197ae62
|
3 |
+
size 344860470
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cce237d047f0059de49a93abcc94adace5d69f1f83186e322e512e7f43c9436c
|
3 |
+
size 4536
|