pyeurovoc icon indicating copy to clipboard operation
pyeurovoc copied to clipboard

Broken training script

Open bocchilorenzo opened this issue 1 year ago • 2 comments

Hi, I was trying to use the training script, but it appears to be broken. More specifically, for any language but romanian it doesn't even start the training, and with romanian it doesn't do more than 1 iteration both in the training itself and in the subsequent evaluation. Also, the import at line 4 is wrong. After removing the lines 22, 23, 46, 47, 81 and 82 from the script, and changing line 4 from "from eurovoc_transformers.model import LangModelWithDense" to "from pyeurovoc.model import LangModelWithDense", everything seems to work correctly. I didn't fully train it yet, so I can't confirm that it goes till the end without issues. But, for 500 iterations it worked fine.

bocchilorenzo avatar Feb 20 '23 15:02 bocchilorenzo