class_docstr: This provides information about the evaluation data.
  
  # Parameters
  
  dataset : `Union[str, Dict, Dataset]`
      The name(s) (and link(s), if available) of the dataset(s) used to evaluate
      the model. Optionally, provide a link to the relevant datasheet(s) as well.
  motivation : `str`
      The reasons for selecting the dataset(s).
      Eg. For the BERT model, document-level corpora were used rather than a
          shuffled sentence-level corpus in order to extract long contiguous sequences.
  preprocessing : `str`
      How was the data preprocessed for evaluation?
      Eg. tokenization of sentences, filtering of paragraphs by length, etc.
class_docstr_tok: ["This","provides","information","about","the","evaluation","data",".","#","Parameters","dataset",":","`","Union","[","str",",","Dict",",","Dataset","]","`","The","name","(","s",")","(","and","link","(","s",")",",","if","available",")","of","the","dataset","(","s",")","used","to","evaluate","the","model",".","Optionally",",","provide","a","link","to","the","relevant","datasheet","(","s",")","as","well",".","motivation",":","`","str","`","The","reasons","for","selecting","the","dataset","(","s",")",".","Eg",".","For","the","BERT","model",",","document-level","corpora","were","used","rather","than","a","shuffled","sentence-level","corpus","in","order","to","extract","long","contiguous","sequences",".","preprocessing",":","`","str","`","How","was","the","data","preprocessed","for","evaluation","?","Eg",".","tokenization","of","sentences",",","filtering","of","paragraphs","by","length",",","etc","."]
code: def __init__(
      self,
      dataset: Optional[Union[str, Dict, Dataset]] = None,
      motivation: Optional[str] = None,
      preprocessing: Optional[str] = None,
  ):
      if isinstance(dataset, Dataset):
          self.dataset = dataset
      elif isinstance(dataset, Dict):
          self.dataset = Dataset(**dataset)
      else:
          self.dataset = Dataset(name=dataset)
      self.motivation = motivation
      self.preprocessing = preprocessing
  
imports: import os
  import logging
  from dataclasses import dataclass
  from typing import Optional, Union, Dict, Any, Callable
  from allennlp.common.from_params import FromParams
  from allennlp.models import Model
  from allennlp.common.checks import ConfigurationError
label_desc: Use image node_id 1 to create a new EvaluationData object from inherited base classes: ModelCardInfo with example: obj = EvaluationData(dataset, motivation, preprocessing)