Using .generate() with CodeParrot

Having the same problem. It seems to be related to using GenerationConfig. Passing parameters directly to generate works fine.