I have been trying to find out how the AutoModelForCausalLM.from_pretrained
method decides which checkpoint to load when only the directory of the trained model is specified.
More specifically, I trained a model and have three checkpoint saved locally (one for each training epoch). When I only specify the the parent directory in the from_pretrained
method, some model is loaded but I do not know which one.