def generate_article_pairs(pattern):
  """Generates article pairs from multiple jsonl files."""
  filenames = tf.io.gfile.glob(pattern)
  for filename in filenames:
    with tf.io.gfile.GFile(filename, "r") as f:
      for line in f:
        yield json.loads(line)
Generates article pairs from multiple jsonl files.
language/fruit/scripts/get_topics.py