cooelf / SemBERT

Semantics-aware BERT for Language Understanding (AAAI 2020)
https://arxiv.org/abs/1909.02209
MIT License
285 stars 55 forks source link

Errors from allennlp #30

Open RoosBakker opened 1 year ago

RoosBakker commented 1 year ago

Dear developers,

Unfortunately I cannot get your code to work, that is, none of the examples from the readme. After solving other errors, I get stuck on the assertion error OOV token not found.

assert self._oov_token in self._token_to_index[namespace], "OOV token not found!"
AssertionError: OOV token not found!

I tried changing the line endings, running the different examples in your readme, and installing different versions of allennlp. Do you have a solution for this problem?

Thank you for your time,

Roos