code: def test_data_silo_for_holdout1():
      n_splits = 5
      lang_model = "distilbert-base-german-cased"
      tokenizer = Tokenizer.load(
          pretrained_model_name_or_path=lang_model
      )
      processor = TextClassificationProcessor(
          tokenizer=tokenizer,
          max_seq_len=64,
          data_dir=Path("data/germeval18"),
          label_list=["OTHER", "OFFENSE"],
          metric="f1_macro",
          dev_split=0.2,
          dev_stratification=False,
          label_column_name="coarse_label",
      )
      data_silo = DataSilo(
          processor=processor, batch_size=32, max_processes=128
      )
      silos = DataSiloForHoldout.make(
          data_silo,
          sets=["train"],
          n_splits=n_splits,
          train_split=0.8,
      )
  
      assert len(silos) == n_splits
      for idx, silo in enumerate(silos):
          train_ds = silo.get_data_loader("train").dataset
          dev_ds = silo.get_data_loader("dev").dataset
          test_ds = silo.get_data_loader("test").dataset
          train_indices = train_ds.datasets[0].indices
          dev_indices = dev_ds.indices
          train_idx_set = set([i for i in train_indices])
          dev_idx_set = set([i for i in dev_indices])
          orig_train = train_ds.datasets[0].dataset
          orig_train_idx = orig_train.indices
          test_idx = test_ds.indices
          orig_train_idx_set = set([i for i in orig_train_idx])
          test_idx_set = set([i for i in test_idx])
          assert len(orig_train_idx_set.intersection(test_idx_set)) == 0
          assert len(train_idx_set.intersection(dev_idx_set)) == 0
      del tokenizer
      del processor
      del data_silo
      del silos
  
file_path: FARM/test/test_data_silo.py
imports: from pathlib import Path
  import numpy
  from farm.modeling.tokenization import Tokenizer
  from farm.data_handler.processor import TextClassificationProcessor
  from farm.data_handler.data_silo import DataSilo, DataSiloForCrossVal, DataSiloForHoldout
label_desc: Use image node_id 3 for calling a global function with example usage: test_data_silo_for_holdout1() without return types