code: def run_finetuning(train_path):
      """Fine-tune a transformer model."""
      train_data = glue.SST2Data("train")
      val_data = glue.SST2Data("validation")
      model = glue_models.SST2Model(_ENCODER_NAME.value)
      model.train(
          train_data.examples, validation_inputs=val_data.examples
      )
      model.save(train_path)
  
file_path: lit/lit_nlp/examples/quickstart_sst_demo.py
imports: from collections.abc import Sequence
  import sys
  import tempfile
  from typing import Optional
  from absl import app
  from absl import flags
  from absl import logging
  from lit_nlp import dev_server
  from lit_nlp import server_flags
  from lit_nlp.examples.datasets import glue
  from lit_nlp.examples.models import glue_models
label_desc: Use image node_id 2 for calling a global function with example usage: run_finetuning(train_path) without return types