code: def test_multiple_heads_label(self):
      model = BertAdapterModel(self.config)
      model.add_tagging_head(
          "test_head",
          num_labels=len(self.labels),
          id2label=self.label_map,
      )
      with TemporaryDirectory() as temp_dir:
          model.save_head(temp_dir, "test_head")
          model.load_head(temp_dir)
      # adapter loaded for testing whether it changes label information
      model.add_adapter("sst-2")
      model.add_classification_head("classification_head")
      default_label, default_label_dict = get_default(2)
  
      self.assertEqual(
          model.get_labels("classification_head"), default_label
      )
      self.assertEqual(
          model.get_labels_dict("classification_head"),
          default_label_dict,
      )
  
file_path: adapters/tests/test_adapter_save_id2label.py
imports: import unittest
  from tempfile import TemporaryDirectory
  from typing import Dict
  import adapters
  from adapters import BertAdapterModel
  from transformers import BertConfig, BertForSequenceClassification
label_desc: Use image node_id 5 for calling the TestSaveLabel obj's underlying member method code with example usage: obj.test_multiple_heads_label() without return types