taskworker-translate
TaskBridge worker for translating texts
189
This docker image contains a TaskBridge worker for handling translate tasks, see https://github.com/hilderonny/taskworker-translate.
You need to define the following environment variables.
| Variable | Example | Description |
|---|---|---|
| taskbridgeurl | http://127.0.0.1:42000/ | URL of the TaskBridge server the worker should connect to |
| worker | DOCKER | Name for this worker to show up in the TaskBridge UI |
| device | cuda:0 | Define the GPU or CPU to be used |
docker run --gpus all -e taskbridgeurl=http://192.168.178.39:42000/ -e worker=ROG -e device=cuda:0 hilderonny2024/taskworker-translate
The first time you run the application the AI model needs to be downloaded (about 5 GB), which can take some time. You can watch the progress by opening a terminal in the docker container and running
ls -la /root/.cache/huggingface/hub/models--facebook--m2m100_1.2B/blobs/
Content type
Image
Digest
sha256:d7910e148…
Size
3.3 GB
Last updated
over 1 year ago
docker pull hilderonny2024/taskworker-translate