mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 09:15:43 +03:00
Fixed The cause of the error: "NameError: name 'help' is not defined
This commit is contained in:
parent
bedb259bf3
commit
2e1436465e
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user