Audio Classification
Transformers
TensorBoard
Safetensors
wav2vec2
Generated from Trainer
Eval Results (legacy)
Instructions to use devkya/ko-commands-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devkya/ko-commands-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="devkya/ko-commands-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("devkya/ko-commands-classification") model = AutoModelForAudioClassification.from_pretrained("devkya/ko-commands-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from devkya/ko-commands-classification: direct link, hf CLI and curl.
- Browser
- Download file 2.22 kB
-
https://huggingface.co/devkya/ko-commands-classification/resolve/main/README.md
- Command line
-
hf download hf://devkya/ko-commands-classification/README.md
-
curl -L -o README.md https://huggingface.co/devkya/ko-commands-classification/resolve/main/README.md
2.22 kB
metadata
license: apache-2.0
base_model: facebook/wav2vec2-base
tags:
- generated_from_trainer
datasets:
- minds14
metrics:
- accuracy
model-index:
- name: ko-commands-classification
results:
- task:
name: Audio Classification
type: audio-classification
dataset:
name: minds14
type: minds14
config: en-US
split: train
args: en-US
metrics:
- name: Accuracy
type: accuracy
value: 0.07079646017699115
ko-commands-classification
This model is a fine-tuned version of facebook/wav2vec2-base on the minds14 dataset. It achieves the following results on the evaluation set:
- Loss: 2.6464
- Accuracy: 0.0708
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
- 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: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 0.8 | 3 | 2.6375 | 0.0885 |
| No log | 1.8667 | 7 | 2.6374 | 0.0973 |
| 2.6349 | 2.9333 | 11 | 2.6414 | 0.0885 |
| 2.6349 | 4.0 | 15 | 2.6454 | 0.1239 |
| 2.6349 | 4.8 | 18 | 2.6471 | 0.0885 |
| 2.6218 | 5.8667 | 22 | 2.6462 | 0.0973 |
| 2.6218 | 6.9333 | 26 | 2.6464 | 0.0796 |
| 2.6186 | 8.0 | 30 | 2.6464 | 0.0708 |
Framework versions
- Transformers 4.40.2
- Pytorch 2.3.0+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1