code: def test_base_text_classification_with_split(
      framework, dataset_text_classification
  ):
      trainer = ArgillaTrainer(
          dataset_text_classification,
          framework=framework,
          train_size=0.8,
      )
      assert trainer._split_applied is True
      assert trainer._multi_label is False
      assert trainer._trainer._eval_dataset is not None
      assert trainer._rg_dataset_type == DatasetForTextClassification
      assert trainer._trainer._record_class == TextClassificationRecord
  
file_path: argilla/tests/integration/training/test_base.py
imports: import pytest
  from argilla.client.datasets import DatasetForTextClassification, DatasetForTokenClassification
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.training import ArgillaTrainer
label_desc: Use image node_id 3 for calling a global function with example usage: test_base_text_classification_with_split(framework, dataset_text_classification) without return types