AutoModel.from_pretrained vs PreTrainedModel.from_pretrained
The difference of AutoModel.from_pretrained and  PreTrainedModel.from_pretrained ? I know  the from_pretrained method can load model from a path or a repo’s name, but can someone explain why in the docs the PreTrainedModel.from_pretrained code example using AutoModel.from_pretrained.pretrained940×404 32 KB