Command Classifier

This is a lightweight classifier model trained on top of Wav2Vec2 features for classifying speech commands.

Usage

You can use this classifier by combining it with Wav2Vec2 features. The classifier expects mean-pooled Wav2Vec2 hidden states.

from transformers import Wav2Vec2Model
from command_classifier import CommandClassifier
import torch

wav2vec = Wav2Vec2Model.from_pretrained("facebook/wav2vec2-base")
classifier = CommandClassifier(num_classes=35)
classifier.load_state_dict(torch.load("pytorch_model.bin"))
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Vorrapard/wav2vec2-command-classifier

Quantized
(1)
this model

Dataset used to train Vorrapard/wav2vec2-command-classifier