OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Problem Agnostic Speech Encoder

Problem Agnostic Speech Encoder is a Python repository implementing PASE and PASE+, self-supervised speech waveform encoders that extract features or provide a starting point for pre-training task-specific speech models.

Independent OpenViST project profile, based on linked sources.

Problem Agnostic Speech Encoder — Research workflows that need a speech encoder rather than a hosted end-user application
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use PASE when a speech-processing workflow needs a self-supervised waveform encoder that can supply features or be fine-tuned within a PyTorch model.

Who it is for

  • Speech researchers building recognition or generation systems.
  • PyTorch developers who want to use or fine-tune a speech encoder.
  • Teams preparing their own audio data for self-supervised encoder training.

Documented uses

  • Extract representations from speech waveforms for downstream models.
  • Pre-train an encoder for automatic speech recognition, speaker recognition or emotion recognition.
  • Explore encoder use in voice conversion or text-to-speech research.
  • Prepare audio splits and worker statistics for self-supervised training.
Before you choose

Requirements & limits

The repository is public and specifies the MIT license.

  • The README specifies PyTorch 1.0 or higher and Torchvision 0.2 or higher, plus dependencies in requirements.txt.
  • The CUDA-specific CuPy requirement may need editing for the local CUDA version.
  • Training-time augmentation requires building codec2 from source and installing pycodec2; the README notes LD_LIBRARY_PATH may also need adjustment.
  • Self-supervised training requires audio data, dataset and encoder/worker configurations, and worker-specific training statistics.

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

Load the documented pretrained PASE+ encoder

Set up the repository's documented PASE+ checkpoint and configuration to pass waveform tensors through the encoder.

Before you start

  • PyTorch 1.0 or higher and Torchvision 0.2 or higher.
  • Install dependencies from requirements.txt; adjust the CUDA-specific CuPy requirement if needed.
  • The PASE+ checkpoint FE_e199.ckpt and configuration file cfg/frontend/PASE+.cfg.

Steps

  1. Install the repository dependencies with pip install -r requirements.txt.

  2. Use the PASE+ configuration to build the encoder with pase.models.frontend.wf_builder.

  3. Load FE_e199.ckpt with load_pretrained, then pass a waveform tensor to the encoder.

Expected outcome

The README's example produces encoder features shaped as 625 frames of 256 dimensions from an input tensor shaped (1, 1, 100000).

Guide limitations

  • The checkpoint contains encoder parameters only, without a worker.
  • The example's random-noise input demonstrates tensor shape, not speech-task quality or a successful real-data workflow.
Source-based practical guide

Prepare data and statistics for self-supervised training

Create the dataset configuration and worker statistics files that the repository lists as inputs to its training stage.

Before you start

  • A data root containing audio files or soft links, without subfolders, in WAV, MP3 or another Torchaudio-supported format.
  • Training and test file lists, plus a filename-to-speaker-class dictionary.
  • The repository's dataset-configuration and statistics scripts and worker configuration.

Steps

  1. Create training and test lists with filenames and extensions, and provide the filename-to-speaker-class dictionary.

  2. Run unsupervised_data_cfg_librispeech.py with the data root and those files to create a dataset configuration.

  3. Run make_trainset_statistics.py with the data root, dataset configuration and worker configuration to write the statistics file.

Expected outcome

A dataset configuration and worker-specific statistics file are prepared for the subsequent training stage.

Guide limitations

  • This recipe covers data preparation, not running training.
  • Speaker labels support a held-out-speaker split for validation; the README says they are not used during training.
  • The README gives example commands using LibriSpeech paths, which must be adapted to the reader's own files.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 November 2026
Original website title
santi-pdp/pase · Official homepage title · retained in its source language