Skip to content

argosopentech/MetalTranslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.