class_docstr: Create multi-modal instances given the path to triples.
class_docstr_tok: ["Create","multi-modal","instances","given","the","path","to","triples","."]
code: def _from_path_binary(
      cls, path: pathlib.Path
  ) -> MutableMapping[str, Any]:
      data = super()._from_path_binary(path)
      # load literal-to-id
      df = pandas.read_csv(
          path.joinpath(f"{cls.file_name_literal_to_id}.tsv.gz"),
          sep="\t",
      )
      data["literals_to_id"] = dict(zip(df["label"], df["id"]))
      # load literals
      data["numeric_literals"] = np.load(
          str(
              path.joinpath(cls.file_name_numeric_literals).with_suffix(
                  suffix=".npy"
              )
          )
      )
      return data
  
imports: import logging
  import pathlib
  from typing import Any, ClassVar, Dict, Iterable, Mapping, MutableMapping, Optional, TextIO, Tuple, Union
  import numpy
  import pandas
  import torch
  from .triples_factory import TriplesFactory
  from .utils import load_triples
  from ..typing import EntityMapping, LabeledTriples, MappedTriples
label_desc: Use image node_id 9 for calling the TriplesNumericLiteralsFactory obj's underlying member method code with example usage: obj._from_path_binary(cls, path) and returns: data