Pytorch model inference in Java

I have a pytorch trained model with BERT (pytorch_model.bin) that i trained using python. Is there a way i can load and infer that model in Java ?

I used this to train https://github.com/kamalkraj/BERT-NER