Como traducir con este Modelo

  • Instalar Python 3.9 + ctranslate 2 + subword-nmt
pip install ctranslate2~=3.20.0
pip install subword-nmt
  • procesar texto con BPE:
subword-nmt apply-bpe -c ca-detok10k.code < input_file.txt > input_file_bpe.txt
  • Traducir un input_text utilizando NOS-MT-eu-gl:
python3 trans_ct2.py ct2_detok-ca-gl_sint_10k input_file_bpe.txt >output_file_bpe.txt
  • DeBPEzar output txt:
cat  out_test_bpe.txt | sed "s/@@ //g" > output_file.txt
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .

Space using proxectonos/Nos_MT-OpenNMT-ca-gl 1

Collection including proxectonos/Nos_MT-OpenNMT-ca-gl