How to use Thamer/wav2vec-fine_tuned-speech_command2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Thamer/wav2vec-fine_tuned-speech_command2")
# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Thamer/wav2vec-fine_tuned-speech_command2") model = AutoModelForAudioClassification.from_pretrained("Thamer/wav2vec-fine_tuned-speech_command2")