|
name: Bluemoon-Split |
|
description: "Splits" |
|
build: |
|
conversationBatch: 100 |
|
cleanDirectory: [ 'out/data/pruned', 'out/stats/pruned' ] |
|
verifyRequirements: false |
|
verifyArtifacts: false |
|
sendPackedFiles: true |
|
gzipRemotePackedFiles: true |
|
gzipLocalPackedFiles: false |
|
|
|
_input_steps: |
|
- step: &bluemoon_cleaned |
|
type: FastChatInput |
|
sync: main |
|
config: |
|
path: "out/data/full/bluemoon.train.json" |
|
preserveIds: true |
|
|
|
_passes: |
|
- pass: &cfg--pruned |
|
required: |
|
- path: "out/data/full/bluemoon.train.json" |
|
steps: |
|
|
|
- *bluemoon_cleaned |
|
|
|
- type: StatsConversationPrune |
|
description: "Prune conversations for deviation or maximum message length" |
|
pack: [ 'out/stats/full/train/stats.json', 'out/stats/full/train/conversations.json.gz' ] |
|
config: |
|
packedStatsPath: 'out/stats/full/train' |
|
wordsStdDevRatioMin: 0.5 |
|
|
|
|
|
wordsClampMax: 2048 |
|
messagesCountMin: 4 |
|
|
|
- type: FastChatOutput |
|
sync: main |
|
config: |
|
path: "out/data/pruned/bluemoon.train.json" |
|
indent: 2 |
|
- type: StatsOutput |
|
description: "Output statistics" |
|
sync: main |
|
config: |
|
path: 'out/stats/pruned/train/stats.json' |
|
vocabPath: 'out/stats/pruned/train/vocabulary.json.gz' |
|
gZipVocabulary: true |
|
conversationsPath: 'out/stats/pruned/train/conversations.json.gz' |
|
gZipConversations: true |
|
|
|
- type: RawSampleOutput |
|
sync: main |
|
config: |
|
ratio: 0.01 |
|
forwardFilter: true |
|
path: "out/data/pruned/bluemoon.test.raw" |
|
- type: StatsOutput |
|
description: "Output statistics" |
|
sync: main |
|
config: |
|
path: 'out/stats/pruned/test/stats.json' |
|
vocabPath: 'out/stats/pruned/test/vocabulary.json.gz' |
|
gZipVocabulary: true |
|
conversationsPath: 'out/stats/pruned/test/conversations.json.gz' |
|
gZipConversations: true |
|
artifacts: |
|
- file: "out/data/pruned/bluemoon.train.json" |
|
- file: "out/data/pruned/bluemoon.test.raw" |
|
|
|
|
|
passes: [ *cfg--pruned ] |