First I saved a model:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-sla")

model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-sla")

model.save_pretrained("../packages/python/models/my_model")


And I checked, I have that folder created with files pytorch_model.bin and config.json
Then I again called it by inserting a path to the folder:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("../packages/python/models/my_model")
model = AutoModelForSeq2SeqLM.from_pretrained("../packages/python/models/my_model")


But I get the error:
OSError: Can't load tokenizer for '../packages/python/models/my_model'. Make sure that:

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

- or '../packages/python/models/my_model' is the correct path to a directory containing relevant tokenizer files