code: def test_mt5_get_pretrained(ctx):
      with tempfile.TemporaryDirectory() as root, ctx:
          cfg, tokenizer, backbone_params_path, _ = get_pretrained_mt5(
              "google_mt5_small"
          )
          # we exclude <extra_id>s in the comparison below by avoiding len(tokenizer.vocab)
          assert cfg.MODEL.vocab_size >= len(tokenizer._sp_model)
          mt5_model = MT5Model.from_cfg(cfg)
          mt5_model.load_parameters(backbone_params_path)
          mt5_model.hybridize()
          mt5_inference_model = MT5Inference(mt5_model)
          mt5_inference_model.hybridize()
  
imports: import pytest
  import tempfile
  from gluonnlp.models.mt5 import MT5Model, MT5Inference, mt5_cfg_reg, list_pretrained_mt5, get_pretrained_mt5
label_desc: Use image node_id 3 for calling a global function with example usage: test_mt5_get_pretrained(ctx) without return types