Probelm in using model

#1
by Manash02091997 - opened

Initially i was working fine a few months ago, now i recently tried to use it again.

Tried installing the latest version of flair and also the flair version specified but still have the same problem.
Error(s) in loading state_dict for BertModel:
Unexpected key(s) in state_dict: "embeddings.position_ids".

Please help

Capture.PNG

This issue may arise due to the use of non-Latin character set, i.e., Assamese. If you did not install indicnlp library, please install through- pip3 install indicnlp.
It is safe to experiment in a virtual environment.

The problem still persists. Even i checked the Asner model, it is also suffering from the same problem. I belive it is due to the versions of libraries used. Please help.

Sign up or log in to comment