I was trying to run the Token Classification Example Notebook and thought it might be outdated.
The signs I have found are as follows:
There are some missing dependencies,
acceleratewhich need to be installed.
The training loss is not being logged while training the model, and the following warning is shown: “/usr/local/lib/python3.10/dist-packages/seqeval/metrics/v1.py:57: UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.”
Is there anything else that needs to be updated in order to run this notebook as intended? Have there been any breaking changes that could have impacted this notebook?