#!/usr/bin/env bash

SRC=is_IS
TGT=pl_PL

MODEL_FILE=model_ispl.pt

fairseq-interactive data-bin \
    --cpu \
    --path "$MODEL_FILE" \
	--task multilingual_translation \
        --lang-pairs "is_IS-pl_PL,pl_PL-is_IS" \
        --decoder-langtok \
        --source-lang "$SRC" --target-lang "$TGT" \
    --bpe 'sentencepiece' --sentencepiece-model sentence.bpe.model \
    --beam 4 --nbest 1 --lenpen 1.0 \
    --max-len-a 1 --max-len-b 100 \

