File size: 3,835 Bytes
80ef486
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[2024-10-24 00:51:20] INFO     πŸ“ Pipeline data will be written to '/root/.cache/distilabel/pipelines/generate-datasetss/2d072efd6a55405ff1f121a9de62292f3218e3a3/executions/dfb501a381457fe776f9835280f883f8ef5d90ef/data/steps_outputs'
[2024-10-24 00:51:20] INFO     βŒ› The steps of the pipeline will be loaded in stages:
 * Stage 0:
   - 'load_data_from_hub_0'
   - 'text_generation_0'
   - 'text_generation_1'
   - 'group_columns_0'
   - 'ultra_feedback_0'
   - 'format_text_generation_d_p_o_0'
[2024-10-24 00:51:21] INFO     ⏳ Waiting for all the steps of stage 0 to load...
[2024-10-24 00:51:21] INFO     ⏳ Steps from stage 0 loaded: 1/6
 * 'load_data_from_hub_0' replicas: 0/1
 * 'text_generation_0' replicas: 0/1
 * 'text_generation_1' replicas: 0/1
 * 'group_columns_0' replicas: 1/1
 * 'ultra_feedback_0' replicas: 0/1
 * 'format_text_generation_d_p_o_0' replicas: 0/1
[2024-10-24 00:51:23] INFO     ⏳ Steps from stage 0 loaded: 6/6
 * 'load_data_from_hub_0' replicas: 1/1
 * 'text_generation_0' replicas: 1/1
 * 'text_generation_1' replicas: 1/1
 * 'group_columns_0' replicas: 1/1
 * 'ultra_feedback_0' replicas: 1/1
 * 'format_text_generation_d_p_o_0' replicas: 1/1
[2024-10-24 00:51:23] INFO     βœ… All the steps from stage 0 have been loaded!
[2024-10-24 00:51:23] INFO     🧬 Starting yielding batches from generator step 'load_data_from_hub_0'. Offset: 0
[2024-10-24 00:51:23] INFO     πŸ“¨ Step 'load_data_from_hub_0' sending batch 0 to output queue
[2024-10-24 00:51:23] INFO     🏁 Finished running step 'load_data_from_hub_0' (replica ID: 0)
[2024-10-24 00:51:23] INFO     πŸ“¦ Processing batch 0 in 'text_generation_0' (replica ID: 0)
[2024-10-24 00:51:23] INFO     πŸ“¦ Processing batch 0 in 'text_generation_1' (replica ID: 0)
[2024-10-24 00:51:28] INFO     πŸ“¨ Step 'text_generation_0' sending batch 0 to output queue
[2024-10-24 00:51:28] INFO     🏁 Finished running step 'text_generation_0' (replica ID: 0)
[2024-10-24 00:51:29] INFO     πŸ“¨ Step 'text_generation_1' sending batch 0 to output queue
[2024-10-24 00:51:29] INFO     🏁 Finished running step 'text_generation_1' (replica ID: 0)
[2024-10-24 00:51:29] INFO     πŸ“¦ Processing batch 0 in 'group_columns_0' (replica ID: 0)
[2024-10-24 00:51:29] INFO     πŸ“¨ Step 'group_columns_0' sending batch 0 to output queue
[2024-10-24 00:51:29] INFO     🏁 Finished running step 'group_columns_0' (replica ID: 0)
[2024-10-24 00:51:29] INFO     πŸ“¦ Processing batch 0 in 'ultra_feedback_0' (replica ID: 0)
[2024-10-24 00:51:43] INFO     πŸ“¨ Step 'ultra_feedback_0' sending batch 0 to output queue
[2024-10-24 00:51:43] INFO     🏁 Finished running step 'ultra_feedback_0' (replica ID: 0)
[2024-10-24 00:51:43] INFO     πŸ“¦ Processing batch 0 in 'format_text_generation_d_p_o_0' (replica ID: 0)
[2024-10-24 00:51:43] WARNING  ⚠️ Processing batch 0 with step 'format_text_generation_d_p_o_0' failed. Sending empty batch filled with `None`s...
[2024-10-24 00:51:43] WARNING  Subprocess traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/distilabel/pipeline/step_wrapper.py", line 240, in _non_generator_process_loop
    result = next(step.process_applying_mappings(*batch.data))
  File "/usr/local/lib/python3.10/dist-packages/distilabel/steps/base.py", line 669, in process_applying_mappings
    for output_rows in generator:
  File "/usr/local/lib/python3.10/dist-packages/distilabel/steps/formatting/dpo.py", line 173, in process
    chosen_idx = max(enumerate(item["ratings"]), key=lambda x: x[1])[0]
TypeError: '>' not supported between instances of 'NoneType' and 'int'

[2024-10-24 00:51:43] INFO     πŸ“¨ Step 'format_text_generation_d_p_o_0' sending batch 0 to output queue
[2024-10-24 00:51:43] INFO     🏁 Finished running step 'format_text_generation_d_p_o_0' (replica ID: 0)