Closed RylanSchaeffer closed 1 month ago
One solution I found: Explicitly use a batch size for .map()
:
gold_labelled_generations = gold_labelled_generations.map(_truncate_answers, batched=True, batch_size=10)
Hmm interesting, I don't remember having seen this error, but maybe I wasn't using map before. Thank you for sharing, maybe this will help other people as well.
When I try running
python run_bon_pipeline.py
, I hit the error:Is this to be expected? If not, what is the correct solutions?