Skip to content

pfeatherstone/hubert.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu

hubert.cpp

C++ implementation of DistilHuBERT using Eigen.

Example

hubert::model net;

float audio[16000]; // 16kHz mono audio
std::span<const float> 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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors