Instructions to use taengk/audio_cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use taengk/audio_cls with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="taengk/audio_cls")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("taengk/audio_cls") model = AutoModelForAudioClassification.from_pretrained("taengk/audio_cls", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from taengk/audio_cls: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/taengk/audio_cls/resolve/main/README.md
- Command line
-
hf download hf://taengk/audio_cls/README.md
-
curl -L -o README.md https://huggingface.co/taengk/audio_cls/resolve/main/README.md
2.16 kB
| library_name: transformers | |
| base_model: Kkonjeong/wav2vec2-base-korean | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: audio_cls | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # audio_cls | |
| This model is a fine-tuned version of [Kkonjeong/wav2vec2-base-korean](https://huggingface.co/Kkonjeong/wav2vec2-base-korean) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.5783 | |
| - Accuracy: 0.8655 | |
| ## 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: 0.0001 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 2 | |
| - total_train_batch_size: 16 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_ratio: 0.1 | |
| - num_epochs: 10 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | 2.645 | 1.0 | 30 | 2.6139 | 0.1261 | | |
| | 2.2466 | 2.0 | 60 | 2.1809 | 0.3782 | | |
| | 1.7001 | 3.0 | 90 | 1.8348 | 0.5546 | | |
| | 1.1921 | 4.0 | 120 | 1.4347 | 0.6218 | | |
| | 0.8495 | 5.0 | 150 | 1.0745 | 0.8151 | | |
| | 0.6037 | 6.0 | 180 | 0.9163 | 0.8403 | | |
| | 0.3227 | 7.0 | 210 | 0.7292 | 0.8487 | | |
| | 0.2292 | 8.0 | 240 | 0.6378 | 0.8403 | | |
| | 0.163 | 9.0 | 270 | 0.5870 | 0.8739 | | |
| | 0.1357 | 10.0 | 300 | 0.5783 | 0.8655 | | |
| ### Framework versions | |
| - Transformers 4.56.1 | |
| - Pytorch 2.8.0+cu126 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.22.0 | |