code: def __init__(self, opt, dictionary):
      super().__init__(opt, dictionary)
      self.encoder = ContextKnowledgeEncoder(self.encoder)
      self.decoder = ContextKnowledgeDecoder(self.decoder)
  
file_path: ParlAI/projects/wizard_of_wikipedia/generator/modules.py
imports: from typing import Dict
  import numpy
  import torch
  import torch.nn
  from parlai.utils.torch import neginf
  from parlai.agents.transformer.modules import TransformerGeneratorModel
label_desc: Use image node_id 1 to create a new EndToEndModel object from inherited base classes: TransformerGeneratorModel with example: obj = EndToEndModel(opt, dictionary)