asahi417/tner

Droping AllenNLP from requirements

tednaseri opened this issue · 1 comments

Hi @asahi417, I have an issue with AllenNLP as a requirement.
Indeed, AllenNLP brings some version-conflicts with other requirements of my project. In this case, it is preferable to drop Allen-NLP from the requirements since I have set CRF=False during fine-tuning.

Do you have any idea about that?

Thank you so much

Indeed. AllenNLP is now deprecated, and it also comes with several dependencies that interfere with other projects (such as datasets or wandb).

Perhaps we can switch to other CRF implementation, such as pytorch-crf.

Again, thanks for your great resources @asahi417