mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 09:15:43 +03:00
parent
5307a0e078
commit
71a21dfb65
@ -208,7 +208,7 @@ following contents::
|
|||||||
import torch
|
import torch
|
||||||
|
|
||||||
from fairseq.data import Dictionary, LanguagePairDataset
|
from fairseq.data import Dictionary, LanguagePairDataset
|
||||||
from fairseq.tasks import FairseqTask, register_task
|
from fairseq.tasks import LegacyFairseqTask, register_task
|
||||||
|
|
||||||
|
|
||||||
@register_task('simple_classification')
|
@register_task('simple_classification')
|
||||||
|
Loading…
Reference in New Issue
Block a user