Audio Classification
Transformers
TensorBoard
Safetensors
wav2vec2
Generated from Trainer
Eval Results (legacy)
Instructions to use iamhack/fb_DH_o_m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iamhack/fb_DH_o_m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="iamhack/fb_DH_o_m")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("iamhack/fb_DH_o_m") model = AutoModelForAudioClassification.from_pretrained("iamhack/fb_DH_o_m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from iamhack/fb_DH_o_m: direct link, hf CLI and curl.
- Browser
- Download file 2.04 kB
-
https://huggingface.co/iamhack/fb_DH_o_m/resolve/main/README.md
- Command line
-
hf download hf://iamhack/fb_DH_o_m/README.md
-
curl -L -o README.md https://huggingface.co/iamhack/fb_DH_o_m/resolve/main/README.md
2.04 kB
metadata
license: apache-2.0
base_model: facebook/wav2vec2-base
tags:
- generated_from_trainer
datasets:
- audiofolder
metrics:
- accuracy
model-index:
- name: fb_DH_o_m
results:
- task:
name: Audio Classification
type: audio-classification
dataset:
name: audiofolder
type: audiofolder
config: default
split: train
args: default
metrics:
- name: Accuracy
type: accuracy
value: 0.999348321928967
fb_DH_o_m
This model is a fine-tuned version of facebook/wav2vec2-base on the audiofolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.0050
- Accuracy: 0.9993
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 3e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- distributed_type: tpu
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.09 | 1.0 | 287 | 0.0405 | 0.9968 |
| 0.0337 | 2.0 | 575 | 0.0117 | 0.9988 |
| 0.017 | 3.0 | 863 | 0.0073 | 0.9993 |
| 0.0085 | 4.0 | 1151 | 0.0062 | 0.9992 |
| 0.0102 | 4.99 | 1435 | 0.0050 | 0.9993 |
Framework versions
- Transformers 4.37.2
- Pytorch 2.0.0+cu118
- Datasets 2.17.0
- Tokenizers 0.15.1