Skip to content

Repository files navigation

Ubuntu

hubert.cpp

C++ implementation of DistilHuBERT using Eigen.

Example

hubert::model net;
float audio[16000]; // 16kHz mono audio
std::span<constfloat> feats = net.encode(audio); // [T,768] : an array of 768 packed normalized features

Features

  • Dynamic sizes (but no batches)
  • Weights compiled into the library
  • Block-based API
  • Streaming API.

Usage

  • Useful for downstream tasks such as speech representation, speaker identification, classification, etc.

About

C++ implementation of DistilHuBERT

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages