code: def test_huggingface_datasets(self):
      dataset = HfDataset.from_dict(
          {"x": [[1, 2], [0], [2, 3, 4, 5]] * 100, "y": [0, 1, 2] * 100}
      )
      jtl = JittorDataLoader(
          dataset, batch_size=4, drop_last=True, shuffle=False
      )
      for batch in jtl:
          assert batch["x"].size() == [4, 4]
          assert len(batch["y"]) == 4
  
file_path: fastNLP/tests/core/dataloaders/jittor_dataloader/test_fdl.py
imports: import pytest
  import numpy
  from fastNLP.envs import _module_available
  from fastNLP.core.dataloaders.jittor_dataloader import JittorDataLoader, prepare_jittor_dataloader
  from fastNLP.core.dataset import DataSet
  from fastNLP.core.collators import Collator
  from fastNLP.io.data_bundle import DataBundle
  from fastNLP.envs.imports import _NEED_IMPORT_JITTOR
label_desc: Use image node_id 3 for calling the TestJittor obj's underlying member method code with example usage: obj.test_huggingface_datasets() without return types