End of training
Browse files- README.md +76 -0
- config.json +0 -0
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: HariprasathSB/indic-whisper-vulnerable
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: audio-abuse-feature
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# audio-abuse-feature
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [HariprasathSB/indic-whisper-vulnerable](https://huggingface.co/HariprasathSB/indic-whisper-vulnerable) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.4489
|
| 20 |
+
- Accuracy: 0.8814
|
| 21 |
+
- Macro Precision: 0.8557
|
| 22 |
+
- Macro Recall: 0.8472
|
| 23 |
+
- Macro F1-score: 0.8513
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 1e-05
|
| 43 |
+
- train_batch_size: 16
|
| 44 |
+
- eval_batch_size: 16
|
| 45 |
+
- seed: 42
|
| 46 |
+
- gradient_accumulation_steps: 4
|
| 47 |
+
- total_train_batch_size: 64
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- lr_scheduler_warmup_ratio: 0.01
|
| 51 |
+
- num_epochs: 5
|
| 52 |
+
- mixed_precision_training: Native AMP
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro Precision | Macro Recall | Macro F1-score |
|
| 57 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------------:|:------------:|:--------------:|
|
| 58 |
+
| 0.4633 | 0.4367 | 50 | 0.3753 | 0.8327 | 0.8321 | 0.8314 | 0.8317 |
|
| 59 |
+
| 0.345 | 0.8734 | 100 | 0.4170 | 0.8241 | 0.8612 | 0.8126 | 0.8150 |
|
| 60 |
+
| 0.2592 | 1.3100 | 150 | 0.3357 | 0.8512 | 0.8506 | 0.8502 | 0.8504 |
|
| 61 |
+
| 0.2097 | 1.7467 | 200 | 0.3142 | 0.8758 | 0.8757 | 0.8744 | 0.8749 |
|
| 62 |
+
| 0.1545 | 2.1834 | 250 | 0.3551 | 0.8721 | 0.8713 | 0.8718 | 0.8715 |
|
| 63 |
+
| 0.0829 | 2.6201 | 300 | 0.3916 | 0.8795 | 0.8797 | 0.8778 | 0.8786 |
|
| 64 |
+
| 0.0944 | 3.0568 | 350 | 0.4137 | 0.8721 | 0.8714 | 0.8730 | 0.8718 |
|
| 65 |
+
| 0.0416 | 3.4934 | 400 | 0.5350 | 0.8659 | 0.8677 | 0.8631 | 0.8646 |
|
| 66 |
+
| 0.0469 | 3.9301 | 450 | 0.5129 | 0.8733 | 0.8727 | 0.8726 | 0.8727 |
|
| 67 |
+
| 0.0247 | 4.3668 | 500 | 0.5543 | 0.8708 | 0.8713 | 0.8689 | 0.8698 |
|
| 68 |
+
| 0.0208 | 4.8035 | 550 | 0.5611 | 0.8696 | 0.8691 | 0.8688 | 0.8689 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Framework versions
|
| 72 |
+
|
| 73 |
+
- Transformers 4.41.2
|
| 74 |
+
- Pytorch 2.1.2
|
| 75 |
+
- Datasets 2.19.2
|
| 76 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:864246021cd4d846d307ea7a682f077c2777393fac00a6c95d98415ee6de7108
|
| 3 |
+
size 1229957888
|
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 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6342539509271c81d19838f0723b87987024940bf7d4cd2d6204426a97c1c828
|
| 3 |
+
size 5112
|