HuggingFace with Sagemaker tutorial doesn't work

Hi.

Thank you for you attention. I tried with these versions:

  1. Using the “pip install” that come already with the notebook:

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

I this case the version installed are: dataset 1.6.2 and transformers 4.6.1

  1. Using the “pip install” that is used in the youtube video related to this tutorial:
    !pip install transformers “datasets[s3]” --upgrade

I this case the version installed are: dataset 4.9.2 and transformers 1.11.0

In both cases I got the same error.