You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update get_all_files_paths_under examples to include keep_extensions (#450)
* add keep_extensions param to existing scripts and docs
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
* run black
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
---------
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
@@ -58,7 +58,7 @@ You could read, filter the dataset, and write it using the following methods
58
58
59
59
Let's walk through this code line by line.
60
60
61
-
* ``files = get_all_files_paths_under("books_dataset/")`` This retrieves a list of all files in the given directory.
61
+
* ``files = get_all_files_paths_under("books_dataset/", keep_extensions="jsonl")`` This retrieves a list of all files in the given directory, then filters the list to include only files ending with ".jsonl".
0 commit comments