I’m not sure I completely understand your question, but AutoModel.from_pretrained does not look in subfolders, so if you pass it ".saved/" it will look for the model and tokenizer files directly in that folder.