Support latest fairseq
This commit is contained in:
parent
2518ea030c
commit
7e12b582e4
|
@ -180,6 +180,7 @@ class PLMTask(FairseqTask):
|
||||||
epoch=1,
|
epoch=1,
|
||||||
data_buffer_size=0,
|
data_buffer_size=0,
|
||||||
disable_iterator_cache=False,
|
disable_iterator_cache=False,
|
||||||
|
**kwargs,
|
||||||
):
|
):
|
||||||
return MLMLoader(
|
return MLMLoader(
|
||||||
self.cfg,
|
self.cfg,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user