Skip to content

Got stuck when processing code r1 data #13

@ck853178967

Description

@ck853178967

stuck when running python examples/data_preprocess/coder1.py

        actualchildren[k] += 1
        if actualchildren[k] == children[k]:
                stack.append(k)
ans = []
for i in range(m):
        if actualused[i]:
                ans.append(str(i + 1))
print(len(ans))
print(' '.join(ans))

exec_succ = False
stdin = '1 0\n1\n' stdout = '-1\n'
output = 
 Failed to execute program: STDOUT:


STDERR:
Traceback (most recent call last):
  File "<string>", line 20, in <module>
ValueError: not enough values to unpack (expected 2, got 0)
Test code failed for codeforces
Map (num_proc=64):  98%|████████████████████████████████████████████████████████████████████████████████▋ | 12686/12898 [05:29<00:06, 32.51 examples/s]

Each time stuck at around the same position, if I clean the data cache at /root/.cache/huggingface/datasets/likaixin___taco-verified.

Otherwise it will stuck at around the 190th sample.

Is there any advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions