Skip to content

Commit

Permalink
Fixed The cause of the error: "NameError: name 'help' is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
oty-v committed Apr 20, 2024
1 parent bedb259 commit 2e14364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairseq/dataclass/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ class InteractiveConfig(FairseqDataclass):
@dataclass
class EMAConfig(FairseqDataclass):
store_ema: bool = field(
default=False, metadata={help: "store exponential moving average shadow model"}
default=False, metadata={"help": "store exponential moving average shadow model"}
)
ema_decay: float = field(
default=0.9999, metadata={"help": "decay for exponential moving average model"}
Expand Down

0 comments on commit 2e14364

Please sign in to comment.