code: def tweet_emotion_train_test_textdata_sampled():
      """Tweet emotion text classification dataset"""
      train, test = tweet_emotion.load_data(
          data_format="TextData",
          as_train_test=True,
          include_properties=True,
          include_embeddings=True,
      )
      sampled_train = train.sample(500, random_state=42)
      sampled_test = test.sample(500, random_state=42)
      return sampled_train, sampled_test
  
imports: import random
  import typing
  import numpy
  import pytest
  from datasets import load_dataset
  from nltk import download
  from nltk.corpus import movie_reviews
  from deepchecks.nlp.datasets.classification import just_dance_comment_analysis, tweet_emotion
  from deepchecks.nlp.text_data import TextData
label_desc: Use image node_id 6 for calling a global function with example usage: tweet_emotion_train_test_textdata_sampled() and returns: sampled_train,  sampled_test