Update configs.py (help is not defined)

Fix for NameError: name 'help' is not defined

Quotes were missing
This commit is contained in:
waseyso 2024-04-19 23:06:42 +05:00 committed by GitHub
parent bedb259bf3
commit 489c6adc23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"}