code: def generate_sequences(sequence_length, num_sequences):
      for i in range(num_sequences):
          seq = "".join(
              [
                  str(np.random.randint(10))
                  for x in range(
                      np.random.randint(1, sequence_length + 1)
                  )
              ]
          )
          yield (seq, seq)
  
file_path: deepchem/deepchem/models/tests/test_seqtoseq_model.py
imports: import pytest
  import unittest
  from typing import Set
  import tempfile
  import numpy
  from deepchem.utils.batch_utils import create_input_array
label_desc: Use image node_id 1 for calling a global function with example usage: generate_sequences(sequence_length, num_sequences) without return types