class_docstr: Test multiobjective models.
class_docstr_tok: ["Test","multiobjective","models","."]
code: def test_exp_attn_train_automated(self):
      opt = {
          "model": "projects.light_whoami.agents.expanded_attention:ExpandedDecoderAttentionAgent",
          "mutators": "clean_context_mutator,share_self_character",
          "expanded_attention_share_weights": True,
          "expanded_attention_type": "automated_classifier",
          "automated_expanded_attention_n_tokens": 10,
          "expanded_attention_classifier_model_file": TEST_RPA_RERANKER,
          **COMMON_OPT,
      }
      opt.update(TRAIN_COMMON_OPT)
      opt.pop("num_examples")
      opt.pop("init_model")
      opt.pop("dict_file")
      opt.update(TEST_RERANKER_OPTS)
      testing_utils.train_model(opt)
  
imports: import unittest
  from parlai.core.message import Message
  from parlai.core.params import ParlaiParser, Opt
  from parlai.core.torch_ranker_agent import TorchRankerAgent
  import parlai.utils.testing
  from projects.light_whoami.agents import RPA_RERANKER, RPA_RERANKER_AUTO_EXPANDED, VANILLA_128, VANILLA_1024, UL_128, UL_1024, MULTIOBJECTIVE, PROFILE_EXPANDED_128, PROFILE_EXPANDED_1024, AUTO_EXPANDED_1024, EXPANDED_AND_MULTIOBJECTIVE_1024, TEST_RPA_RERANKER
label_desc: Use image node_id 2 for calling the TestExpandedAttentionAutomated obj's underlying member method code with example usage: obj.test_exp_attn_train_automated() without return types