OpenViSTAI · Agents · Blockchain · Crypto
Menu
Audio & Voice AI

Soxan

Soxan is an open-source research repository of models, scripts and notebooks for applying pretrained Wav2Vec 2.0 and HuBERT models to speech and audio classification tasks.

Independent OpenViST project profile, based on linked sources.

Soxan — OpenViST project profile in Audio & Voice AI.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Soxan when you want research-oriented examples and scripts for adapting pretrained speech models to classification tasks, rather than a hosted speech-to-text service.

Who it is for

  • Researchers exploring speech emotion recognition or audio classification
  • Developers adapting pretrained speech models to labeled datasets

Documented uses

  • Train a speech emotion or audio classifier using dataset files and a pretrained model.
  • Explore notebook examples for Wav2Vec 2.0 and HuBERT.
  • Apply a saved speech-classification model to an audio file and inspect its label scores.
Before you choose

Requirements & limits

The public GitHub repository is licensed under Apache-2.0.

  • The documented training workflow expects train, validation and test CSV files, but the README does not describe their schema.
  • The repository includes notebook examples for Greek speech emotion recognition and eating-sound classification.
  • The README lists Persian emotion and gender recognition models and a Greek emotion-recognition model.
  • The README labels its Persian speech-to-text demo as “soon.”

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train a speech classifier from CSV datasets

Configure the documented command-line training script to use a pretrained model and dataset files.

Before you start

  • A pretrained model identifier or path
  • Training, validation and test CSV files
  • Output and cache directories
  • Python 3

Steps

  1. Set the model identifier, selecting Wav2Vec 2.0 or HuBERT through the documented model options.

  2. Provide paths for the training, validation and test CSV files, plus output and cache directories.

  3. Set the documented training options, including pooling mode, batch sizes, learning rate and number of epochs.

  4. Use the script’s training and evaluation flags as shown in the README.

Expected outcome

A configured command for training and evaluating a speech classification model on the supplied dataset.

Guide limitations

  • The README does not specify the CSV schema.
  • The example command contains placeholder paths and is not a guarantee of a successful run.
Source-based practical guide

Apply a saved model to an audio file

Use the documented Python prediction example to produce emotion scores for an audio file.

Before you start

  • A saved Wav2Vec 2.0 or HuBERT speech-classification model
  • An audio file
  • PyTorch, torchaudio and Transformers

Steps

  1. Load the model configuration and feature extractor from the model path.

  2. Load the speech-classification model and select CUDA when available or CPU otherwise.

  3. Load the audio file and resample it to the feature extractor’s sampling rate.

  4. Run the model on the extracted inputs and map output scores to the configured labels.

Expected outcome

A list of emotion labels with corresponding scores for the input audio.

Guide limitations

  • The prediction example is for speech classification and emotion labels, not general-purpose speech transcription.
  • The README uses a placeholder model path and audio path.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
m3hrdadfi/soxan · Official homepage title · retained in its source language