google/speech_commands
Updated • 3.23k • 59
How to use moonseok/AST_speechcommandsV2_final with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("audio-classification", model="moonseok/AST_speechcommandsV2_final") # Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("moonseok/AST_speechcommandsV2_final")
model = AutoModelForAudioClassification.from_pretrained("moonseok/AST_speechcommandsV2_final")# Load model directly
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
extractor = AutoFeatureExtractor.from_pretrained("moonseok/AST_speechcommandsV2_final")
model = AutoModelForAudioClassification.from_pretrained("moonseok/AST_speechcommandsV2_final")This model is a fine-tuned version of MIT/ast-finetuned-audioset-10-10-0.4593 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.3557 | 1.0 | 294 | 0.7017 | 0.8354 |
| 0.1948 | 2.0 | 589 | 0.6838 | 0.8397 |
| 0.1219 | 3.0 | 884 | 0.5752 | 0.8699 |
| 0.0704 | 4.0 | 1179 | 0.5554 | 0.8675 |
| 0.0404 | 5.0 | 1473 | 0.5437 | 0.8663 |
| 0.0136 | 6.0 | 1768 | 0.5247 | 0.8759 |
| 0.0072 | 7.0 | 2063 | 0.5235 | 0.8759 |
| 0.0026 | 8.0 | 2358 | 0.5035 | 0.8859 |
| 0.0007 | 9.0 | 2652 | 0.4800 | 0.8896 |
| 0.0005 | 9.97 | 2940 | 0.4825 | 0.8890 |
Base model
MIT/ast-finetuned-audioset-10-10-0.4593
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="moonseok/AST_speechcommandsV2_final")