self.processor turning out to be None in ShukaPipeline __init__()

#11
by DankDuck1 - opened

I am following the demo code given in the repo. It seems easy. However, I am getting an error in class ShukaPipeline in function preprocess on line
text = self.processor.tokenizer.apply_chat_template(
turns, add_generation_prompt=True, tokenize=False
)
On debugging the error, I found that self.processor is None and is not being set up properly in init().
image.png

You can follow the above code in repo main page to reproduce the error. I am using free environment of Google Colab. Please see!

DankDuck1 changed discussion status to closed
DankDuck1 changed discussion status to open

Sign up or log in to comment