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 +7 -7
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -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: 0.
|
| 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
|
|
@@ -60,17 +60,17 @@ The following hyperparameters were used during training:
|
|
| 60 |
- total_train_batch_size: 32
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
-
- lr_scheduler_warmup_ratio: 0.
|
| 64 |
- num_epochs: 4
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
-
| 1.
|
| 71 |
-
| 1.
|
| 72 |
-
| 0.
|
| 73 |
-
| 0.
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
|
|
|
| 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.1647
|
| 36 |
- Accuracy: 1.0
|
| 37 |
|
| 38 |
## Model description
|
|
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
+
- learning_rate: 0.0005
|
| 56 |
- train_batch_size: 8
|
| 57 |
- eval_batch_size: 8
|
| 58 |
- seed: 42
|
|
|
|
| 60 |
- total_train_batch_size: 32
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
+
- lr_scheduler_warmup_ratio: 0.5
|
| 64 |
- num_epochs: 4
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| 1.7573 | 0.89 | 2 | 1.2997 | 1.0 |
|
| 71 |
+
| 1.0518 | 1.78 | 4 | 0.5840 | 1.0 |
|
| 72 |
+
| 0.4723 | 2.67 | 6 | 0.2595 | 1.0 |
|
| 73 |
+
| 0.1425 | 3.56 | 8 | 0.1647 | 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:88f42fa3bcb254a3b6cd089dcfdcebfdb1e1a0bfa95ee5121830738aca8dd5cc
|
| 3 |
size 378305452
|