rajatsharma369007 / peft-fine-tuning-genAI

Lightweight fine-tuning is one of the most important techniques for adapting foundation models, because it allows you to modify foundation models for your needs without needing substantial computational resources.
0 stars 0 forks source link

ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['label'] #1

Closed rajatsharma369007 closed 1 month ago

rajatsharma369007 commented 1 month ago

This error occurs while training the LoRA model instantiated using get_peft_model function. Check code cell 19 of the LighweightFineTuning notebook.

rajatsharma369007 commented 1 month ago

The issue is resolved in this commit