Closed tskir closed 6 months ago
P. S. I've checked that after this change the example output isn't materially affected (positions & entities are all the same, confidence scores vary within <0.1%), but of course I couldn't check the entire dataset & performance :upside_down_face:
Yes I recently noticed this. Totally agree 👍🏽
As I was experimenting with the repository, I noticed that installing a blank virtual environment and following the instructions in README leads to:
This is because part of the code was recently removed in https://github.com/huggingface/transformers/pull/28207. This has then been addressed in https://github.com/huggingface/optimum/pull/1641, so upgrading to
optimum==1.16.2
solves the problem.