faker-example / pipeline.yaml
ninaxu's picture
Upload pipeline.yaml with huggingface_hub
98ea92c verified
distilabel:
version: 1.2.4
pipeline:
name: id-faker-pipeline
description: A simple pipeline to generate unique IDs with Faker
steps:
- step:
name: load_data_from_dicts_0
input_mappings: {}
output_mappings: {}
batch_size: 5
data:
'0':
column_name: uplift_loan_id
id_faker_arguments:
type: id
args:
text: '############'
'1':
column_name: uplift_account_id
id_faker_arguments:
type: id
args:
text: ?############
letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
'2':
column_name: ssn9
id_faker_arguments:
type: ssn
args: {}
'3':
column_name: uuid
id_faker_arguments:
type: uuid
args: {}
runtime_parameters_info:
- name: batch_size
optional: true
description: The number of rows that will contain the batches generated by
the step.
type_info:
module: distilabel.steps.generators.data
name: LoadDataFromDicts
name: load_data_from_dicts_0
- step:
name: fake_unique_id_0
input_mappings: {}
output_mappings: {}
input_batch_size: 50
num_examples: 50
runtime_parameters_info:
- name: input_batch_size
optional: true
description: The number of rows that will contain the batches processed by
the step.
- name: num_examples
optional: true
description: The number of examples to generate
type_info:
module: __main__
name: FakeUniqueId
name: fake_unique_id_0
connections:
- from: load_data_from_dicts_0
to:
- fake_unique_id_0
- from: fake_unique_id_0
to: []
routing_batch_functions: []
type_info:
module: distilabel.pipeline.local
name: Pipeline