cpllab / lm-zoo

Easy black-box access to state-of-the-art language models
https://cpllab.github.io/lm-zoo/
MIT License
14 stars 6 forks source link

Add Singularity backend #41

Closed hans closed 4 years ago

hans commented 4 years ago

Add API and CLI support for Singularity images. Currently the registry models are still assumed to be hosted on Docker Hub; however, you can now explicitly specify shub / library / local Singularity images, like so:

$ lm-zoo tokenize singularity://my-model.sif my-file.txt

Added API tests and will soon add CLI tests post-merge.