class_docstr: Test of BART model.
docstr: Test out-of-the-box BART on repeat task.
code: def test_bart(self):
      """
      Test out-of-the-box BART on repeat task.
      """
      valid, _ = testing_utils.eval_model(
          dict(task="integration_tests", model="bart", num_examples=10)
      )
      self.assertAlmostEqual(valid["ppl"].value(), 1.0, places=1)
  
file_path: ParlAI/tests/nightly/gpu/test_bart.py
imports: import os
  import unittest
  from parlai.core.agents import create_agent
  from parlai.core.params import ParlaiParser
  import parlai.utils.testing
  from parlai.utils.testing import tempdir
label_desc: Use image node_id 1 for calling the TestBartModel obj's underlying member method code with example usage: obj.test_bart() without return types