hilderonny2024/taskworker-translate

By hilderonny2024

Updated over 1 year ago

TaskBridge worker for translating texts

Image
Message queues
Internet of things
Machine learning & AI
0

189

hilderonny2024/taskworker-translate repository overview

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.

VariableExampleDescription
taskbridgeurlhttp://127.0.0.1:42000/URL of the TaskBridge server the worker should connect to
workerDOCKERName for this worker to show up in the TaskBridge UI
devicecuda:0Define the GPU or CPU to be used

Running

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/

Tag summary

Content type

Image

Digest

sha256:d7910e148

Size

3.3 GB

Last updated

over 1 year ago

docker pull hilderonny2024/taskworker-translate