Audio Classification
Transformers
TensorBoard
Safetensors
wav2vec2
Generated from Trainer
Eval Results (legacy)
Instructions to use Hemg/dangerous-heartbeat-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hemg/dangerous-heartbeat-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Hemg/dangerous-heartbeat-detection")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Hemg/dangerous-heartbeat-detection") model = AutoModelForAudioClassification.from_pretrained("Hemg/dangerous-heartbeat-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +8 -5
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -17,7 +17,7 @@ model-index:
|
|
| 17 |
name: audiofolder
|
| 18 |
type: audiofolder
|
| 19 |
config: default
|
| 20 |
-
split: train[:
|
| 21 |
args: default
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
|
@@ -32,7 +32,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the audiofolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
- Loss:
|
| 36 |
- Accuracy: 1.0
|
| 37 |
|
| 38 |
## Model description
|
|
@@ -52,7 +52,7 @@ More information needed
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
-
- learning_rate: 0.
|
| 56 |
- train_batch_size: 8
|
| 57 |
- eval_batch_size: 8
|
| 58 |
- seed: 42
|
|
@@ -61,13 +61,16 @@ The following hyperparameters were used during training:
|
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
- lr_scheduler_warmup_ratio: 0.1
|
| 64 |
-
- num_epochs:
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
-
| 1.
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
|
|
|
| 17 |
name: audiofolder
|
| 18 |
type: audiofolder
|
| 19 |
config: default
|
| 20 |
+
split: train[:90]
|
| 21 |
args: default
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
|
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the audiofolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.6583
|
| 36 |
- Accuracy: 1.0
|
| 37 |
|
| 38 |
## Model description
|
|
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
+
- learning_rate: 0.0001
|
| 56 |
- train_batch_size: 8
|
| 57 |
- eval_batch_size: 8
|
| 58 |
- seed: 42
|
|
|
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
- lr_scheduler_warmup_ratio: 0.1
|
| 64 |
+
- num_epochs: 4
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| 1.781 | 0.89 | 2 | 1.3484 | 1.0 |
|
| 71 |
+
| 1.2752 | 1.78 | 4 | 0.9439 | 1.0 |
|
| 72 |
+
| 0.911 | 2.67 | 6 | 0.7337 | 1.0 |
|
| 73 |
+
| 0.4377 | 3.56 | 8 | 0.6583 | 1.0 |
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 378305452
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3bca8e9e5c75aeaed592e1ab67e5a6ab79581074ea2faee71d76c49de5f0fd0
|
| 3 |
size 378305452
|