code: def test_model_with_heads_multiple_heads(self):
      model = BertAdapterModel(self.config)
      model.add_tagging_head(
          "test_head",
          num_labels=len(self.labels),
          id2label=self.label_map,
      )
      model.add_classification_head("second_head", num_labels=5)
      with TemporaryDirectory() as temp_dir:
          model.save_head(temp_dir + "/test_head", "test_head")
          model.load_head(temp_dir + "/test_head")
          model.save_head(temp_dir + "/second_head", "second_head")
          model.load_head(temp_dir + "/second_head")
      model.add_adapter("sst-2")
  
      self.assertEqual(model.get_labels("test_head"), self.labels)
      self.assertEqual(
          model.get_labels_dict("test_head"), self.label_map
      )
  
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 6 for calling the TestSaveLabel obj's underlying member method code with example usage: obj.test_model_with_heads_multiple_heads() without return types