shhossain commited on
Commit
9919d01
1 Parent(s): ea21557

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +70 -0
  2. preprocessor_config.json +14 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "shhossain/whisper-tiny-bn",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForAudioClassification"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50257
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 384,
17
+ "decoder_attention_heads": 6,
18
+ "decoder_ffn_dim": 1536,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 4,
21
+ "decoder_start_token_id": 50258,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 6,
24
+ "encoder_ffn_dim": 1536,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 4,
27
+ "eos_token_id": 50257,
28
+ "forced_decoder_ids": null,
29
+ "id2label": {
30
+ "0": "ANGRY",
31
+ "1": "DISGUST",
32
+ "2": "FEAR",
33
+ "3": "HAPPY",
34
+ "4": "NEUTRAL",
35
+ "5": "SAD",
36
+ "6": "SURPRISE"
37
+ },
38
+ "init_std": 0.02,
39
+ "is_encoder_decoder": true,
40
+ "label2id": {
41
+ "ANGRY": "0",
42
+ "DISGUST": "1",
43
+ "FEAR": "2",
44
+ "HAPPY": "3",
45
+ "NEUTRAL": "4",
46
+ "SAD": "5",
47
+ "SURPRISE": "6"
48
+ },
49
+ "mask_feature_length": 10,
50
+ "mask_feature_min_masks": 0,
51
+ "mask_feature_prob": 0.0,
52
+ "mask_time_length": 10,
53
+ "mask_time_min_masks": 2,
54
+ "mask_time_prob": 0.05,
55
+ "max_length": 448,
56
+ "max_source_positions": 1500,
57
+ "max_target_positions": 448,
58
+ "median_filter_width": 7,
59
+ "model_type": "whisper",
60
+ "num_hidden_layers": 4,
61
+ "num_mel_bins": 80,
62
+ "pad_token_id": 50257,
63
+ "scale_embedding": false,
64
+ "suppress_tokens": [],
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.33.2",
67
+ "use_cache": true,
68
+ "use_weighted_layer_sum": false,
69
+ "vocab_size": 51865
70
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "feature_extractor_type": "WhisperFeatureExtractor",
4
+ "feature_size": 80,
5
+ "hop_length": 160,
6
+ "n_fft": 400,
7
+ "n_samples": 480000,
8
+ "nb_max_frames": 3000,
9
+ "padding_side": "right",
10
+ "padding_value": 0.0,
11
+ "processor_class": "WhisperProcessor",
12
+ "return_attention_mask": false,
13
+ "sampling_rate": 16000
14
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f3197c732a2ba8f12dd52f0efa3a3efa7529ada7c7c41e6c470d0c17b9fc59
3
+ size 33258054