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

Multistage Docker builds #29

Closed hans closed 4 years ago

hans commented 4 years ago

Use multi-stage Docker builds where relevant. Addresses security issue #27 and disk space issue #22. Many builds are now based on Alpine and have more thorough post-build cleanup.

ngram: 1.37GB -> 0.75GB rnng: 2.80GB -> 1.56GB ordered-neurons: 3.29GB -> 3.22GB