giangndm/audio-confidence-alignment
Viewer β’ Updated β’ 285k β’ 206
This repository contains the 16,384 trained FAISS K-Means centroids used to discretize continuous speech representations from the nguyenvulebinh/wav2vec2-base-vietnamese-250h model.
audio-pw733-raw and viVoice datasets.The tokenized feature dataset generated using this codebook is hosted at: π giangndm/audio-confidence-alignment
import numpy as np
import faiss
# Load centroids
centroids = np.load("kmeans_faiss_16384_centroids.npy")
print(f"Centroids shape: {centroids.shape}") # [16384, 768]
# Build FAISS index for fast search
index = faiss.IndexFlatL2(768)
index.add(centroids)
Developed as part of the Multi-Project Voice Research Spike under rd-lumi/luvox-vibe-research.