Translation model by Unbabel

7b

68 2 months ago

Readme

TowerInstruct-Mistral-7B-v0.2

Languages

  • en (English)
  • de (German)
  • fr (French)
  • zh (Chinese)
  • pt (Portuguese)
  • nl (Dutch)
  • ru (Russian)
  • ko (Korean)
  • it (Italian)
  • es (Spanish)

Model Description

TowerInstruct-Mistral-7B-v0.2 is a language model that results from fine-tuning a Mistral version of TowerBase on the TowerBlocks supervised fine-tuning dataset. The model is trained to handle several translation-related tasks, such as general machine translation (e.g., sentence- and paragraph/document-level translation, terminology-aware translation, context-aware translation), automatic post edition, named-entity recognition, gramatical error correction, and paraphrase generation.

This model has performance comparable to TowerInstruct-13B-v0.2, while being half the size. Check out our paper in COLM 2024.

  • Developed by: Unbabel, Instituto Superior Técnico, CentraleSupélec University of Paris-Saclay
  • Model type: A 7B parameter model fine-tuned on a mix of publicly available, synthetic datasets on translation-related tasks, as well as conversational datasets and code instructions.
  • Language(s) (NLP): English, Portuguese, Spanish, French, German, Dutch, Italian, Korean, Chinese, Russian
  • License: CC-BY-NC-4.0

Intended uses & limitations

The model was initially fine-tuned on a filtered and preprocessed supervised fine-tuning dataset (TowerBlocks), which contains a diverse range of data sources:

  • Translation (sentence and paragraph-level)
  • Automatic Post Edition
  • Machine Translation Evaluation
  • Context-aware Translation
  • Terminology-aware Translation
  • Multi-reference Translation
  • Named-entity Recognition
  • Paraphrase Generation
  • Synthetic Chat data
  • Code instructions

You can find the dataset and all data sources of TowerBlocks here.

Out-of-Scope Use

The model is not guaranteed to perform for languages other than the 10 languages it supports. Even though we trained the model on conversational data and code instructions, it is not intended to be used as a conversational chatbot or code assistant. We are currently working on improving quality and consistency on document-level translation. This model should is not intended to be use as a document-level translator.

Bias, Risks, and Limitations

TowerInstruct-Mistral-7B-v0.2 has not been aligned to human preferences, so the model may generate problematic outputs (e.g., hallucinations, harmful content, or false statements).