Are models supposed to be downloaded every time?

I’m hosting the libretranslate server myself, and running through docker. I’ve noticed it downloads language models every time I start the app. Is this normal? Should it be saving it somewhere?

Here’s the command I’m running:

sudo docker run -ti -p 80:5000 libretranslate/libretranslate --req-limit 10 --char-limit 1000

I attempted fixing it by creating a docker volume and attaching: -v volume1:/home/ubuntu/.local/share/argos-translate but it didn’t change anything.

Any ideas? I’m an idiot with docker, so help and advice is appreciated.

1 Like

It’s normal, but not recommended. Try making a named volume for /root/.local/share/argos-translate.

1 Like