Skip to content

Commit

Permalink
logger.info expects a string as its first argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Lemoine committed Sep 14, 2023
1 parent 7dfd81c commit 990d952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def generate_jsonl_files(self, *names):
assert not missing, f"{missing} are not valid dataset names"
for name in names:
dataset = get_dataset(name)
logger.info(dataset.to_jsonl())
logger.info("%s", dataset.to_jsonl())

def count_tokens(self, merged_dataset_path: str) -> None:
"""
Expand Down

0 comments on commit 990d952

Please sign in to comment.