Okay, I tried that code you suggested, but I get his error:
OSError: Can't load tokenizer for '/content/my_model'. Make sure that:

- '/content/my_model' is a correct model identifier listed on 'https://huggingface.co/models'

- or '/content/my_model' is the correct path to a directory containing relevant tokenizer files