class_docstr: Checks that Hred can learn some very basic tasks.
docstr: Test a simple multiturn task.
docstr_tok: ["Test","a","simple","multiturn","task","."]
code: def test_greedy(self):
      """
      Test a simple multiturn task.
      """
      valid, test = testing_utils.eval_model(
          dict(
              task="integration_tests:multiturn_candidate",
              model="hred",
              model_file="zoo:unittest/hred_model/model",
              dict_file="zoo:unittest/hred_model/model.dict",
              skip_generation=False,
              batchsize=1,
          )
      )
  
      self.assertLess(valid["ppl"], 1.2)
      self.assertLess(test["ppl"], 1.2)
  
imports: import unittest
  import parlai.utils.testing
label_desc: Use image node_id 2 for calling the TestHred obj's underlying member method code with example usage: obj.test_greedy() without return types