google/speech_commands
Updated • 1.89k • 59
How to use gokulsrinivasagan/whisper-base.en-speech-commands-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="gokulsrinivasagan/whisper-base.en-speech-commands-v1") # Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("gokulsrinivasagan/whisper-base.en-speech-commands-v1")
model = AutoModelForAudioClassification.from_pretrained("gokulsrinivasagan/whisper-base.en-speech-commands-v1")# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("gokulsrinivasagan/whisper-base.en-speech-commands-v1")
model = AutoModelForAudioClassification.from_pretrained("gokulsrinivasagan/whisper-base.en-speech-commands-v1")This model is a fine-tuned version of openai/whisper-base.en on the speech_commands dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3306 | 1.0 | 103 | 1.1388 | 0.8022 |
| 0.1314 | 2.0 | 206 | 1.1511 | 0.8022 |
| 0.0672 | 3.0 | 309 | 1.1448 | 0.8062 |
| 0.048 | 4.0 | 412 | 1.1638 | 0.8067 |
| 0.034 | 5.0 | 515 | 1.1655 | 0.8058 |
Base model
openai/whisper-base.en
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="gokulsrinivasagan/whisper-base.en-speech-commands-v1")