You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided [‘label’]
I don’t often use transformers directly, so sorry if I’m off the mark.
Maybe you simply chose or used the wrong tokenizer.
According to the error above, you’re getting an error when data is passed in the wrong format, not the content.