ONNX Model Zoo

NbAiLab/whisper-small-smj-test

By NbAiLab · ↓ 11 · ♥ 1 · Updated 2023-10-23

What's in this repo

This page lists the files in NbAiLab/whisper-small-smj-test, including decoder_model.onnx, decoder_with_past_model.onnx, encoder_model.onnx.

  • 3 ONNX models (.onnx files)
  • 46 files, including 20 .json, 12 .md, 3 .bin, 3 .txt, 3 .onnx, 1 .msgpack
  • Last updated 2023-10-23

ONNX files

File Size Download
onnx/decoder_model.onnx — Download
onnx/decoder_with_past_model.onnx — Download
onnx/encoder_model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

whisper-small-smj

This model is a fine-tuned version of openai/whisper-small on the NbAiLab/salmon-asr-smj dataset. It achieves the following results on the evaluation set:

  • step: 9999
  • validation_loss: 0.3690
  • train_loss: 0.2159
  • validation_wer: 19.6809
  • validation_cer: 5.5037
  • validation_exact_wer: 22.3404
  • validation_exact_cer: 5.8753

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
  • lr_scheduler_type: linear
  • per_device_train_batch_size: 32
  • total_train_batch_size_per_node: 256
  • total_train_batch_size: 256
  • total_optimization_steps: 10,000
  • starting_optimization_step: None
  • finishing_optimization_step: 10,000
  • num_train_dataset_workers: 32
  • num_hosts: 1
  • total_num_training_examples: 2,560,000
  • steps_per_epoch: 70
  • num_beams: None
  • weight_decay: 0.01
  • adam_beta1: 0.9
  • adam_beta2: 0.98
  • adam_epsilon: 1e-06
  • dropout: True
  • bpe_dropout_probability: 0.2
  • activation_dropout_probability: 0.1

Training results

step validation_loss train_loss validation_wer validation_cer validation_exact_wer validation_exact_cer
0 3.4458 4.7979 205.7181 94.0902 150.2660 95.4591
1000 0.8415 0.2440 21.9415 6.4379 25.9309 7.0106
2000 1.0741 0.2249 21.6755 5.7474 25.0 6.1741
3000 0.8933 0.2919 20.4787 5.3615 23.9362 5.8156
4000 0.8445 0.1339 18.8830 5.2193 21.4096 5.6363
5000 0.3739 0.2289 20.0798 5.3818 23.2713 5.8355
6000 0.3746 0.2586 19.8138 5.2600 22.7394 5.6562
7000 0.3555 0.2273 19.2819 5.7067 22.3404 6.0745
8000 0.3671 0.1632 19.4149 5.4224 22.3404 5.8952
9000 0.3508 0.2107 18.3511 5.3006 21.2766 5.7160
9999 0.3690 0.2159 19.6809 5.5037 22.3404 5.8753

Framework versions

  • Transformers 4.34.1
  • Datasets 2.14.5
  • Tokenizers 0.14.1

Model info

transformers pytorch tf jax tensorboard onnx safetensors whisper automatic-speech-recognition audio asr hf-asr-leaderboard
↓ 11 ♥ 1

Created: 2023-10-21

Updated: 2023-10-23

View on Hugging Face

Files (46)

.gitattributes
README.md
added_tokens.json
config.json
flax_model.msgpack
generation_config.json
ggml-model.bin
merges.txt
model.safetensors
normalizer.json
onnx/added_tokens.json
onnx/config.json
onnx/decoder_model.onnx ONNX
onnx/decoder_with_past_model.onnx ONNX
onnx/encoder_model.onnx ONNX
onnx/generation_config.json
onnx/merges.txt
onnx/normalizer.json
onnx/preprocessor_config.json
onnx/special_tokens_map.json
onnx/tokenizer.json
onnx/tokenizer_config.json
onnx/vocab.json
predictions/validation/step_0.md
predictions/validation/step_1000.md
predictions/validation/step_2000.md
predictions/validation/step_3000.md
predictions/validation/step_4000.md
predictions/validation/step_5000.md
predictions/validation/step_6000.md
predictions/validation/step_7000.md
predictions/validation/step_8000.md
predictions/validation/step_9000.md
predictions/validation/step_9999.md
preprocessor_config.json
pytorch_model.bin
runs/Oct21_13-31-51_t1v-n-85d17cd2-w-0/events.out.tfevents.1697895111.t1v-n-85d17cd2-w-0.1209043.0.v2
special_tokens_map.json
test_results.json
tf_model.h5
tokenizer.json
tokenizer_config.json
training_state.bin
training_tokenizer-merges.txt
training_tokenizer-vocab.json
vocab.json

Related models