
<!-- 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. -->

# ast-finetuned-audioset-10-10-0.4593-finetuned-gtzan

This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) on the GTZAN dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1549
- Accuracy: 0.88

## 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: 5e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 15
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 3.3456        | 1.0   | 225  | 1.2066          | 0.74     |
| 0.8545        | 2.0   | 450  | 0.9730          | 0.77     |
| 0.2187        | 3.0   | 675  | 1.0979          | 0.74     |
| 0.0901        | 4.0   | 900  | 1.5440          | 0.83     |
| 0.139         | 5.0   | 1125 | 1.1210          | 0.89     |
| 0.2476        | 6.0   | 1350 | 1.1494          | 0.87     |
| 0.0           | 7.0   | 1575 | 1.3533          | 0.86     |
| 0.0002        | 8.0   | 1800 | 1.6525          | 0.87     |
| 0.0           | 9.0   | 2025 | 1.0403          | 0.88     |
| 0.0           | 10.0  | 2250 | 1.6173          | 0.85     |
| 0.0           | 11.0  | 2475 | 1.2292          | 0.88     |
| 0.0           | 12.0  | 2700 | 1.2066          | 0.88     |
| 0.0           | 13.0  | 2925 | 1.1427          | 0.88     |
| 0.0           | 14.0  | 3150 | 1.1401          | 0.88     |
| 0.0           | 15.0  | 3375 | 1.1549          | 0.88     |


### Framework versions

- Transformers 4.36.2
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.15.0

{"license": "bsd-3-clause", "tags": ["generated_from_trainer"], "datasets": ["marsyas/gtzan"], "metrics": ["accuracy"], "base_model": "MIT/ast-finetuned-audioset-10-10-0.4593", "model-index": [{"name": "ast-finetuned-audioset-10-10-0.4593-finetuned-gtzan", "results": [{"task": {"type": "audio-classification", "name": "Audio Classification"}, "dataset": {"name": "GTZAN", "type": "marsyas/gtzan", "config": "all", "split": "train", "args": "all"}, "metrics": [{"type": "accuracy", "value": 0.88, "name": "Accuracy"}]}]}]}
transformers tensorboard safetensors audio-spectrogram-transformer audio-classification generated_from_trainer dataset:marsyas/gtzan base_model:MIT/ast-finetuned-audioset-10-10-0.4593 license:bsd-3-clause model-index endpoints_compatible region:us