class_docstr: PyTorchTranslateMultilingualTranslationTask is eventually subclasses
  fairseq.tasks.MultilingualTranslationTask. The major differences are-
  - There is no --data folder containing data binaries and vocabularies,
    instead we use paths from --vocabulary, --multilingual-*-text-file and
    --multilingual-*-binary-path
  - loss_weights is used to weigh losses from different datasets differently.
    This is achieved by using pytorch_translate's WeightedLanguagePairDataset
  - The dictionaries are instances of pytorch_translate's Dictionary class
class_docstr_tok: ["PyTorchTranslateMultilingualTranslationTask","is","eventually","subclasses","fairseq.tasks.MultilingualTranslationTask",".","The","major","differences","are-","-","There","is","no","--","data","folder","containing","data","binaries","and","vocabularies",",","instead","we","use","paths","from","--","vocabulary",",","--","multilingual-","*","-text-file","and","--","multilingual-","*","-binary-path","-","loss_weights","is","used","to","weigh","losses","from","different","datasets","differently",".","This","is","achieved","by","using","pytorch_translate","'s","WeightedLanguagePairDataset","-","The","dictionaries","are","instances","of","pytorch_translate","'s","Dictionary","class"]
code: def __init__(self, args, dicts, training):
      super().__init__(args, dicts, training)
      self.loss_weights = []
  
file_path: translate/pytorch_translate/tasks/multilingual_task.py
imports: from collections import OrderedDict
  from fairseq import options
  from fairseq.data import RoundRobinZipDatasets
  from fairseq.tasks import register_task
  from pytorch_translate import constants
  from pytorch_translate.data import data, utils, weighted_data
  from pytorch_translate.tasks import utils
  from pytorch_translate.tasks.pytorch_translate_multi_task import PyTorchTranslateMultiTask
label_desc: Use image node_id 2 to create a new PyTorchTranslateMultilingualTranslationTask object from inherited base classes: PyTorchTranslateMultiTask with example: obj = PyTorchTranslateMultilingualTranslationTask(args, dicts, training)