A Machine translation provider using Opus models by University of Helsinki running locally on CPU.
The models run completely on your machine. No private data leaves your servers.
in favor of translate2
With Nextcloud AIO, this app is not going to work because AIO uses musl. However you can use this community container as replacement for this app.
Positive:
- the software for training and inference of this model is open source
- the trained model is freely available, and thus can be run on-premises
- the training data is freely available, making it possible to check or correct for bias or optimise the performance and CO2 usage.
Learn more about the Nextcloud Ethical AI Rating in our blog.
- Place this app in nextcloud/apps/
or
- Install from the Nextcloud appstore
After installing this app you will need to run:
$ php occ translate:download-models
$ php occ translate:download-models <languages>
For example
$ php occ translate:download-models de en
will download both en->de and de->en.
$ php occ translate:download-models de en es
will download en->de, de->en, en->es, es->en, es->de, de->es
The app can be built by using the provided Makefile by running:
make
This requires the following things to be present:
- make
- which
- tar: for building the archive
- curl: used if phpunit and composer are not installed to fetch them from the web
- npm: for building and testing everything JS, only required if a package.json is placed inside the js/ folder