code: def test_from_pretrained_with_tuple_values(self):
      # For the auto model mapping, FunnelConfig has two models: FunnelModel and FunnelBaseModel
      model = TFAutoModel.from_pretrained("sgugger/funnel-random-tiny")
      self.assertIsInstance(model, TFFunnelModel)
  
      config = copy.deepcopy(model.config)
      config.architectures = ["FunnelBaseModel"]
      model = TFAutoModel.from_config(config)
      self.assertIsInstance(model, TFFunnelBaseModel)
  
      with tempfile.TemporaryDirectory() as tmp_dir:
          model.save_pretrained(tmp_dir)
          model = TFAutoModel.from_pretrained(tmp_dir)
          self.assertIsInstance(model, TFFunnelBaseModel)
  
imports: import copy
  import tempfile
  import unittest
  from transformers import CONFIG_MAPPING, AutoConfig, BertConfig, GPT2Config, T5Config, TapasConfig, is_tf_available
  from transformers.testing_utils import DUMMY_UNKNOWN_IDENTIFIER, SMALL_MODEL_IDENTIFIER, RequestCounter, require_tensorflow_probability, require_tf, slow
  from ..bert.test_modeling_bert import BertModelTester
label_desc: Use image node_id 12 for calling the TFAutoModelTest obj's underlying member method code with example usage: obj.test_from_pretrained_with_tuple_values() without return types