class_docstr: Regression model on STS-B.
class_docstr_tok: ["Regression","model","on","STS-B","."]
code: def input_spec(self):
      ret = super().input_spec()
      ret[self.config.label_name] = lit_types.Scalar(
          min_val=0, max_val=5
      )
      return ret
  
imports: import os
  from collections.abc import Iterable, Sequence
  import re
  import threading
  from typing import Any, Optional
  import attr
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.examples.models import model_utils
  from lit_nlp.lib import file_cache
  from lit_nlp.lib import utils
  import numpy
  import tensorflow
  import transformers
label_desc: Use image node_id 2 for calling the STSBModel obj's underlying member method code with example usage: obj.input_spec() and returns: ret