allenai / bilm-tf

Tensorflow implementation of contextualized word representations from bi-directional language models
Apache License 2.0
1.62k stars 452 forks source link

An issue when trying to dump the weights #156

Closed RytisKumpa closed 5 years ago

RytisKumpa commented 5 years ago

Hi,

When I try to dump the weights, I get this error: "bilm.data.InvalidNumberOfCharacters: Set n_characters=261 for training see the README.md" If I understand correctly, I have to set n_characters to 262 when dumping the weights. Any help would be appreciated. Thanks!

ssubraveti commented 3 years ago

I'm running into the same issue... @RytisKumpa what did you do to fix this?