dahara1's picture
Update README.md
a55b368
|
raw
history blame
2.01 kB
metadata
inference: false
language:
  - ja
  - en

webbigdata/ALMA-7B-Ja-GPTQ-Ja-En

Original ALMA Model ALMA-7B. (26.95GB) is a new paradigm translation model.

ALMA-7B-Ja-GPTQ-Ja-En is a machine translation model that uses ALMA's learning method to translate Japanese to English.(13.3GB)

This model is GPTQ quantized version model that reduces model size(3.9GB) and memory usage, although the performance is probably lower.
And translation ability for languages other than Japanese and English has deteriorated significantly.

Free Colab Sample

If you want to translate the entire file at once, try Colab below.
ALMA_7B_Ja_GPTQ_Ja_En_batch_translation_sample

if you enconter error below. RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
It's mean your memory is not enough. decrease your num_beams or token size.

ALMA (Advanced Language Model-based trAnslator) is an LLM-based translation model, which adopts a new translation model paradigm: it begins with fine-tuning on monolingual data and is further optimized using high-quality parallel data. This two-step fine-tuning process ensures strong translation performance. Please find more details in their paper.

@misc{xu2023paradigm,
      title={A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models}, 
      author={Haoran Xu and Young Jin Kim and Amr Sharaf and Hany Hassan Awadalla},
      year={2023},
      eprint={2309.11674},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

about this work