class_docstr: Base class for LIT metrics components.
class_docstr_tok: ["Base","class","for","LIT","metrics","components","."]
docstr: A dict of MetricResults defining the metrics computed by this class.
docstr_tok: ["A","dict","of","MetricResults","defining","the","metrics","computed","by","this","class","."]
code: def meta_spec(self):
      """A dict of MetricResults defining the metrics computed by this class."""
      raise NotImplementedError(
          "Subclass should define its own meta spec."
      )
  
imports: import abc
  from collections.abc import Sequence
  import inspect
  from typing import Any, Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
label_desc: Use image node_id 2 for calling the Metrics obj's underlying member method code with example usage: obj.meta_spec() without return types