ninaxu commited on
Commit
46dc017
·
verified ·
1 Parent(s): ff85c1a

Upload pipeline.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. pipeline.yaml +21 -4
pipeline.yaml CHANGED
@@ -1,5 +1,5 @@
1
  distilabel:
2
- version: 1.2.1
3
  pipeline:
4
  name: id-faker-pipeline
5
  description: A simple pipeline to generate unique IDs with Faker
@@ -12,13 +12,27 @@ pipeline:
12
  data:
13
  '0':
14
  column_name: uplift_loan_id
15
- id_faker_code: fake.unique.numerify(text='############')
 
 
 
16
  '1':
17
  column_name: uplift_account_id
18
- id_faker_code: fake.unique.bothify(text='?############', letters=string.ascii_uppercase)
 
 
 
 
19
  '2':
20
  column_name: ssn9
21
- id_faker_code: fake.unique.ssn()
 
 
 
 
 
 
 
22
  runtime_parameters_info:
23
  - name: batch_size
24
  optional: true
@@ -33,11 +47,14 @@ pipeline:
33
  input_mappings: {}
34
  output_mappings: {}
35
  input_batch_size: 50
 
36
  runtime_parameters_info:
37
  - name: input_batch_size
38
  optional: true
39
  description: The number of rows that will contain the batches processed by
40
  the step.
 
 
41
  type_info:
42
  module: __main__
43
  name: FakeUniqueId
 
1
  distilabel:
2
+ version: 1.2.4
3
  pipeline:
4
  name: id-faker-pipeline
5
  description: A simple pipeline to generate unique IDs with Faker
 
12
  data:
13
  '0':
14
  column_name: uplift_loan_id
15
+ id_faker_argments:
16
+ type: id
17
+ args:
18
+ text: '############'
19
  '1':
20
  column_name: uplift_account_id
21
+ id_faker_argments:
22
+ type: id
23
+ args:
24
+ text: ?############
25
+ letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
26
  '2':
27
  column_name: ssn9
28
+ id_faker_argments:
29
+ type: ssn
30
+ args: {}
31
+ '3':
32
+ column_name: uuid
33
+ id_faker_argments:
34
+ type: uuid
35
+ args: {}
36
  runtime_parameters_info:
37
  - name: batch_size
38
  optional: true
 
47
  input_mappings: {}
48
  output_mappings: {}
49
  input_batch_size: 50
50
+ num_examples: 50
51
  runtime_parameters_info:
52
  - name: input_batch_size
53
  optional: true
54
  description: The number of rows that will contain the batches processed by
55
  the step.
56
+ - name: num_examples
57
+ optional: true
58
  type_info:
59
  module: __main__
60
  name: FakeUniqueId