How do I run ELSER locally?


I am currently interested in having ELSER run locally, meaning outside of elastic.
I have ran it in a local elastic environment through docker (and ofcourse also in the cloud) but I am assuming this might be slower than running it natively.

I also want to do this in order to get familiar with running ML models directly in python.

I might be wrong but I did not find how to do this in the documentation.

I have currently downloaded the model here.

I tried running it with python but I am not as knowledgeable in python. So everything I tried did not deliver any good results. (tried with PyTorch)

If someone could help me or point me in the right direction that would be great!