#Been trying to try out the GRPO Notebook

14 messages · Page 1 of 1 (latest)

shy anvil
#

try
messages_list = [format_dataset(row) for index, row in df.iterrows()]
df["Messages"] = messages_list
instead of
dataset["Messages"] = dataset.apply(format_dataset, axis = 1)

sleek thunder
#

Just saw this, I tried it out but I don't have the def for df

NameError: name 'df' is not defined

shy anvil
#

oh my bad

#

it should be
messages_list = [format_dataset(row) for index, row in dataset.iterrows()]

sleek thunder
#

I don't know if its the colab notebook but I've tried about everything lol. I thought it would be as simple as changing the column names. Thank you for the help though.

celest wolf
#

which colab notebook are you using

sleek thunder
#

@celest wolf Thank you for responding

#

Took a break for awhile from training models after I used 50 or so credits on a model to find out the saving wasn’t working then.

#

So I saw you let everyone know on github that saving is working now

celest wolf
#

oh ok.

#

mm

sleek thunder
#

Hey I finally looked at the Notebook on my computer, and wanted to apologize. I was trying to half get it to work while at work and didn't see what section I was editing. on my phone I was editing the section for formatting...lol