In the installation requirements file, the packages require a specific version. When I tried to install it with pip, the installation failed repeatedly in both Python 3.12 and 3.11.
In practice, when I tried to install each package manually, without requiring a specific version, for example in the numpy package, the installation worked perfectly.
In the end, your code worked great on my computer (Intel(R) Core(TM) i7-1065G), with the versions I downloaded, without any problems.
(Except for a message at the beginning of the run "ftfy or spacy is not installed using BERT BasicTokenizer instead of ftfy.", but in practice, the code worked well!)
In the installation requirements file, the packages require a specific version. When I tried to install it with pip, the installation failed repeatedly in both Python 3.12 and 3.11. In practice, when I tried to install each package manually, without requiring a specific version, for example in the numpy package, the installation worked perfectly.
In the end, your code worked great on my computer (Intel(R) Core(TM) i7-1065G), with the versions I downloaded, without any problems. (Except for a message at the beginning of the run "ftfy or spacy is not installed using BERT BasicTokenizer instead of ftfy.", but in practice, the code worked well!)