Problem in L5-Evalution

There is a problem in the next code, the method apply_and_parse is currently deprecated

new_examples = example_gen_chain.apply_and_parse(
    [{"doc": t} for t in data[:5]]
)

It can be resolved just by erasing the method and get the question and answers like the next code

new_examples = example_gen_chain(
    [{"doc": t} for t in data[:5]]
)

new_examples["text"]
5 Likes

Hi @Christian_Urcuqui,

Thanks for letting us know.

A question though, did you run this lab locally or on colab ?

Best,
Mubsi

Hey Mubsi,

It was on the lab-aws-production.deeplearning.ai environment, I am sharing the screenshot using the platform when I run all the cells.

I hope this helps, best regards