class_docstr: Semantic Textual Similarity Benchmark (STS-B).
  
  Unlike the other GLUE tasks, this is formulated as a regression problem.
  
  See https://www.tensorflow.org/datasets/catalog/glue#gluestsb.
class_docstr_tok: ["Semantic","Textual","Similarity","Benchmark","(","STS-B",")",".","Unlike","the","other","GLUE","tasks",",","this","is","formulated","as","a","regression","problem",".","See","https",":","\/\/www.tensorflow.org\/datasets\/catalog\/glue","#","gluestsb","."]
code: def init_spec(cls) -> lit_types.Spec:
      return {
          "path_or_splitname": lit_types.String(
              default="validation", required=True
          ),
          "max_examples": lit_types.Integer(
              default=1000, min_val=0, max_val=10_000, required=False
          ),
      }
  
imports: from typing import Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.lib import file_cache
  from lit_nlp.lib import utils
  import pandas
  import tensorflow_datasets
label_desc: Use image node_id 4 for calling the STSBData obj's underlying member method code with example usage: obj.init_spec(cls) and returns: dict