docstr: Test that a basic model can save & load
docstr_tok: ["Test","that","a","basic","model","can","save","&","load"]
code: def test_save_load(
      self, tmp_path, fake_embeddings, train_file, dev_file
  ):
      """
      Test that a basic model can save & load
      """
      trainer, _, args = self.build_model(
          tmp_path,
          fake_embeddings,
          train_file,
          dev_file,
          extra_args=["--bilstm_hidden_dim", "20"],
      )
  
      save_filename = os.path.join(args.save_dir, args.save_name)
      trainer.save(save_filename)
  
      args.load_name = args.save_name
      trainer = Trainer.load(args.load_name, args)
      args.load_name = save_filename
      trainer = Trainer.load(args.load_name, args)
  
imports: import os
  import pytest
  import numpy
  import stanza.models.classifier
  import stanza.models.classifiers.data
  from stanza.models.classifiers.trainer import Trainer
  from stanza.models.common import pretrain
  from stanza.models.common import utils
  from stanza.tests.classifiers.test_data import train_file, dev_file, test_file, DATASET, SENTENCES
label_desc: Use image node_id 4 for calling the TestClassifier obj's underlying member method code with example usage: obj.test_save_load(tmp_path, fake_embeddings, train_file, dev_file) without return types