docstr: Assert that the created tokens are the same than the hard-coded ones
docstr_tok: ["Assert","that","the","created","tokens","are","the","same","than","the","hard-coded","ones"]
code: def test_encodings_from_sample_data(self):
      """
      Assert that the created tokens are the same than the hard-coded ones
      """
      tokenizer = self.get_rust_tokenizer()
  
      INPUT_SENTENCES = [
          "The quick brown fox</s>",
          "jumps over the lazy dog</s>",
      ]
      TARGET_TOKENS = [
          [2175, 23714, 73173, 144252, 2],
          [77, 132619, 3478, 368, 109586, 35433, 2],
      ]
  
      computed_tokens = tokenizer.batch_encode_plus(INPUT_SENTENCES)[
          "input_ids"
      ]
      self.assertListEqual(TARGET_TOKENS, computed_tokens)
  
      decoded_tokens = tokenizer.batch_decode(computed_tokens)
      self.assertListEqual(decoded_tokens, INPUT_SENTENCES)
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/models/bloom/test_tokenization_bloom.py
imports: import unittest
  from datasets import load_dataset
  from transformers import BloomTokenizerFast
  from transformers.testing_utils import require_tokenizers
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 3 for calling the BloomTokenizationTest obj's underlying member method code with example usage: obj.test_encodings_from_sample_data() without return types