HuggingFace with Sagemaker tutorial doesn't work

I used the notebook as it is with

!pip install "sagemaker>=2.48.0" "transformers==4.6.1" "datasets[s3]==1.6.2" --upgrade

Have you tried restarting the kernel?
And you might need to use sudo rm -rf

1 Like