class_docstr: Checks that pre-trained Wizard models give the correct results.
class_docstr_tok: ["Checks","that","pre-trained","Wizard","models","give","the","correct","results","."]
code: def test_end2end(self):
      valid, _ = testing_utils.eval_model(
          END2END_OPTIONS, skip_test=True
      )
      # For full dataset, remove `num_examples` from the END2END_OPTIONS
      # self.assertAlmostEqual(valid['ppl'], 61.21, places=2)
      # self.assertAlmostEqual(valid['f1'], 0.1717, places=4)
      # self.assertAlmostEqual(valid['know_acc'], 0.2201, places=4)
      self.assertAlmostEqual(valid["ppl"], 71.49, places=2)
      self.assertAlmostEqual(valid["f1"], 0.1741, places=4)
      self.assertAlmostEqual(valid["know_acc"], 0.1797, places=4)
  
file_path: ParlAI/tests/nightly/gpu/test_wizard.py
imports: from parlai.core.agents import create_agent
  import unittest
  import parlai.scripts.display_data
  from parlai.tasks.wizard_of_wikipedia.agents import TOKEN_KNOWLEDGE
  import parlai.utils.testing
  from projects.wizard_of_wikipedia.knowledge_retriever.knowledge_retriever import KnowledgeRetrieverAgent
label_desc: Use image node_id 1 for calling the TestWizardModel obj's underlying member method code with example usage: obj.test_end2end() without return types