Downloads · 30 days
278
3% of all-time downloads
helenai/MIT-ast-finetuned-speech-commands-v2-ov
MIT-ast-finetuned-speech-commands-v2-ov is a audio classification model from helenai. Use it for the audio classification task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This is the MIT/ast-finetuned-speech-commands-v2 model converted to OpenVINO, for accellerated inference.
Downloads · 30 days
278
3% of all-time downloads
All-time downloads
10.5K
Public
Repo size
171 MB
Likes
0
Public
Click a slice to open those files.
.bin171 MB · 100%
From the Hugging Face model README
This is the MIT/ast-finetuned-speech-commands-v2 model converted to OpenVINO, for accellerated inference.
An example of how to do inference on this model:
from optimum.intel.openvino import OVModelForAudioClassification
from transformers import AutoFeatureExtractor, pipeline
# model_id should be set to either a local directory or a model available on the HuggingFace hub.
model_id = "helenai/MIT-ast-finetuned-speech-commands-v2-ov"
feature_extractor = AutoFeatureExtractor.from_pretrained(model_id)
model = OVModelForAudioClassification.from_pretrained(model_id)
pipe = pipeline("audio-classification", model=model, feature_extractor=feature_extractor)
result = pipe("https://datasets-server.huggingface.co/assets/speech_commands/--/v0.01/test/38/audio/audio.mp3")
print(result)