argosopentech/MetalTranslate

Customizable machine translation in C++

61

stars

48

commits

C++

primary language

Apr 10, 2024

updated

machine-learning
nlp
nlp-machine-learning
translation

README

MetalTranslate

Customizable machine translation in C++

MetalTranslate downloads and runs a pretrained CTranslate2 translation model and SentencePiece tokenizer model to translate locally with C++.

Quickstart

Linux

Tested on Ubuntu 22.04

git clone --recursive https://github.com/argosopentech/MetalTranslate.git
cd MetalTranslate
./init
./build.sh
./build/metaltranslate "Hello world" en es


Windows

The as-shura/MetalTranslate fork works on Windows.

Usage

MetalTranslate is designed to be experimental and used as a template for doing machine translation in C++. You will need to modify the source code for most use cases.

Contributors

PJ-Finlay

38 commits

argosopentech

8 commits

mnink275

1 commits

Sagleft

1 commits

argosopentech/MetalTranslate

Customizable machine translation in C++

61

stars

48

commits

C++

primary language

Apr 10, 2024

updated

machine-learning
nlp
nlp-machine-learning
translation

README

MetalTranslate

Customizable machine translation in C++

MetalTranslate downloads and runs a pretrained CTranslate2 translation model and SentencePiece tokenizer model to translate locally with C++.

Quickstart

Linux

Tested on Ubuntu 22.04

git clone --recursive https://github.com/argosopentech/MetalTranslate.git
cd MetalTranslate
./init
./build.sh
./build/metaltranslate "Hello world" en es


Windows

The as-shura/MetalTranslate fork works on Windows.

Usage

MetalTranslate is designed to be experimental and used as a template for doing machine translation in C++. You will need to modify the source code for most use cases.

Contributors

PJ-Finlay

38 commits

argosopentech

8 commits

mnink275

1 commits

Sagleft

1 commits

Languages

C++

76.0%

Shell

12.8%

CMake

11.1%