diff --git a/example_nllb_usage.py b/example_nllb_usage.py new file mode 100644 index 0000000..dd55175 --- /dev/null +++ b/example_nllb_usage.py @@ -0,0 +1,105 @@ +"""Example: NLLB translation with vLLM via the bart-plugin. + +Supported models (all use model_type=m2m_100): + facebook/nllb-200-distilled-600M (~1.2 GB) + facebook/nllb-200-distilled-1.3B (~2.6 GB) + facebook/nllb-200-3.3B (~6.6 GB) + +Language codes follow the FLORES-200 format: _