Question on fFne-Tuning BERT for Text Classification

I recently read this post https://www.analyticsvidhya.com/blog/2020/07/transfer-learning-for-nlp-fine-tuning-bert-for-text-classification/#, and tried to run the notebook locally. (I downloaded the notebook and csv, and did not make changes on it)
But I encountered this error “TypeError: linear(): argument ‘input’ (position 1) must be Tensor, not str” in line preds = model(sent_id, mask). Could someone guide me here?

Thank you.

© Copyright 2013-2021 Analytics Vidhya