ValueError: expected sequence of length 25 at dim 1 (got 43)

I’m trying to run the code from this tutorial ( Prompt-based methods ( My code is the exact same as tutorial. However, when I try to run it, it will always give this error. It’s always shorter or longer but not the exact same.


Feel free to open an issue on the PEFT repository in that case.