1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//! # Parakeet TDT
//!
//! NVIDIA's Parakeet TDT speech recognizer: a `FastConformer` encoder and a
//! token-and-duration transducer. `parakeet-tdt-0.6b-v3` is the reference
//! checkpoint; `FermionResearch`'s Phonon-2 is a re-quantized derivative with
//! the same architecture.
//!
//! - [`blocks`]: the model, [`ParakeetTdt`], built from a
//! [`ParakeetTdtConfig`]; its encoder is the shared
//! [`ConformerEncoder`](crate::blocks::conformer::ConformerEncoder).
//! - [`ParakeetFrontEnd`]: the feature extractor, waveforms to normalized
//! log-mels, built from a [`ParakeetFrontEndConfig`].
//! - [`TdtGreedyDecoder`]: greedy decoding of the transducer, batched, to
//! [`TdtHypothesis`] tokens with their frames.
//! - [`ParakeetVocabulary`]: the `SentencePiece` pieces, as a
//! [`Detokenizer`](crate::kits::tokens::Detokenizer) and as transcripts.
//! - [`ParakeetBundle`]: a loaded model with its front end and vocabulary, and
//! [`transcribe`](ParakeetBundle::transcribe).
//! - [`ParakeetEngine`]: a bundle as the
//! [`asr_driver`](crate::kits::speech::asr_driver) core's engine, over
//! [`ParakeetFeatures`], its front end streamed; a [`ParakeetStreamDriver`]
//! streams audio through it, under any
//! [`EmissionPolicy`](crate::kits::speech::asr_driver::EmissionPolicy).
//! - [`pretrained`] (features `store_safetensors` and `cache`): the index of
//! named checkpoints, `fermion/phonon-2` the default, and the factory that
//! loads one into a bundle. `read_phonon2_archive` (feature `fermion`) reads
//! Phonon-2's archive through the shared
//! [`fermion`](crate::data::pretrained::fermion) readers.
//! - [`weights`] (feature `store`): loading tensors named as `transformers`'
//! `ParakeetForTDT` state dict, the names every Parakeet checkpoint format
//! here is read under.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use ;