Skip to content

Instantly share code, notes, and snippets.

@mikewcasale
Created March 26, 2020 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikewcasale/35c785ffdefe150c6a2394760b18a126 to your computer and use it in GitHub Desktop.
Save mikewcasale/35c785ffdefe150c6a2394760b18a126 to your computer and use it in GitHub Desktop.
narcissus print check
nq_task = t5.data.TaskRegistry.get("narcissus")
ds = nq_task.get_dataset(split="valid", sequence_length={"inputs": 512, "targets": 512})
for ex in tfds.as_numpy(ds.take(5)):
print(ex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment