How to load a pretrained custom model using `from_pretrained`

Thank you, this is exactly what I was looking for!