code: def __init__(self, df: pd.DataFrame, cfg: Any, mode: str = "train"):
      assert (
          cfg.dataset.system_column == "None"
      ), "RLHF is not compatible with system column."
      assert (
          cfg.dataset.limit_chained_samples is False
      ), "RLHF is not compatible with limit_chained_samples."
      assert (
          cfg.dataset.mask_prompt_labels is True
      ), "RLHF is not compatible with mask_prompt_labels."
      super().__init__(df, cfg, mode)
  
file_path: h2o-llmstudio/llm_studio/src/datasets/text_rlhf_modeling_ds.py
imports: import logging
  from typing import Any, Dict, List
  import numpy
  import pandas
  import torch
  from llm_studio.src.datasets.text_causal_language_modeling_ds import CustomDataset
  from llm_studio.src.datasets.text_utils import TEXT_SEPARATOR
label_desc: Use image node_id 1 to create a new CustomDataset object from inherited base classes: CausalLMCustomDataset with example: obj = CustomDataset(df, cfg, mode)