Created
March 26, 2020 05:47
-
-
Save mikewcasale/35c785ffdefe150c6a2394760b18a126 to your computer and use it in GitHub Desktop.
narcissus print check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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