Datasets:
Update for config naming and file glob support
Browse files- dataset.yaml +3 -3
dataset.yaml
CHANGED
@@ -3,7 +3,7 @@ description: "Bluemoon 1-1 Fandom RP+ERP cleaned and formatted for Fastchat"
|
|
3 |
build:
|
4 |
messageBatch: 5000
|
5 |
conversationBatch: 100
|
6 |
-
cleanDirectory: [ 'out' ]
|
7 |
|
8 |
_readers:
|
9 |
- reader: &bluemoon
|
@@ -270,7 +270,7 @@ _passes:
|
|
270 |
description: "Extract usernames"
|
271 |
config:
|
272 |
path: 'out/usernames_%worker%.csv'
|
273 |
-
|
274 |
fields: [ 'from' ]
|
275 |
output:
|
276 |
- path: "out/usernames.csv"
|
@@ -279,7 +279,7 @@ _passes:
|
|
279 |
type: FileConcatenate
|
280 |
config:
|
281 |
files: [ 'out/usernames_*.csv' ]
|
282 |
-
|
283 |
delete: true
|
284 |
- pass: &clean
|
285 |
input:
|
|
|
3 |
build:
|
4 |
messageBatch: 5000
|
5 |
conversationBatch: 100
|
6 |
+
cleanDirectory: [ 'out/*' ]
|
7 |
|
8 |
_readers:
|
9 |
- reader: &bluemoon
|
|
|
270 |
description: "Extract usernames"
|
271 |
config:
|
272 |
path: 'out/usernames_%worker%.csv'
|
273 |
+
ignoreDuplicates: true
|
274 |
fields: [ 'from' ]
|
275 |
output:
|
276 |
- path: "out/usernames.csv"
|
|
|
279 |
type: FileConcatenate
|
280 |
config:
|
281 |
files: [ 'out/usernames_*.csv' ]
|
282 |
+
ignoreDuplicateLines: true
|
283 |
delete: true
|
284 |
- pass: &clean
|
285 |
input:
|