Audio Classification
Transformers
Safetensors
audio-spectrogram-transformer
Generated from Trainer
Eval Results (legacy)
Instructions to use Vladimirlv/ast-finetuned-audioset-10-10-0.4593-heart-sounds with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vladimirlv/ast-finetuned-audioset-10-10-0.4593-heart-sounds with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Vladimirlv/ast-finetuned-audioset-10-10-0.4593-heart-sounds")# Load model directly from transformers import AutoFeatureExtractor, AutoModelForAudioClassification extractor = AutoFeatureExtractor.from_pretrained("Vladimirlv/ast-finetuned-audioset-10-10-0.4593-heart-sounds") model = AutoModelForAudioClassification.from_pretrained("Vladimirlv/ast-finetuned-audioset-10-10-0.4593-heart-sounds") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +36 -2
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -4,9 +4,26 @@ license: bsd-3-clause
|
|
| 4 |
base_model: MIT/ast-finetuned-audioset-10-10-0.4593
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 9 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -16,7 +33,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vldmrl-org/HeartDiseaseDetector/runs/n9fzp3eh)
|
| 17 |
# ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) on
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -46,6 +66,20 @@ The following hyperparameters were used during training:
|
|
| 46 |
- lr_scheduler_warmup_ratio: 0.1
|
| 47 |
- num_epochs: 8
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Framework versions
|
| 50 |
|
| 51 |
- Transformers 4.49.0
|
|
|
|
| 4 |
base_model: MIT/ast-finetuned-audioset-10-10-0.4593
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- audiofolder
|
| 9 |
+
metrics:
|
| 10 |
+
- accuracy
|
| 11 |
model-index:
|
| 12 |
- name: ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 13 |
+
results:
|
| 14 |
+
- task:
|
| 15 |
+
name: Audio Classification
|
| 16 |
+
type: audio-classification
|
| 17 |
+
dataset:
|
| 18 |
+
name: audiofolder
|
| 19 |
+
type: audiofolder
|
| 20 |
+
config: default
|
| 21 |
+
split: validation
|
| 22 |
+
args: default
|
| 23 |
+
metrics:
|
| 24 |
+
- name: Accuracy
|
| 25 |
+
type: accuracy
|
| 26 |
+
value: 0.9679878048780488
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 33 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vldmrl-org/HeartDiseaseDetector/runs/n9fzp3eh)
|
| 34 |
# ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 35 |
|
| 36 |
+
This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) on the audiofolder dataset.
|
| 37 |
+
It achieves the following results on the evaluation set:
|
| 38 |
+
- Loss: 0.1499
|
| 39 |
+
- Accuracy: 0.9680
|
| 40 |
|
| 41 |
## Model description
|
| 42 |
|
|
|
|
| 66 |
- lr_scheduler_warmup_ratio: 0.1
|
| 67 |
- num_epochs: 8
|
| 68 |
|
| 69 |
+
### Training results
|
| 70 |
+
|
| 71 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 72 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 73 |
+
| 0.2135 | 1.0 | 83 | 0.1724 | 0.9390 |
|
| 74 |
+
| 0.1655 | 2.0 | 166 | 0.2276 | 0.8918 |
|
| 75 |
+
| 0.0959 | 3.0 | 249 | 0.1166 | 0.9527 |
|
| 76 |
+
| 0.04 | 4.0 | 332 | 0.1106 | 0.9634 |
|
| 77 |
+
| 0.0142 | 5.0 | 415 | 0.1317 | 0.9634 |
|
| 78 |
+
| 0.0186 | 6.0 | 498 | 0.1424 | 0.9665 |
|
| 79 |
+
| 0.0022 | 7.0 | 581 | 0.1433 | 0.9695 |
|
| 80 |
+
| 0.0009 | 7.9119 | 656 | 0.1499 | 0.9680 |
|
| 81 |
+
|
| 82 |
+
|
| 83 |
### Framework versions
|
| 84 |
|
| 85 |
- Transformers 4.49.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 344793116
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:107f370a6ebbd1154ef5323c539ca1d85f7b0dce0c4d6b372bf421bb9630a489
|
| 3 |
size 344793116
|