Archived
fishomni: voice cloning -- Fish S2's codec encoder (strided causal convolutions, a windowed transformer, two downsamplings and the residual quantiser) over a request's reference clips, their frames embedded as made frames are, the tower teacher-forced with them as fish-speech's prefill does, and the window of main picks seeded from the prompt; the reference prompt with each transcript tagged as the prompt builder tags it
This commit is contained in:
1 parent
bdc5c5b063
commit
871aa7dd97
3 files changed
+689
-101
No files matched your search
@@ -7,8 +7,10 @@
|
||||
# The directory holds the model and codec.pth, its codec, which is read as checkpoint tensors
|
||||
# under `codec.` (core/format/torch_zip.h). The model is kept as stored. The codec ships f32:
|
||||
# its weight-normalised convolutions are folded here, and its linears, convolutions and
|
||||
# codebooks cast to bf16, the precision fish-speech decodes at, while its norms, layer scales,
|
||||
# ConvNeXt gains and snake parameters stay f32 -- read once a pass or less.
|
||||
# codebooks cast to bf16, the precision fish-speech decodes and encodes at, while its norms,
|
||||
# layer scales, ConvNeXt gains and snake parameters stay f32 -- read once a pass or less. The
|
||||
# encoder's residual quantiser (codec.enc.vq*) stays f32 too: each step is an argmax over
|
||||
# cosines, which f32 weights decide as the reference's f32 encoder does.
|
||||
|
||||
codec.*.n1.weight cast dtype=f32
|
||||
codec.*.n2.weight cast dtype=f32
|
||||
@@ -18,4 +20,8 @@ codec.norm.weight cast dtype=f32
|
||||
codec.up*.ln.* cast dtype=f32
|
||||
codec.up*.gamma cast dtype=f32
|
||||
codec.*.alpha cast dtype=f32
|
||||
codec.enc.*norm.weight cast dtype=f32
|
||||
codec.enc.down*.ln.* cast dtype=f32
|
||||
codec.enc.down*.gamma cast dtype=f32
|
||||
codec.enc.vq* cast dtype=f32
|
||||
codec.* cast dtype=bf16
|
||||
Reference in new issue
Block a user