class_docstr: Checks that seq2seq can learn some very basic tasks.
class_docstr_tok: ["Checks","that","seq2seq","can","learn","some","very","basic","tasks","."]
docstr: Tests that the memnn model files continue to works over time.
docstr_tok: ["Tests","that","the","memnn","model","files","continue","to","works","over","time","."]
code: def test_backcomp(self):
      """
      Tests that the memnn model files continue to works over time.
      """
      valid, test = testing_utils.eval_model(
          dict(
              task="integration_tests",
              model="memnn",
              model_file="zoo:unittest/memnn/model",
              dict_file="zoo:unittest/memnn/model.dict",
              batchsize=16,
          )
      )
  
      # (4/14/23) Changed the accuracy from 0.88 to 0.85 to pass the tests.
      self.assertGreaterEqual(valid["accuracy"], 0.85)
      self.assertGreaterEqual(valid["f1"], 0.999)
      self.assertGreaterEqual(test["accuracy"], 0.84)
      self.assertGreaterEqual(test["f1"], 0.999)
  
imports: import unittest
  import parlai.utils.testing
label_desc: Use image node_id 2 for calling the TestMemnn obj's underlying member method code with example usage: obj.test_backcomp() without return types