Datasets:
Update descriptor for new pipeline
Browse files- dataset.yaml +44 -37
dataset.yaml
CHANGED
@@ -1,23 +1,28 @@
|
|
1 |
name: Bluemoon
|
2 |
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 |
-
|
9 |
-
-
|
10 |
-
type:
|
|
|
11 |
config:
|
|
|
12 |
fields:
|
13 |
conversation: 'thread_href'
|
14 |
from: 'message_username'
|
15 |
message: 'message'
|
16 |
|
17 |
-
|
18 |
-
-
|
19 |
-
type:
|
|
|
20 |
config:
|
|
|
21 |
indent: 2
|
22 |
|
23 |
_debug_steps:
|
@@ -261,40 +266,42 @@ _steps:
|
|
261 |
|
262 |
_passes:
|
263 |
- pass: &usernames
|
264 |
-
|
265 |
- path: "data/rentry/bluemoon/bluemoon-fanbased-roleplays-1x1.csv"
|
266 |
sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
|
|
|
|
284 |
- pass: &clean
|
285 |
-
|
286 |
- path: "data/rentry/bluemoon/bluemoon-fanbased-roleplays-1x1.csv"
|
287 |
-
description: "Bluemoon 1-1 Fandom RP+ERP"
|
288 |
sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
|
|
|
|
|
|
296 |
sha512: e42913ab405ef52369a61f896a4d41a0b23aefe170cd9c482def8aa27422bdc21d90f1b776089d73bf5376f53e235c431652061e2d8413efb3210d71345dbdfc
|
297 |
-
|
298 |
-
steps: [ *strip_unicode, *reduce_whitespace, *strip_nonwords, *edge_cases, *trim, *empty,
|
299 |
-
*two_alternating_participants, *rename_participants ]
|
300 |
passes: [ *clean ]
|
|
|
1 |
name: Bluemoon
|
2 |
description: "Bluemoon 1-1 Fandom RP+ERP cleaned and formatted for Fastchat"
|
3 |
build:
|
|
|
4 |
conversationBatch: 100
|
5 |
cleanDirectory: [ 'out/*' ]
|
6 |
+
concurrency:
|
7 |
+
local: 16
|
8 |
|
9 |
+
_input_steps:
|
10 |
+
- step: &bluemoon
|
11 |
+
type: CsvInput
|
12 |
+
sync: main
|
13 |
config:
|
14 |
+
path: "data/rentry/bluemoon/bluemoon-fanbased-roleplays-1x1.csv"
|
15 |
fields:
|
16 |
conversation: 'thread_href'
|
17 |
from: 'message_username'
|
18 |
message: 'message'
|
19 |
|
20 |
+
_output_steps:
|
21 |
+
- step: &bluemoon_fastchat
|
22 |
+
type: FastChatOutput
|
23 |
+
sync: main
|
24 |
config:
|
25 |
+
path: "out/bluemoon.json"
|
26 |
indent: 2
|
27 |
|
28 |
_debug_steps:
|
|
|
266 |
|
267 |
_passes:
|
268 |
- pass: &usernames
|
269 |
+
required:
|
270 |
- path: "data/rentry/bluemoon/bluemoon-fanbased-roleplays-1x1.csv"
|
271 |
sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
|
272 |
+
steps:
|
273 |
+
- *bluemoon
|
274 |
+
- type: CsvOutput
|
275 |
+
description: "Extract usernames"
|
276 |
+
config:
|
277 |
+
path: 'out/usernames_%worker%.csv'
|
278 |
+
ignoreDuplicates: true
|
279 |
+
fields: [ 'from' ]
|
280 |
+
- type: FileConcatenate
|
281 |
+
sync: main
|
282 |
+
config:
|
283 |
+
path: 'out/usernames.csv'
|
284 |
+
files: [ 'out/usernames_*.csv' ]
|
285 |
+
ignoreDuplicateLines: true
|
286 |
+
delete: true
|
287 |
+
artifacts:
|
288 |
+
- file: 'out/usernames.csv'
|
289 |
+
sha512: 4caf853406443e00579ce4556340cc94c1e52933d4cd487c9865464ee72f4f60132a0c7ecc0aa971c85cf1aebdfc307cb066bfd20bfc50840563a4252412b6c5
|
290 |
+
|
291 |
- pass: &clean
|
292 |
+
required:
|
293 |
- path: "data/rentry/bluemoon/bluemoon-fanbased-roleplays-1x1.csv"
|
|
|
294 |
sha512: f31d6bd278bc4211736d6aace3917cd0c1d0143bec9bf9d07054f5f9b32060e17399b6ea0935774b2271ac45a88309a60ef8eec8c4ac5283d1b353a255529cc5
|
295 |
+
steps: [ *bluemoon,
|
296 |
+
*html_linebreaks, *html_strip, *links, *trim, *reduce_whitespace,
|
297 |
+
*ooc_strip, *reduce_separators, *reduce_punctuation, *spelling, *ooc_prune,
|
298 |
+
*strip_unicode,
|
299 |
+
*reduce_whitespace, *strip_nonwords, *edge_cases, *trim, *empty,
|
300 |
+
*two_alternating_participants, *rename_participants,
|
301 |
+
*bluemoon_fastchat,
|
302 |
+
]
|
303 |
+
artifacts:
|
304 |
+
- file: 'out/bluemoon.json'
|
305 |
sha512: e42913ab405ef52369a61f896a4d41a0b23aefe170cd9c482def8aa27422bdc21d90f1b776089d73bf5376f53e235c431652061e2d8413efb3210d71345dbdfc
|
306 |
+
|
|
|
|
|
307 |
passes: [ *clean ]
|