File size: 11,171 Bytes
d9b661b
 
 
05b4a09
982aa7e
d9b661b
 
 
 
 
 
 
a474408
 
 
 
 
 
1eb011e
 
 
 
 
 
d9b661b
 
3f767aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50e9882
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7af6942
 
 
 
 
 
 
 
 
 
 
 
6f7e3d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f5ebd53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[2024-07-31 16:56:25] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 16:56:25] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 16:56:28] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 16:56:28] INFO     βœ… All the steps have been loaded!
[2024-07-31 16:56:28] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 16:56:28] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 16:56:28] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 16:56:28] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 16:56:28] WARNING  ⚠️ Processing batch 0 with step 'fake_unique_id_0' failed. Sending empty batch filled with `None`s...
[2024-07-31 16:56:28] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/pipeline/local.py", line 512, in _non_generator_process_loop
    result = next(self.step.process_applying_mappings(*batch.data))
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 512, in process_applying_mappings
    for output_rows in generator:
  File "/mnt/foundation-shared/nina_xu_gretel_ai/playground/distilabel/unique_id_faker.py", line 66, in process
    input["column_content"] = [faker_function(**faker_args) if faker_args else faker_function() for i in range(FakeUniqueId.num_examples)]
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pydantic/_internal/_model_construction.py", line 237, in __getattr__
    raise AttributeError(item)
AttributeError: num_examples

[2024-07-31 16:56:28] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 16:56:28] INFO     🏁 Finished running step 'fake_unique_id_0'
[2024-07-31 16:58:50] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 16:58:50] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 16:58:52] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 16:58:52] INFO     βœ… All the steps have been loaded!
[2024-07-31 16:58:52] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 16:58:52] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 16:58:52] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 16:58:52] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 16:58:52] WARNING  ⚠️ Processing batch 0 with step 'fake_unique_id_0' failed. Sending empty batch filled with `None`s...
[2024-07-31 16:58:52] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/pipeline/local.py", line 512, in _non_generator_process_loop
    result = next(self.step.process_applying_mappings(*batch.data))
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 512, in process_applying_mappings
    for output_rows in generator:
  File "/mnt/foundation-shared/nina_xu_gretel_ai/playground/distilabel/unique_id_faker.py", line 66, in process
    input["column_content"] = [faker_function(**faker_args) if faker_args else faker_function() for i in range(FakeUniqueId.num_examples)]
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pydantic/_internal/_model_construction.py", line 237, in __getattr__
    raise AttributeError(item)
AttributeError: num_examples

[2024-07-31 16:58:52] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 16:58:52] INFO     🏁 Finished running step 'fake_unique_id_0'
[2024-07-31 16:59:33] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 16:59:33] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 16:59:36] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 16:59:36] INFO     βœ… All the steps have been loaded!
[2024-07-31 16:59:36] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 16:59:36] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 16:59:36] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 16:59:36] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 16:59:36] WARNING  ⚠️ Processing batch 0 with step 'fake_unique_id_0' failed. Sending empty batch filled with `None`s...
[2024-07-31 16:59:36] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/pipeline/local.py", line 512, in _non_generator_process_loop
    result = next(self.step.process_applying_mappings(*batch.data))
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 512, in process_applying_mappings
    for output_rows in generator:
  File "/mnt/foundation-shared/nina_xu_gretel_ai/playground/distilabel/unique_id_faker.py", line 66, in process
    input["column_content"] = [faker_function(**faker_args) if faker_args else faker_function() for i in range(self.num_examples)]
  File "/mnt/foundation-shared/nina_xu_gretel_ai/playground/distilabel/unique_id_faker.py", line 66, in <listcomp>
    input["column_content"] = [faker_function(**faker_args) if faker_args else faker_function() for i in range(self.num_examples)]
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/faker/proxy.py", line 339, in wrapper
    retval = function(*args, **kwargs)
TypeError: numerify() got an unexpected keyword argument 'letters'

[2024-07-31 16:59:36] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 16:59:36] INFO     🏁 Finished running step 'fake_unique_id_0'
[2024-07-31 16:59:58] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 16:59:58] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 17:00:01] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 17:00:01] INFO     βœ… All the steps have been loaded!
[2024-07-31 17:00:01] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 17:00:01] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 17:00:01] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 17:00:01] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 17:00:01] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 17:00:01] INFO     🏁 Finished running step 'fake_unique_id_0'
[2024-07-31 20:15:47] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 20:15:47] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 20:15:50] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 20:15:50] INFO     βœ… All the steps have been loaded!
[2024-07-31 20:15:50] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 20:15:50] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 20:15:50] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 20:15:50] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 20:15:50] WARNING  ⚠️ Processing batch 0 with step 'fake_unique_id_0' failed. Sending empty batch filled with `None`s...
[2024-07-31 20:15:50] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/pipeline/local.py", line 512, in _non_generator_process_loop
    result = next(self.step.process_applying_mappings(*batch.data))
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 513, in process_applying_mappings
    yield [
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 519, in <listcomp>
    for k, v in row.items()
AttributeError: 'str' object has no attribute 'items'

[2024-07-31 20:15:50] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 20:15:50] INFO     🏁 Finished running step 'fake_unique_id_0'
[2024-07-31 20:31:40] INFO     πŸ“ Pipeline data will be written to '/home/nina_xu_gretel_ai/.cache/distilabel/pipelines/id-faker-pipeline/4c8d9c2318e1e9216d6b2d9ed2b6aee4bda818d5/data'
[2024-07-31 20:31:40] INFO     ⏳ Waiting for all the steps to load...
[2024-07-31 20:31:43] INFO     ⏳ Steps loaded: 2/2
 * 'load_data_from_dicts_0' workers: 1
 * 'fake_unique_id_0' workers: 1
[2024-07-31 20:31:43] INFO     βœ… All the steps have been loaded!
[2024-07-31 20:31:43] INFO     🧬 Starting yielding batches from generator step 'load_data_from_dicts_0'. Offset: 0
[2024-07-31 20:31:43] INFO     πŸ“¨ Step 'load_data_from_dicts_0' sending batch 0 to output queue
[2024-07-31 20:31:43] INFO     🏁 Finished running step 'load_data_from_dicts_0'
[2024-07-31 20:31:43] INFO     πŸ“¦ Processing batch 0 in 'fake_unique_id_0'
[2024-07-31 20:31:43] WARNING  ⚠️ Processing batch 0 with step 'fake_unique_id_0' failed. Sending empty batch filled with `None`s...
[2024-07-31 20:31:43] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/pipeline/local.py", line 512, in _non_generator_process_loop
    result = next(self.step.process_applying_mappings(*batch.data))
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 513, in process_applying_mappings
    yield [
  File "/home/nina_xu_gretel_ai/.pyenv/versions/3.9.16/lib/python3.9/site-packages/distilabel/steps/base.py", line 519, in <listcomp>
    for k, v in row.items()
AttributeError: 'str' object has no attribute 'items'

[2024-07-31 20:31:43] INFO     πŸ“¨ Step 'fake_unique_id_0' sending batch 0 to output queue
[2024-07-31 20:31:43] INFO     🏁 Finished running step 'fake_unique_id_0'