Upload the raw train and validation data to the raw directory in hub
Browse files
clean.py
CHANGED
@@ -88,7 +88,7 @@ if __name__ == "__main__":
|
|
88 |
|
89 |
api.upload_file(
|
90 |
path_or_fileobj=train_path,
|
91 |
-
path_in_repo="train.jsonl",
|
92 |
repo_id=repo,
|
93 |
repo_type="dataset",
|
94 |
)
|
@@ -99,7 +99,7 @@ if __name__ == "__main__":
|
|
99 |
|
100 |
api.upload_file(
|
101 |
path_or_fileobj=val_path,
|
102 |
-
path_in_repo="validation.jsonl",
|
103 |
repo_id=repo,
|
104 |
repo_type="dataset",
|
105 |
)
|
|
|
88 |
|
89 |
api.upload_file(
|
90 |
path_or_fileobj=train_path,
|
91 |
+
path_in_repo="raw/train.jsonl",
|
92 |
repo_id=repo,
|
93 |
repo_type="dataset",
|
94 |
)
|
|
|
99 |
|
100 |
api.upload_file(
|
101 |
path_or_fileobj=val_path,
|
102 |
+
path_in_repo="raw/validation.jsonl",
|
103 |
repo_id=repo,
|
104 |
repo_type="dataset",
|
105 |
)
|