class_docstr: Contains a lazy reference to a training, testing, and validation dataset.
class_docstr_tok: ["Contains","a","lazy","reference","to","a","training",",","testing",",","and","validation","dataset","."]
code: def _load(self) -> None:
      self._training = self.triples_factory_cls.from_path(
          path=self.training_path,
          path_to_numeric_triples=self.literals_path,
          create_inverse_triples=self._create_inverse_triples,
      )
      self._testing = self.triples_factory_cls.from_path(
          path=self.testing_path,
          path_to_numeric_triples=self.literals_path,
          entity_to_id=self._training.entity_to_id,  # share entity index with training
          relation_to_id=self._training.relation_to_id,  # share relation index with training
      )
  
file_path: pykeen/src/pykeen/datasets/literal_base.py
imports: import pathlib
  from typing import TextIO, Union
  from .base import LazyDataset
  from ..triples import TriplesNumericLiteralsFactory
label_desc: Use image node_id 2 for calling the NumericPathDataset obj's underlying member method code with example usage: obj._load() without return types