Install Transformers with pip in your newly created virtual environment:
To install a CPU-only version of Transformers and a machine learning framework PyTorch, run the following command:
To test if the installation was successful, run the following command. It should return a label and a score for the provided text: