Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Easy-Translate Examples

This folder contains examples of how to use Easy-Translate with different models and configurations. You can adapt these examples to your own use cases. If you have any questions, please feel free to open an issue.

Run the examples from the root of the Easy-Translate repository as follows: sh examples/<example>.sh

MT Models

m2m100-1.2B.sh
m2m100-12B_fp16.sh
nllb200_3B_fp16.sh
opusMT.sh
mbart.sh
small100.sh

Multi-GPU example

m2m100-1.2B_2GPUs.sh

Running large models on customer hardware

m2m100-12B_8bits.sh
nllb200_3B_8bit.sh
nllb200-moe-54B_1GPU_int8.sh
nllb200-moe-54B_1GPU_int4.sh

Running LLMs with translation prompts

FlanT5-large.sh
LLaMA.sh
Vicuna.sh
Alpaca-Lora.sh