Audio Classification
Transformers
TensorBoard
Safetensors
hubert
Generated from Trainer
Eval Results (legacy)
Instructions to use sravan-gorugantu/model2024-05-21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sravan-gorugantu/model2024-05-21 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="sravan-gorugantu/model2024-05-21")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("sravan-gorugantu/model2024-05-21") model = AutoModelForAudioClassification.from_pretrained("sravan-gorugantu/model2024-05-21", device_map="auto") - Notebooks
- Google Colab
- Kaggle
model2024-05-21
This model is a fine-tuned version of sravan-gorugantu/model2024-05-20 on the audiofolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.2042
- Accuracy: 0.9890
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: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 0.92 | 6 | 0.4721 | 0.9829 |
| 0.5325 | 2.0 | 13 | 0.3214 | 0.9890 |
| 0.5325 | 2.92 | 19 | 0.2483 | 0.9865 |
| 0.3277 | 4.0 | 26 | 0.2103 | 0.9890 |
| 0.2439 | 4.62 | 30 | 0.2042 | 0.9890 |
Framework versions
- Transformers 4.38.1
- Pytorch 2.1.2+cu121
- Datasets 2.16.1
- Tokenizers 0.15.2
- Downloads last month
- 4
Model tree for sravan-gorugantu/model2024-05-21
Base model
ntu-spml/distilhubert Finetuned
sravan-gorugantu/model2024-05-20Evaluation results
- Accuracy on audiofolderself-reported0.989