Skip to content

Commit

Permalink
Update random
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Z authored and Andy Z committed Aug 29, 2023
1 parent 78d0824 commit 5b15805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/data_overlap/load_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_the_pile_document_iterator(file_path: str) -> Iterator[str]:
"""
with open(file_path, "r") as f:
import random
if random.random() < 1 / 1000:
if random.random() < 1 / 10:
for line in f:
yield json.loads(line)["text"]

Expand Down

0 comments on commit 5b15805

Please sign in to comment.