Downloads · 30 days
2
6% of all-time downloads
alexwengg/parakeet-tdt-0.6b-v2-ov
parakeet-tdt-0.6b-v2-ov is a machine learning model from alexwengg. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloaded from: https://huggingface.co/FluidInference/parakeet-tdt-0.6b-v2-ov
Downloads · 30 days
2
6% of all-time downloads
All-time downloads
32
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.bin1.8 GB · 99%
From the Hugging Face model README
Downloaded from: https://huggingface.co/FluidInference/parakeet-tdt-0.6b-v2-ov
parakeet_melspectogram.xml - Model architectureparakeet_melspectogram.bin - Weights (66 KB)parakeet_encoder.xml - Model architectureparakeet_encoder.bin - Weights (1.1 GB)parakeet_decoder.xml - Model architectureparakeet_decoder.bin - Weights (14 MB)parakeet_joint.xml - Model architectureparakeet_joint.bin - Weights (3.3 MB)parakeet_vocab.json - SentencePiece vocabulary (1024 tokens + blank)See docs/parakeet_openvino.md for usage examples.
Basic usage:
#include "eddy/models/parakeet/parakeet_openvino.hpp"
auto backend = std::make_shared<eddy::OpenVINOBackend>(
eddy::OpenVINOOptions{.device = "CPU"}
);
eddy::parakeet::ModelPaths paths{
.preprocessor = {.path = "models/parakeet/parakeet_melspectogram.xml"},
.encoder = {.path = "models/parakeet/parakeet_encoder.xml"},
.decoder = {.path = "models/parakeet/parakeet_decoder.xml"},
.joint = {.path = "models/parakeet/parakeet_joint.xml"},
.tokenizer_json = "models/parakeet/parakeet_vocab.json"
};
eddy::parakeet::RuntimeConfig cfg{
.device = "CPU",
.blank_token_id = 1024,
.duration_bins = {0, 1, 2, 3, 4}
};
auto model = eddy::parakeet::make_openvino_parakeet(backend, paths, cfg);
model->warmup();
// Transcribe audio
eddy::parakeet::AudioSegment segment;
segment.sample_rate = 16000;
segment.pcm = /* your 16kHz mono float32 audio */;
auto result = model->infer(segment, {});
std::cout << "Transcription: " << result.text << "\n";
See docs/GETTING_STARTED_PARAKEET_CPP.md for a complete implementation guide.