hasanhuz / SpanEmo

SpanEmo
Other
59 stars 21 forks source link

the question of running project with Spanish #9

Closed aduotang closed 2 years ago

aduotang commented 2 years ago

Hi! I am trying to reproduce the Spanish part, but there have a ValueError: 'anticip' is not in list. I have already download bert-base-spanish-wwm-uncased.

Could you please provide the suggests for me?

Thanks in advance.

hasanhuz commented 2 years ago

Hi there, thank you for your interest in our work. It seems to me the error is caused by the Bert-base encoder. I suggest to check the dictionary of the model if it contains the word "anticip", if not, then you must provide a replacement word so that Bert-base can generate its embedding. Hope this helps, Hassan

hasanhuz commented 2 years ago

Since no further questions have been asked, I will close the issue. However, feel free to reopen it in case you have any one.