code: def test_training_new_tokenizer_with_bytelevel(self):
      tokenizer = self.rust_tokenizer_class.from_pretrained(
          self.bytelevel_bpe_model_name
      )
  
      toy_text_iterator = ("a" for _ in range(1000))
      new_tokenizer = tokenizer.train_new_from_iterator(
          text_iterator=toy_text_iterator, length=1000, vocab_size=50
      )
  
      encoding_ids = new_tokenizer.encode("a🤗")
      self.assertEqual(encoding_ids, [64, 172, 253, 97, 245])
  
imports: import concurrent.futures
  import json
  import os
  import shutil
  import tempfile
  import unittest
  from transformers import AutoTokenizer, PreTrainedTokenizerFast
  from transformers.testing_utils import require_tokenizers
  from ..test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 11 for calling the PreTrainedTokenizationFastTest obj's underlying member method code with example usage: obj.test_training_new_tokenizer_with_bytelevel() without return types