Upload 3 files
Browse files- config.json +59 -0
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "waveletdeboshir/whisper-base-ser-ru-dusha",
|
| 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 |
+
"num_labels": 5,
|
| 17 |
+
"d_model": 512,
|
| 18 |
+
"dropout": 0.0,
|
| 19 |
+
"encoder_attention_heads": 8,
|
| 20 |
+
"encoder_ffn_dim": 2048,
|
| 21 |
+
"encoder_layerdrop": 0.0,
|
| 22 |
+
"encoder_layers": 6,
|
| 23 |
+
"finetuning_task": "audio-classification",
|
| 24 |
+
"id2label": {
|
| 25 |
+
"0": "angry",
|
| 26 |
+
"1": "sad",
|
| 27 |
+
"2": "neutral",
|
| 28 |
+
"3": "positive",
|
| 29 |
+
"4": "other"
|
| 30 |
+
},
|
| 31 |
+
"init_std": 0.02,
|
| 32 |
+
"is_encoder_decoder": true,
|
| 33 |
+
"label2id": {
|
| 34 |
+
"angry": "0",
|
| 35 |
+
"sad": "1",
|
| 36 |
+
"neutral": "2",
|
| 37 |
+
"positive": "3",
|
| 38 |
+
"other": "4"
|
| 39 |
+
},
|
| 40 |
+
"mask_feature_length": 10,
|
| 41 |
+
"mask_feature_min_masks": 0,
|
| 42 |
+
"mask_feature_prob": 0.0,
|
| 43 |
+
"mask_time_length": 10,
|
| 44 |
+
"mask_time_min_masks": 2,
|
| 45 |
+
"mask_time_prob": 0.05,
|
| 46 |
+
"max_length": 448,
|
| 47 |
+
"max_source_positions": 1500,
|
| 48 |
+
"max_target_positions": 448,
|
| 49 |
+
"median_filter_width": 7,
|
| 50 |
+
"model_type": "whisper",
|
| 51 |
+
"num_hidden_layers": 6,
|
| 52 |
+
"num_mel_bins": 80,
|
| 53 |
+
"scale_embedding": false,
|
| 54 |
+
"torch_dtype": "float32",
|
| 55 |
+
"transformers_version": "4.46.3",
|
| 56 |
+
"use_cache": true,
|
| 57 |
+
"use_weighted_layer_sum": false,
|
| 58 |
+
"vocab_size": 51865
|
| 59 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df08900a73943f673feda11bdf89a8fb7ba79cbaf78d964da892343c67caa5e5
|
| 3 |
+
size 82903356
|
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 |
+
}
|