The pretrained model you just downloaded can run code the moment you load it
Here is a line that looks like reading a file and is actually running a program:
model = torch.load("pretrained.pt")
You found the checkpoint on a model hub, pip'd the repo that ships it, or git clon
jaytank.hashnode.dev8 min read