How can I deploy and run models locally?

I want to use some pre-trained models (such as Automatic Radiology Report Generation) locally. How can I install and deploy the model to use it for production?