code: def test_train_no_model(dataset_token_classification) -> None:
      trainer = ArgillaTrainer(
          name=dataset_token_classification,
          model=MODEL,
          framework=FRAMEWORK,
      )
      trainer.update_config(max_steps=1, num_train_epochs=1)
      record = trainer.predict(
          "This is a text", as_argilla_records=True
      )
      assert isinstance(record, TokenClassificationRecord)
      not_record = trainer.predict(
          "This is a text", as_argilla_records=False
      )
      assert not isinstance(not_record, TokenClassificationRecord)
  
file_path: argilla/tests/integration/training/test_span_marker.py
imports: from argilla.client.models import TokenClassificationRecord
  from argilla.training import ArgillaTrainer
  from .helpers import train_with_cleanup
label_desc: Use image node_id 4 for calling a global function with example usage: test_train_no_model(dataset_token_classification) without return types