class_docstr: Build a Dataset object out of Instruction instance(s).
class_docstr_tok: ["Build","a","Dataset","object","out","of","Instruction","instance","(","s",")","."]
docstr: Returns single Dataset instance for the set of file instructions.
  
  Args:
      files: List[dict(filename, skip, take)], the files information.
          The filenames contains the relative path, not absolute.
          skip/take indicates which example read in the file: `ds.skip().take()`
      original_instructions: store the original instructions used to build the dataset split in the dataset.
      in_memory (bool, default False): Whether to copy the data in-memory.
  
  Returns:
      kwargs to build a Dataset instance.
code: def read_files(
      self,
      files: List[dict],
      original_instructions: Union[
          None, "ReadInstruction", "Split"
      ] = None,
      in_memory=False,
  ):
      """Returns single Dataset instance for the set of file instructions.
  
      Args:
          files: List[dict(filename, skip, take)], the files information.
              The filenames contains the relative path, not absolute.
              skip/take indicates which example read in the file: `ds.skip().take()`
          original_instructions: store the original instructions used to build the dataset split in the dataset.
          in_memory (bool, default False): Whether to copy the data in-memory.
  
      Returns:
          kwargs to build a Dataset instance.
      """
      # Prepend path to filename
      pa_table = self._read_files(files, in_memory=in_memory)
      # If original_instructions is not None, convert it to a human-readable NamedSplit
      if original_instructions is not None:
          from .splits import Split  # noqa
  
          split = Split(str(original_instructions))
      else:
          split = None
      dataset_kwargs = {
          "arrow_table": pa_table,
          "info": self._info,
          "split": split,
      }
      return dataset_kwargs
  
imports: import copy
  import math
  import os
  import re
  import shutil
  from dataclasses import dataclass
  from pathlib import Path
  from typing import TYPE_CHECKING, List, Optional, Union
  import pyarrow
  import pyarrow.parquet
  from .download.download_config import DownloadConfig
  from .naming import _split_re, filenames_for_dataset_split
  from .table import InMemoryTable, MemoryMappedTable, Table, concat_tables
  from .utils import logging
  from .utils.file_utils import cached_path
label_desc: Use image node_id 6 for calling the BaseReader obj's underlying member method code with example usage: obj.read_files(files, original_instructions, in_memory) and returns: dataset_kwargs