mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-02 10:12:17 +00:00
Slight cleanup of superfluous comment and space after comma
This commit is contained in:
parent
f59ab5153f
commit
b8292dd7d0
1
data.py
1
data.py
@ -57,7 +57,6 @@ def load_data(config, tokenizer):
|
|||||||
dataset_path = config["dataset_path"]
|
dataset_path = config["dataset_path"]
|
||||||
|
|
||||||
if os.path.exists(dataset_path):
|
if os.path.exists(dataset_path):
|
||||||
# check if path is a directory
|
|
||||||
if os.path.isdir(dataset_path):
|
if os.path.isdir(dataset_path):
|
||||||
files = glob.glob(os.path.join(dataset_path, "*_clean.jsonl"))
|
files = glob.glob(os.path.join(dataset_path, "*_clean.jsonl"))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user