kermitt2 / delft

a Deep Learning Framework for Text https://delft.readthedocs.io/
Apache License 2.0
387 stars 64 forks source link

Fixing issue with *bert models #121

Closed lfoppiano closed 2 years ago

lfoppiano commented 2 years ago

After weeks of dismembering everything I found the issue. The checkpoint file was not written correctly. 😭

This is probably useless because in the new version the implementation had been largely rewritten but at least I've deepen inside and got more familiar on how it works...

I've also add some cosmetics here and there