def _read_jsonl(filename: str) -> Iterator[Example]:
  """Yields entries from the JSONL file."""
  with tf.io.gfile.GFile(filename) as fin:
    for line in fin:
      yield json.loads(line)
Yields entries from the JSONL file.
language/casper/evaluate/evaluate_retrieval.py