Xenova HF Staff commited on
Commit
3ad6f04
·
verified ·
1 Parent(s): 295dbf8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +24 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +13 -0
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-ASTForAudioClassification",
4
+ "architectures": [
5
+ "ASTForAudioClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "frequency_stride": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 32,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 37,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_length": 24,
16
+ "model_type": "audio-spectrogram-transformer",
17
+ "num_attention_heads": 4,
18
+ "num_hidden_layers": 5,
19
+ "num_mel_bins": 16,
20
+ "patch_size": 2,
21
+ "qkv_bias": true,
22
+ "time_stride": 2,
23
+ "transformers_version": "4.48.2"
24
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ee9c304241e6843d23a9e3d2483e57e43792e8694077a452a7703afdf442192
3
+ size 333914
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
+ }