Unable to load the model
tuotuoZ opened this issue ยท 8 comments
I am also very interested in reading your paper. Is it available now?
@tuotuoZ Hi. I think the first image, you need to put kornosk/
as the prefix for the model path. For the second image, you need to set from_tf=False
or just remove the param since the default is false. Our models were trained with PyTorch, the param from_tf
is used when the model is trained with TensorFlow.
Let us know if you have any other issues. ๐
I am also very interested in reading your paper. Is it available now?
@tuotuoZ We will inform you once it is available. Probably next week.
@tuotuoZ Can you check the dependencies pytorch==1.8.1
and transformers==4.5.1
? I checked my code with these dependencies.
If it still doesn't work, try removing tensorflow
. I think this issue happened to me before.
thanks! Removing the tensorflow libaray solved the problem!
I am also very interested in reading your paper. Is it available now?
@tuotuoZ The paper is available online now at https://www.aclweb.org/anthology/2021.naacl-main.376.
I am also very interested in reading your paper. Is it available now?
@tuotuoZ The paper is available online now at https://www.aclweb.org/anthology/2021.naacl-main.376.
Yeah, I can see it. THanks!