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 +38 -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
|
|
@@ -15,7 +32,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
[<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/gcep0ula)
|
| 16 |
# ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 17 |
|
| 18 |
-
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
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -45,6 +65,22 @@ The following hyperparameters were used during training:
|
|
| 45 |
- lr_scheduler_warmup_ratio: 0.1
|
| 46 |
- num_epochs: 10
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
### Framework versions
|
| 49 |
|
| 50 |
- Transformers 4.48.1
|
|
|
|
| 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.7911585365853658
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 32 |
[<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/gcep0ula)
|
| 33 |
# ast-finetuned-audioset-10-10-0.4593-heart-sounds
|
| 34 |
|
| 35 |
+
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.
|
| 36 |
+
It achieves the following results on the evaluation set:
|
| 37 |
+
- Loss: 0.6725
|
| 38 |
+
- Accuracy: 0.7912
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
|
|
| 65 |
- lr_scheduler_warmup_ratio: 0.1
|
| 66 |
- num_epochs: 10
|
| 67 |
|
| 68 |
+
### Training results
|
| 69 |
+
|
| 70 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 71 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 72 |
+
| 1.1202 | 1.0 | 83 | 1.0917 | 0.5518 |
|
| 73 |
+
| 1.0098 | 2.0 | 166 | 0.9641 | 0.6235 |
|
| 74 |
+
| 0.9037 | 3.0 | 249 | 0.8746 | 0.6829 |
|
| 75 |
+
| 0.7681 | 4.0 | 332 | 0.8081 | 0.7241 |
|
| 76 |
+
| 0.7312 | 5.0 | 415 | 0.7589 | 0.7470 |
|
| 77 |
+
| 0.6984 | 6.0 | 498 | 0.7239 | 0.7698 |
|
| 78 |
+
| 0.6762 | 7.0 | 581 | 0.6986 | 0.7759 |
|
| 79 |
+
| 0.6821 | 8.0 | 664 | 0.6819 | 0.7896 |
|
| 80 |
+
| 0.6249 | 9.0 | 747 | 0.6725 | 0.7912 |
|
| 81 |
+
| 0.6694 | 9.8875 | 820 | 0.6699 | 0.7912 |
|
| 82 |
+
|
| 83 |
+
|
| 84 |
### Framework versions
|
| 85 |
|
| 86 |
- Transformers 4.48.1
|
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:a6ce20c1e95671a0fd0b59cb5fae2d3188100cb9c81844b709c1af08c9bf4983
|
| 3 |
size 344793116
|