code: def setUp(self):
      super(ArchivalTest, self).setUp()
  
      self.params = Params(
          {
              "model": {
                  "type": "simple_tagger",
                  "text_field_embedder": {
                      "tokens": {
                          "type": "embedding",
                          "embedding_dim": 5,
                      }
                  },
                  "encoder": {
                      "type": "lstm",
                      "input_size": 5,
                      "hidden_size": 7,
                      "num_layers": 2,
                  },
              },
              "dataset_reader": {"type": "sequence_tagging"},
              "train_data_path": unicode(
                  self.FIXTURES_ROOT / "data" / "sequence_tagging.tsv"
              ),
              "validation_data_path": unicode(
                  self.FIXTURES_ROOT / "data" / "sequence_tagging.tsv"
              ),
              "iterator": {"type": "basic", "batch_size": 2},
              "trainer": {
                  "num_epochs": 2,
                  "optimizer": "adam",
              },
          }
      )
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/models/archival_test.py
imports: from __future__ import division
  from __future__ import absolute_import
  import copy
  import torch
  from allennlp.common import Params
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.commands.train import train_model
  from allennlp.models.archival import load_archive, archive_model
label_desc: Use image node_id 1 for calling the ArchivalTest obj's underlying member method code with example usage: obj.setUp() without return types