Saltar al contenido
ModelPublicadoExterno
Browse files

Ast Finetuned Gtzan ONNX

This is an ONNX version of ramsri818/ast-finetuned-gtzan. It was automatically converted and uploaded using this Hugging Face Space.

TipoOtherModelo baseramsri818/ast-finetuned-gtzanVersiónRevision 7f313d5

Fuente del modelo

Tipo
Other
Tamaño del archivo
48,2–329 MB
Modelo base
ramsri818/ast-finetuned-gtzan
Versión
vRevision 7f313d5
Actualizado
19 sept 2026
Descargas
30
Fuente
Hugging Face

Descripción de la fuente

ast-finetuned-gtzan (ONNX)

This is an ONNX version of ramsri818/ast-finetuned-gtzan. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js

See the pipeline documentation for audio-classification: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.AudioClassificationPipeline


ast-finetuned-gtzan

This model is a fine-tuned version of MIT/ast-finetuned-audioset-10-10-0.4593 on the GTZAN dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4436
  • Accuracy: 0.93

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: 20

Training results

Training LossEpochStepValidation LossAccuracy
0.00011.02250.55460.89
1.2042.04500.94840.81
0.47193.06750.74170.85
0.01324.09000.71010.9
0.05275.011250.81700.86
0.06.013500.64060.93
0.30997.015750.84260.84
0.08.018000.91730.89
0.09.020250.71420.9
0.060210.022500.47180.92
0.000311.024750.98600.9
0.000112.027000.59180.91
0.013.029250.48860.92
0.014.031500.45620.93
0.015.033750.43600.94
0.016.036000.44330.94
0.017.038250.44540.94
0.018.040500.44540.94
0.019.042750.44340.93
0.020.045000.44360.93

Framework versions

  • Transformers 4.32.0.dev0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.2
  • Tokenizers 0.13.3

Fuentes

1 fuente
Hugging FacePrincipalVersión 7f313d5ef95bdd541b857c5385702194703b8185
huggingface.co/onnx-community/ast-finetuned-gtzan-ONNX/tree/7f313d5ef95bdd541b857c5385702194703b8185

Verificado 19 sept

Download files

Artefactos del modelo

8 artefactos

onnx/model_bnb4.onnx

onnx · 50,7 MB · SHA-256 9690c7a4ec04…d4b2 · Hugging Face

Download file

onnx/model_fp16.onnx

onnx · 165 MB · SHA-256 a05c31945ab5…9a1e · Hugging Face

Download file

onnx/model_int8.onnx

onnx · 86,0 MB · SHA-256 f7322d9c9a0d…31bf · Hugging Face

Download file

onnx/model_q4.onnx

onnx · 55,7 MB · SHA-256 e065d352521c…cd51 · Hugging Face

Download file

onnx/model_q4f16.onnx

onnx · 48,2 MB · SHA-256 fef759d44499…96a6 · Hugging Face

Download file

onnx/model_quantized.onnx

onnx · 86,0 MB · SHA-256 7fd50db07df1…b60a · Hugging Face

Download file

onnx/model_uint8.onnx

onnx · 86,0 MB · SHA-256 7fd50db07df1…b60a · Hugging Face

Download file

onnx/model.onnx

onnx · 329 MB · SHA-256 71bbd4bd350f…b673 · Hugging Face

Download file

Extractos de fuentes

2 extractos

--- license: bsd-3-clause base_model: - ramsri818/ast-finetuned-gtzan tags: - generated_from_trainer datasets: - marsyas/gtzan metrics: - accuracy model-index: - name: ast-finetuned-gtzan results: - task: name: Audio Classification type: audio-classification dataset: name: GTZAN type: marsyas/gtzan config: all split: train args: all metrics: - name: Accuracy type: accuracy value: 0.93 library_name: transformers.js pipeline_tag: audio-classification --- # ast-finetuned-gtzan (ONNX) This is an ONNX version of [ramsri818/ast-finetuned-gtzan](https://huggingface.co/ramsri818/ast-finetuned-gtzan). It was automatically converted and uploaded using [this Hugging Face Space](https://huggingface.co/spaces/onnx-community/convert-to-onnx). ## Usage with Transformers.js See the pipeline documentation for `audio-classification`: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.AudioClassificationPipeline --- <!-- 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-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: 0.4436 - Accuracy: 0.93 ## 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: 20 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.0001 | 1.0 | 225 | 0.5546 | 0.89 | | 1.204 | 2.0 | 450 | 0.9484 | 0.81 | | 0.4719 | 3.0 | 675 | 0.7417 | 0.85 | | 0.0132 | 4.0 | 900 | 0.7101 | 0.9 | | 0.0527 | 5.0 | 1125 | 0.8170 | 0.86 | | 0.0 | 6.0 | 1350 | 0.6406 | 0.93 | | 0.3099 | 7.0 | 1575 | 0.8426 | 0.84 | | 0.0 | 8.0 | 1800 | 0.9173 | 0.89 | | 0.0 | 9.0 | 2025 | 0.7142 | 0.9...

Source context: 30 downloads · 1 likes · Pipeline audio-classification · Library transformers.js · Repo onnx-community/ast-finetuned-gtzan-ONNX