GitHub - pfeatherstone/hubert.cpp: C++ implementation of DistilHuBERT
-
Notifications
You must be signed in to change notification settings - Fork 0
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.