Deployed HF model from the hub and got an error: 'numpy.ndarray' object has no attribute 'pop'

Glad I could help you.

BTW. you said you are using Serverless Framework for deployment? It is pretty to add additional python dependencies with it.