Skip to content

Commit 6319023

Browse files
author
yunchaoyang1 user
committed
Fix Sphinx docstring error in Gemma4MultimodalAudioEmbedder
Add `::` to create literal block and replace em-dashes with `--` to avoid RST unexpected indentation error.
1 parent 324f6d6 commit 6319023

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/fairseq2/models/gemma4/audio/embedder.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
class Gemma4MultimodalAudioEmbedder(Module):
2323
"""Projects audio tower output to text model space.
2424
25-
Much simpler than Gemma3n's embedder — no hard/soft token distinction,
26-
no embedding lookup table. Just:
25+
Much simpler than Gemma3n's embedder -- no hard/soft token distinction,
26+
no embedding lookup table. Just::
27+
2728
RMSNorm(output_proj_dims, with_scale=False) -> Linear(output_proj_dims, text_model_dim)
2829
29-
Note: HF does NOT use ClippableLinear for the embedder projection
30+
Note: HF does NOT use ClippableLinear for the embedder projection --
3031
the checkpoint key is ``model.embed_audio.embedding_projection.weight``
3132
(plain nn.Linear, no clipping buffers).
3233
"""

0 commit comments

Comments
 (0)