Skip to content

Commit

Permalink
fix docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonflynng committed Dec 13, 2024
1 parent b69ad5c commit 3080a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transformers/models/encodec/configuration_encodec.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class EncodecConfig(PretrainedConfig):
use_conv_shortcut (`bool`, *optional*, defaults to `True`):
Whether to use a convolutional layer as the 'skip' connection in the `EncodecResnetBlock` block. If False,
an identity function will be used, giving a generic residual connection.
commitment_weight (`<fill_type>`, *optional*, defaults to 1.0): <fill_docstring>
commitment_weight (`float`, *optional*, defaults to 1.0):
The weight of the VQ commitment loss term. Controls how strongly the encoder's output is pulled towards the codebook vectors.
Example:
Expand Down

0 comments on commit 3080a4a

Please sign in to comment.